Skip to content

tracing-endpoint: add support for OTLP+HTTP #3580

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

Merged
merged 2 commits into from
Jul 25, 2025
Merged

Conversation

peterbourgon
Copy link
Contributor

@peterbourgon peterbourgon commented Jul 24, 2025

This PR adds OTLP+HTTP support to the tracing-endpoint and/or tracing-services-endpoint OTel trace data exporter.

Until now, these endpoints configured an OTel trace data exporter that was hard-coded to use the gRPC transport. If you're familiar with OTel conventions this would correspond to what a collector can accept on typical port 4317.

With this change users can specify transport (and encoding) via the tracing-endpoint's scheme. For example to emit OTLP/HTTP you would set tracing-endpoint to e.g. otlp+http://my.collector.biz:4318/v1/traces -- note the /v1/traces path.

Copy link

github-actions bot commented Jul 24, 2025

Test Results

  7 files  ± 0    7 suites  ±0   4m 44s ⏱️ + 2m 6s
 54 tests + 2   53 ✅ + 2  1 💤 ±0  0 ❌ ±0 
223 runs  +10  220 ✅ +10  3 💤 ±0  0 ❌ ±0 

Results for commit 1713737. ± Comparison against base commit 5406482.

♻️ This comment has been updated with latest results.

@AhmedSoliman AhmedSoliman requested a review from jackkleeman July 24, 2025 15:45
Copy link
Contributor

@jackkleeman jackkleeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome thanks

@tillrohrmann tillrohrmann linked an issue Jul 25, 2025 that may be closed by this pull request
Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I trust that you have tested this before merging.

@peterbourgon peterbourgon merged commit 7aa58e0 into main Jul 25, 2025
29 checks passed
@peterbourgon peterbourgon deleted the pb/otlphttp-export branch July 25, 2025 10:26
@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support http otel trace export
3 participants