Add Labels to errors #558
Unanswered
psd2ibanity
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been able to add labels on Traces, with
OpenTelemetry.Tracer.set_attribute("my_id", "123")
But when an exception occurs, the SpanEvent doesn't seem to reuse/integrate the given context attribute.
Is there a way to propagate the context attribute of the Trace/Span to the SpanEvent containing the code error?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions