Support unix socket for otlp exporter
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.
This is a reasonable request. This spec document lays out the required configuration options for SDK implementations of OTLP exporters, and doesn't explicitly mention unix sockets. But the document is meant to establish minimum common configuration, not to limit configuration to only those options.
https://github.com/open-telemetry/opentelemetry-collector/issues/11941
looks opentelemetry-go and otel collector already supports unix sockets
https://github.com/open-telemetry/opentelemetry-specification/issues/4404 it is not defined in spec, though some sdk supports it
I don't have cycles to pick this up, but I've wanted to experiment with this for some time! I think there are some rare/exceptional high-throughput workloads that might benefit from having this.