Is your feature request related to a problem? Please describe.
The Logs API/SDK in opentelemetry-python does not currently support emitting exceptions via the Logger API. This is now part of the spec.
The API introduces “Exception (optional)” parameter on emit() and the SDK requirement to map exceptions to exception.* attributes.
Describe the solution you'd like
Implement exception support for logs in opentelemetry-python.
Additional context
I will send a PR regarding this.
Is your feature request related to a problem? Please describe.
The Logs API/SDK in
opentelemetry-pythondoes not currently support emitting exceptions via the Logger API. This is now part of the spec.The API introduces “Exception (optional)” parameter on
emit()and the SDK requirement to map exceptions toexception.*attributes.Describe the solution you'd like
Implement exception support for logs in opentelemetry-python.
Additional context
Exceptionparameter to Logger Emit opentelemetry-specification#4858I will send a PR regarding this.