Skip to content

Improve error handling in AutoTrace #231

@duncanpo

Description

@duncanpo

The handleError method in opentelemetry.autoinstrument.AutoTrace accepts an exception object as input. It currently only captures the exception message in the span status, but ignores the rest of the exception object.

Consider capturing the rest of the exception message (identifier, stack, cause, correction) in a event of the current span or a log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions