Skip to content

Commit 339e83c

Browse files
authored
Set OTEL_METRICS_EXPORTER=none as default in Lambda (#446)
*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 a9df9a8 commit 339e83c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambda-layer/src/otel-instrument

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ fi
101101
# disable application signals runtime metrics by default
102102
export OTEL_AWS_APPLICATION_SIGNALS_RUNTIME_ENABLED="false";
103103

104-
# enable emf exporter by default
104+
# disable otel metrics export by default
105105
if [ -z "${OTEL_METRICS_EXPORTER}" ]; then
106-
export OTEL_METRICS_EXPORTER="awsemf";
106+
export OTEL_METRICS_EXPORTER="none";
107107
fi
108108

109109
# disable OTel logs exporter by default

0 commit comments

Comments
 (0)