Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: OTLP File Exporter #2602

Open
joshwlewis opened this issue Feb 4, 2025 · 1 comment
Open

[Feature]: OTLP File Exporter #2602

joshwlewis opened this issue Feb 4, 2025 · 1 comment
Labels
enhancement New feature or request triage:todo Needs to be traiged.

Comments

@joshwlewis
Copy link

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.

@joshwlewis joshwlewis added enhancement New feature or request triage:todo Needs to be traiged. labels Feb 4, 2025
@cijothomas
Copy link
Member

Happy to host it in the contrib repo. (Or even this repo.)
Feel free to send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage:todo Needs to be traiged.
Projects
None yet
Development

No branches or pull requests

2 participants