File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
lambda-layer/packages/layer/scripts Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -71,18 +71,14 @@ if [[ -z "$OTEL_PROPAGATORS" ]]; then
7171 export OTEL_PROPAGATORS=" baggage,xray,tracecontext"
7272fi
7373
74- # - Enable emf exporter by default
75- if [ -z " ${OTEL_METRICS_EXPORTER} " ]; then
76- export OTEL_METRICS_EXPORTER=" awsemf" ;
77- fi
78-
7974# - Set Application Signals configuration
8075if [ -z " ${OTEL_AWS_APPLICATION_SIGNALS_ENABLED} " ]; then
8176 export OTEL_AWS_APPLICATION_SIGNALS_ENABLED=" true" ;
8277fi
8378
79+ # - Enable emf exporter by default
8480if [ -z " ${OTEL_METRICS_EXPORTER} " ]; then
85- export OTEL_METRICS_EXPORTER=" none " ;
81+ export OTEL_METRICS_EXPORTER=" awsemf " ;
8682fi
8783
8884# - Append Lambda Resource Attributes to OTel Resource Attribute List
You can’t perform that action at this time.
0 commit comments