Skip to content

Add log exception support to Logger API/SDK #4907

Closed

Description

@iblancasa

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions