Skip to content

BatchSpanProcessor: Exporter error handling does not provide useful information #1931

@hibachrach

Description

@hibachrach

If an Exporter returns a FAILURE status, the BatchSpanProcessor calls OpenTelemetry.handle_error with a new exception. But that exception doesn't tell you anything about what happened: all we get back is "Unable to export 90 spans" or some such because it just instantiated the error based on a return value--there's no raising or deeper stack trace (afaict).

Thanks again for all of your work on OTel!

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