-
We have a lambda that sees the following trace sometimes ~50% of requests in a 5min span:
Stacktrace:
I saw a relevant discussion on this error here open-telemetry/opentelemetry-ruby#1437 And it looks like the span might have been dropped, resulting in a non-sampled span type that doesn't have I don't have The OTEL env vars I defined are
My question is what is the parent span context for a lambda function configured to send traces to xray with the following Also, importantly, should Lambda not result in an error when the lambda handler succeeds but layer raises an exception?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I was looking at this section on sampling and could it be this that is happening?
In the reporting logs of the lambd request, it shows
|
Beta Was this translation helpful? Give feedback.
-
setting |
Beta Was this translation helpful? Give feedback.
-
In case the answer to the following might be useful for someone
The sampling rules in cloudwatch setting has nothing to do with it! |
Beta Was this translation helpful? Give feedback.
setting
OTEL_TRACES_SAMPLER
toalways_on
prevented the error from happeningI believe this will be solved by open-telemetry/opentelemetry-ruby-contrib#1645