From 27fd90832c2cd0f323986ae340f9dc93a460f9b9 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sat, 24 Aug 2024 01:27:01 -0700 Subject: [PATCH] disable metrics collection on new accounts now rthat streaming works --- stacksets/datadog-integration/stackset.yaml | 5 +++++ template.yaml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/stacksets/datadog-integration/stackset.yaml b/stacksets/datadog-integration/stackset.yaml index 7674173..940091f 100644 --- a/stacksets/datadog-integration/stackset.yaml +++ b/stacksets/datadog-integration/stackset.yaml @@ -15,6 +15,9 @@ Parameters: DatadogAppKey: Type: String NoEcho: 'true' + DisableMetricCollection: + Type: String + Default: 'false' Resources: DatadogLogShippingStackSet: @@ -29,6 +32,8 @@ Resources: ParameterValue: !Ref DatadogApiKey - ParameterKey: DatadogAppKey ParameterValue: !Ref DatadogAppKey + - ParameterKey: DisableMetricCollection + ParameterValue: !Ref DisableMetricCollection Capabilities: - CAPABILITY_IAM - CAPABILITY_NAMED_IAM diff --git a/template.yaml b/template.yaml index 2ff1888..70b7096 100644 --- a/template.yaml +++ b/template.yaml @@ -36,6 +36,7 @@ Resources: DatadogApiKey: !Ref DatadogApiKey DatadogAppKey: !Ref DatadogAppKey DatadogSite: !Ref DatadogSite + DisableMetricCollection: 'true' DatadogIntegrationManagementStack: Type: AWS::Serverless::Application @@ -45,6 +46,7 @@ Resources: DatadogApiKey: !Ref DatadogApiKey DatadogAppKey: !Ref DatadogAppKey DatadogSite: !Ref DatadogSite + DisableMetricCollection: 'true' DatadogShippingStackSet: Type: AWS::Serverless::Application