You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
I built an Otel Python lambda layer using contents of this repo's main branch. I equipped an AWS Lambda function with this layer, then I invoked to immediately raise Exception. A local instance of Otel Collector exporting to console/logging/debug received traces from the function sometimes and never received some custom metrics.
What is the expected behavior?
All traces and any custom metrics should be generated and exported, even if lambda function raises exception.
Some of the other instrumentors handle exceptions and adjust + still report telemetry. For example: requests, asgi (via try-except to set attributes and finally to export telemetry).
What is the actual behavior?
Some traces and no custom metrics are exported when lambda function raises exception.
Additional context
The text was updated successfully, but these errors were encountered:
Describe your environment
opentelemetry-instrumentation-aws-lambda==0.44b0.dev
(current main branch)Steps to reproduce
I built an Otel Python lambda layer using contents of this repo's main branch. I equipped an AWS Lambda function with this layer, then I invoked to immediately
raise Exception
. A local instance of Otel Collector exporting to console/logging/debug received traces from the function sometimes and never received some custom metrics.What is the expected behavior?
All traces and any custom metrics should be generated and exported, even if lambda function raises exception.
Some of the other instrumentors handle exceptions and adjust + still report telemetry. For example: requests, asgi (via try-except to set attributes and finally to export telemetry).
What is the actual behavior?
Some traces and no custom metrics are exported when lambda function raises exception.
Additional context
The text was updated successfully, but these errors were encountered: