Skip to content

Feature/json file http exporter #4556

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

NN---
Copy link
Contributor

@NN--- NN--- commented Apr 20, 2025

Addition to #4470 to write the id as hex so they can be exported to files.

Add new packages for JSON-based OTLP exporters as alternatives to the existing
Protobuf-based exporters:
- opentelemetry-exporter-otlp-json-common: Common JSON encoding functionality
- opentelemetry-exporter-otlp-json-http: HTTP transport implementation

These exporters enable compatibility with services requiring JSON format
instead of Protobuf. Implementation includes full support for traces, metrics,
and logs with comprehensive test coverage following project guidelines.

Closes open-telemetry#1003
Replace 'too-many-positional-arguments' with the correct pylint message ID 'too-many-arguments'
and fix type ignore comments placement for imports without stubs.
Replace string representation of integers with actual integer values in the OTLP JSON exporters
to comply with the OTLP specification. This ensures integer attributes are properly encoded as
{intValue: 123} instead of {intValue: 123} for better compatibility with OTLP receivers.
@NN--- NN--- requested a review from a team as a code owner April 20, 2025 08:38
Copy link

linux-foundation-easycla bot commented Apr 20, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@NN--- NN--- marked this pull request as draft April 20, 2025 08:40
@NN--- NN--- force-pushed the feature/json-file-http-exporter branch from 2a4eab4 to 50f119d Compare April 20, 2025 08:44
@NN--- NN--- force-pushed the feature/json-file-http-exporter branch from 50f119d to 278afd4 Compare April 20, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants