open-telemetry / open-telemetry/opentelemetry-java

Support unix socket for otlp exporter

Open
#7,851 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
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

Additional context
https://github.com/open-telemetry/opentelemetry-java/blob/a839ef517fab337c46a1dc7a511041480f535394/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/internal/OtlpConfigUtil.java#L188

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.