Skip to content

Commit 571a517

Browse files
jim80netQingping Hou
authored andcommitted
change DD_ENHANCED_METRICS to false to enable the layer to work correctly with log forwarder
1 parent d58ab40 commit 571a517

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

logshipping.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ resource "aws_lambda_function" "dd-log" {
9797

9898
environment {
9999
variables = {
100-
DD_API_KEY = var.datadog_api_key
101-
DD_TAGS = "namespace:${var.namespace},env:${var.env}"
102-
EXCLUDE_AT_MATCH = var.log_exclude_at_match
100+
DD_API_KEY = var.datadog_api_key
101+
DD_ENHANCED_METRICS = "false"
102+
DD_TAGS = "namespace:${var.namespace},env:${var.env}"
103+
EXCLUDE_AT_MATCH = var.log_exclude_at_match
103104
}
104105
}
105106
}

0 commit comments

Comments
 (0)