Skip to content

Commit c4391d1

Browse files
authored
Add aws.pulse.over.midlina attribute for lambda spans
1 parent 5fe636c commit c4391d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lambda-layer/src/otel-instrument

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ if [ "${OTEL_AWS_APPLICATION_SIGNALS_ENABLED}" = "true" ]; then
107107
if [ -z "${OTEL_METRICS_EXPORTER}" ]; then
108108
export OTEL_METRICS_EXPORTER="none";
109109
fi
110+
export LAMBDA_RESOURCE_ATTRIBUTES="aws.pulse.over.midlina=true,${LAMBDA_RESOURCE_ATTRIBUTES}"
110111
fi
111112

112113
# - If Application Signals is disabled

0 commit comments

Comments
 (0)