Support schemes other than http and https (specifically unix://) in OTEL_EXPORTER_OTLP_ENDPOINT or add another variable that allows this scheme. #4404
Labels
spec:protocol
Related to the specification/protocol directory
triage:deciding:needs-info
Not enough information. Left open to provide the author with time to add more details
Its currently possible to configure otel SDKs with OTEL_EXPORTER_OTLP_ENDPOINT. This is convenient as the otel sdks for separate languages are all configured using the same variable. However it is not possible to specify protocols other than http or https probably since http transport uses the same variable name. Our use case is that we use a daemon otel collector that listens on a unix socket where other processes written in a variety of languages on the same host send otlp grpc messages to the unix socket. To achieve this we have to therefore write boilerplate in every separate language to connect to this unix socket as we can't use the env variable for all of them.
It would reduce maintenance to use the same variable that is automatically picked up in different languages.
Perhaps adding a variable OTEL_EXPORTER_OTLP_GRPC_ENDPOINT which supports all the protocols supported by grpc described here: https://github.com/grpc/grpc/blob/master/doc/naming.md would be appropriate.
The text was updated successfully, but these errors were encountered: