NodeJS 14.x
(or later)stackstate-otel-nodejs
.stackstate-otel-nodejs
Active
- the Lambda function is running in Active Pass-Through.PassThrough
- the Lambda function is running in Active Pass-Through.Disabled
or None
- the function configuration needs to be updated. Run the command below to change the Lambda to Pass-Through and then verify the updated configuration by running the get-function-configuration
command again:true
and click Save in the bottom right corner.8126
/open-telemetry
AWS_LAMBDA_EXEC_WRAPPER
/opt/otel-handler
OTEL_LOG_LEVEL
info
OTEL_PROPAGATORS
tracecontext
OTEL_TRACES_EXPORTER
otlp
OTEL_TRACES_SAMPLER
always_on
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
http://stackstate-agent-ip:8126/open-telemetry
HTTP_MASK_SENSITIVE_INFORMATION
http://www.url.com/user/USERID/edit#test?query=123
will be captured as http://www.url.com
effectively removing everything except the hostnamefalse
HTTP_REMOVE_HASH_DATA
http://www.url.com#test?query=123
will be captured as http://www.url.com?query=123
false
HTTP_REMOVE_QUERY_DATA
http://www.url.com#test?query=123
will be captured as http://www.url.com#test
false
stackstate-otel-nodejs
Lambda Layer. This can be confirmed on the page AWS Lambda Layers (console.aws.amazon.com).stackstate-otel-nodejs
to enter and view the details of the layer.stackstate-otel-nodejs
layer and compare the version it is using to the version displayed under the Version block for the layer.stackstate-otel-nodejs
Lambda layer. Scroll down to the Layers section, and click the Edit button on the right.stackstate-otel-nodejs
layer to the latest version.AWS_LAMBDA_EXEC_WRAPPER
. This will disable the code routing through the OpenTelemetry Lambda Layer and restore your Lambda to the original running state.