open-telemetry / open-telemetry/opentelemetry-java
Support unix socket for otlp exporter
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 58
Description
Is your feature request related to a problem? Please describe.
I'm trying to use uds to export otel signals. But it was failed by endpoint validation.
Currently opentelemetry-java have protocol validation which allows only http and https prefix.
Describe the solution you'd like
Make opentelemetry-java export otel signals through unix socket
Describe alternatives you've considered
none
Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/internal/OtlpConfigUtil.java around line 188, where endpoint validation currently restricts protocols. Trace the OTLP exporter transport path and identify the relevant existing tests before determining the changes needed; done means OTLP signals can be exported through a Unix socket without rejecting the endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100