-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Explain how to change the collector in documentation #4611
Comments
Actually how to change 4317 isn't mentioned on the entire site: |
hi @RichardJECooke! are you looking for how to change the OTLP port that the Java agent sends data to? or are you looking for how to change the OTLP port that the collector listens on? |
The first one. This documentation I linked to is about starting the Java OpenTelemetry agent. |
transferring this to the doc repo to see if we can make this easier to find in the meantime, I believe this is the doc you're looking for: https://opentelemetry.io/docs/languages/java/configuration/#otlp-exporter-span-metric-and-log-exporters |
What @trask mentions is correct, that is the Java-specific table for how to change the endpoint for export. We do technically link to that page here: https://opentelemetry.io/docs/zero-code/java/agent/configuration/#sdk-autoconfiguration However it's easy to see how it might get lost. One thing we could do is copy over some of the table into this page, or create a header related to exporter configuration and link to the table in the other page. Would that work @RichardJECooke? |
Thanks.
|
The documentation has now been updated and a link has been added to the instrumentation repo readme pointing at the configuration page |
Thanks @jaydeluca, sounds like this issue can be closed. @RichardJECooke if you think your issue has not been addressed by the recent changes, please go ahead and reopen or raise a new issue, thank you once again for bringing this to our attention |
Describe the bug
On this page, https://github.com/open-telemetry/opentelemetry-java-instrumentation?tab=readme-ov-file, you say "By default, the OpenTelemetry Java agent uses OTLP exporter configured to send data to OpenTelemetry collector at http://localhost:4317." and you link three times to the Java documentation at https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config.
But nowhere on that page does it mention how to change the collector or port 4317.
The text was updated successfully, but these errors were encountered: