opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

set `error.type` to asgi-instrumentation attributes when having exceptions

Open emdneto opened this issue 1 year ago • 0 comments
trafficstars

Description

Right now we only have the error.type for HTTP status code, but we should handle the exceptions and set it in error.type as well Fixes #2699

Type of change

  • [X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • [X] tox

Does This PR Require a Core Repo Change?

  • [X] No.

Checklist:

  • [ ] Followed the style guidelines of this project
  • [ ] Changelogs have been updated
  • [ ] Unit tests have been added
  • [ ] Documentation has been updated

emdneto avatar Jul 17 '24 14:07 emdneto