Skip to content

How to automatically record exception information? #6382

Answered by mateuszrzeszutek
tuhao1020 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @tuhao1020 ,
Try using a span exporter other than Zipkin - both Jaeger and OTLP preserve full exception details.
In OpenTelemetry, an exception is recorded as a span event. The equivalent of an event in Zipkin is an annotation; however, Zipkin. annotations cannot have attributes. That's why during conversion to Zipkin any span event attributes (exception message, exception stack trace, etc.) are just dropped.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tuhao1020
Comment options

@changliu-wk
Comment options

@tuhao1020
Comment options

Answer selected by tuhao1020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants