Skip to content

Commit 7a70e6e

Browse files
authored
Set OTEL_METRICS_EXPORTER=none as default in Lambda (#239)
*Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent bb29e00 commit 7a70e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambda-layer/packages/layer/scripts/otel-instrument

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ if [ -z "${OTEL_AWS_APPLICATION_SIGNALS_ENABLED}" ]; then
7676
export OTEL_AWS_APPLICATION_SIGNALS_ENABLED="true";
7777
fi
7878

79-
# - Enable emf exporter by default
79+
# - Disable otel metrics export by default
8080
if [ -z "${OTEL_METRICS_EXPORTER}" ]; then
81-
export OTEL_METRICS_EXPORTER="awsemf";
81+
export OTEL_METRICS_EXPORTER="none";
8282
fi
8383

8484
# - Disable logs exporter by default

0 commit comments

Comments
 (0)