From 6ec2a2403ef34052c7d898f6d72a436b50fd589b Mon Sep 17 00:00:00 2001 From: Jungseob Shin Date: Tue, 14 Nov 2023 23:34:12 +0900 Subject: [PATCH] fix: amp-addon.md typo (#877) Co-authored-by: Shin, Jungseob --- docs/addons/amp-addon.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/addons/amp-addon.md b/docs/addons/amp-addon.md index af0df6e13..64969b928 100644 --- a/docs/addons/amp-addon.md +++ b/docs/addons/amp-addon.md @@ -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', @@ -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.