Skip to content

[Feature]: OTLP File Exporter #2602

@joshwlewis

Description

@joshwlewis

Related Problems?

Prior to #2040, the opentelemetry-stdout crate was able to export in a format compatible with the OTLP File Exporter specification here. Passing in a file as the writer allowed the exporter to export to a file, and the default JSON serializer was compatible with the spec (example setup here). Since #2040, a writer can no longer be passed in, and the format is not JSON.

Describe the solution you'd like:

I'd love to see a FileExporter that complies with https://opentelemetry.io/docs/specs/otel/protocol/file-exporter.

Considered Alternatives

No response

Additional Context

There is some discussion here about whether this functionality is strictly required for SDKs.

I may have to roll my own OTLP File Exporter soon. I could potentially contribute it back to this library if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-blocked-specStatus: Blocked on open or unresolved specenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions