opentelemetry-instrumentation-asgi: emit error.type
attribute when having exceptions
#2699
Labels
bug
Something isn't working
Describe your environment
instrumentation-asgi: 0.47b0.dev
What happened?
instrumentation-asgi isn't setting
error.type
during exceptions and we should set it in the new semconv as defined hereSteps to Reproduce
Run any asgi example which raises exception before status code is sent or received using the new semconv opt-in mode
Expected Result
Exception present in
error.type
Actual Result
No
error.type
attribute set in spansAdditional context
#2682
https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md#http-server-semantic-conventions
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: