Support unix socket for otlp exporter

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

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

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.

Description

Feature Request

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.

Dominant language
Java
Stars
2.5k
Forks
1.1k
Avg merge
5d 11h
Merged PRs (30d)
41

Getting set up

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.

More from open-telemetry/opentelemetry-java

All issues in open-telemetry/opentelemetry-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.