Skip to content

Commit

Permalink
fix: amp-addon.md typo (#877)
Browse files Browse the repository at this point in the history
Co-authored-by: Shin, Jungseob <[email protected]>
  • Loading branch information
raphael-shin and Shin, Jungseob authored Nov 14, 2023
1 parent a63f272 commit 6ec2a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/addons/amp-addon.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const addOn = new blueprints.addons.AmpAddOn({
const blueprint = blueprints.EksBlueprint.builder()
.version("auto")
.addOns(addOn)
.resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName,{
.resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName, [
{
key: 'Name',
value: 'Sample-AMP-Workspace',
Expand All @@ -82,7 +82,7 @@ const blueprint = blueprints.EksBlueprint.builder()
key: 'Department',
value: 'Operations',
}
}))
]))
.build(app, 'my-stack-name');
```
Pattern #3: Passing on AMP Remote Endpoint of an existing AMP workspace to be used to remote write metrics. This pattern does not create an AMP workspace. Deploys an ADOT collector on the namespace specified in `namespace` with name in `name` and `deployment` as the mode to remote write metrics to AMP workspace of the URL passed as input. This pattern ignores any other property values passed if `ampPrometheusEndpoint` is present.
Expand Down

0 comments on commit 6ec2a24

Please sign in to comment.