Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Fixed amp-addon.md typo #877

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading