From 716b5dcf61bf6075e3e2d0dfb67f6e2f2d7cb624 Mon Sep 17 00:00:00 2001 From: "Shin, Jungseob" Date: Tue, 14 Nov 2023 10:16:39 +0900 Subject: [PATCH] fix: amp-addon.md typo --- 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.