Skip to content

Proxy support #6204

@marcschumacher

Description

@marcschumacher

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestSuggest an idea for this project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions