Skip to content

OTLP exporter fails silently on connection timeout #34

@Nancy-Chauhan

Description

@Nancy-Chauhan

Description\n\nWhen the Acme endpoint times out during an OTLP export, the exporter catches the exception and returns a success result with 0 exported spans. This is misleading because the caller thinks export succeeded.\n\n## Expected behavior\n\nThe ExportResult should indicate failure with an appropriate error message.\n\n## Steps to reproduce\n\n1. Configure client with a very short timeout (e.g., 0.001s)\n2. Export spans\n3. Observe that result.success is True but exported_count is 0\n\n## Environment\n- Python 3.11\n- acme-sdk 1.1.0\n- macOS 14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexporterRelated to exporters

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions