Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add proxy_url to otelcol.exporter.otlp components #1892

Closed
steventill opened this issue Oct 15, 2024 · 1 comment · Fixed by #1991
Closed

add proxy_url to otelcol.exporter.otlp components #1892

steventill opened this issue Oct 15, 2024 · 1 comment · Fixed by #1991
Labels
enhancement New feature or request frozen-due-to-age

Comments

@steventill
Copy link

Request

the otelcol.exporter.otlp & otelcol.exporter.otlphttp components do not have an individual proxy option. it appears that it is an undocumented feature open-telemetry/opentelemetry-java#6204

i was expecting something similar to the prometheus.remote_write client block. where you would do something like this:

otelcol.exporter.otlp "default" { client { endpoint="https://otlp.grafana.net" proxy_url="http://internal.proxy.com:1234" auth=otel.auth.basic.default } } otelcol.auth.basic "default" { user="username" password="password" }

Use case

the only way to do this now is to set as an extraEnv the HTTPS_PROXY, this is really unclear, adding this to the block would clean it up, and make it easier to use proxies. In addition, this would allow support for multiple proxies

@wildum
Copy link
Contributor

wildum commented Oct 29, 2024

I opened a PR to add the proxy_url to the otlphttp exporter. I think that this attribute is not available in the upstream component for grpc

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request frozen-due-to-age
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants