aws-otel-lambda
aws-otel-lambda copied to clipboard
AWS Distro for OpenTelemetry - AWS Lambda
**Describe the bug** ```ts scope.addDefaultFunctionEnv({ [EnvVars.openTelemetryEnabled]: "true", AWS_LAMBDA_EXEC_WRAPPER: "/opt/otel-handler", }) const otelLayer = LayerVersion.fromLayerVersionArn( this, "OpenTelemetryLayer", `arn:aws:lambda:${scope.region}:901920570463:layer:aws-otel-nodejs-amd64-ver-1-5-0:2` ) scope.addDefaultFunctionLayers([otelLayer]) ``` handler: ``` export const handler = async (): Promise =>...
Hello team, I'm doing some testing with AWS Lambda and the OTel Lambda layer. Here is a log generated by the logging exporter. ``` EXTENSION Name: collector State: Ready Events:...
Ensure that the applications used for integration testing for all supported languages include use of the API to add attributes to any automatically-created spans representing the function handler as well...
Some of my spans are being dropped by the lambda nodejs layer. I'm experiencing errors like the following in my CloudWatch logs: ``` 2022-03-02T01:07:36.673Z error exporterhelper/queued_retry_inmemory.go:93 Exporting failed. No more...
I configured `otlphttp` exporter: ``` exporters: otlphttp: endpoint: https://otel-collector.domain.com ``` But it is failing sometimes, example errors: ``` {"kind": "exporter", "name": "otlphttp", "error": "failed to make an HTTP request: Post...
I have been attempting to instrument lambdas using the docs on the ADOT website. I have successfully instrumented some python lambdas, where they send the data to the collector, and...
Hello , I am trying to export metrics from lambda function. I have followed the steps as stated . (Built the downstream layer and deployed the intergration-tests folder using terraform)....
**Is your feature request related to a problem? Please describe.** I'm just getting started with OpenTelemetry and just the act of adding the ADOT NodeJS layer to my functions makes...
We're seeing an error in multiple Lambdas. The config file is the default (for now), and the permissions are: ``` x_ray_tracing = { effect = "Allow" actions = [ "xray:PutTraceSegments",...
i've had difficulty adding X-Ray tracing for a python application using OpenTelemetry with a container-based Lambda. The published extension isn't immediately applicable to that use case. Ideally, there'd be images...