Skip to content

Otel Java agent proxy config #12240

@jpvallez

Description

@jpvallez

Hi Otel community!

Much like open-telemetry/opentelemetry-java#6204, I am trying to export from the otel java agent to an otlp endpoint through a proxy. We are unfortunately unable to use the collector in this instance so we’re looking for a way to configure proxy settings on the java agent.

I note that the feature to enable this has been added in open-telemetry/opentelemetry-java#6270.

I’m not sure if it’s possible but - Can we configure proxy settings for the otlp exporter in the otel java agent by setting for example jvm flags or any other config?
Or at this stage is it only possible by interacting with code/writing an extension as mentioned in open-telemetry/opentelemetry-java#6204 (comment)

I also note the feature request here open-telemetry/opentelemetry-specification#4007 which would be the most ideal solution to our problem.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions