open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.66k stars 568 forks source link

Use semconv exception attributes for record exceptions in spans #3979

Closed emdneto closed 1 week ago

emdneto commented 1 week ago

Description

Ensure we are using the attributes defined in opentelemetry.semconv.attributes.exception_attributes instead of plain string

Checklist: