-
Notifications
You must be signed in to change notification settings - Fork 904
Description
Is your feature request related to a problem? Please describe.
We are working in a highly regulated environment which requires usage of a proxy to emit metrics, traces and logs. Unfortunately it is not possible to have a proxy configuration for your library, at least not for OkHttp, which explicitly requires such configuration. The JDK client might be able to pick up the common JRE properties for proxies. Still, this would not be what we need, as we explicitly only want to have OpenTelemetry traffic going through the proxy as other traffic does not require it because it is internal.
Describe the solution you'd like
We need to have additional configuration present allowing us to set the proxy host, port and type (http/https). Corresponding to the existing properties, this could be for example:
otel.exporter.otlp.[metrics|traces|logs].proxy.host
=<proxy hostname>
otel.exporter.otlp.[metrics|traces|logs].proxy.port
=<port number>