-
Notifications
You must be signed in to change notification settings - Fork 889
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
Correct description of OTEL_EXPORTER_JAEGER_ENDPOINT and OTEL_TRACES_EXPORTER #2333
Conversation
…to correct HTTP port Signed-off-by: Yuri Shkuro <github@ysh.us>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is much clearer, thanks!
@yurishkuro Should we get this as part of 1.9, or should we hold this? (Sounds like the former?) |
Yes, would be good to include that (ref #2329) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not find this PR as a "complete" solution, because:
- It is a breaking change for the default value which is used e.g. in OTel Java
- it does not play well with the
OTEL_TRACES_EXPORTER=jaeger
which is defined as Jaeger over gRPC (it is defined in the same markdown file)
I propose defining OTEL_EXPORTER_JAEGER_PROTOCOL
. Then the default value of OTEL_EXPORTER_JAEGER_ENDPOINT
could depend on the selected protocol. This would be similar to the OTLP Exporter configuration.
Let's not delay 1.9.0 release if there are still debates on this PR. We have delayed the release for a while now. (Unless this a critical fix and we cannot release without it). |
@pellared I do not believe that |
It could be done similarly to the OTLP Exporter. Something like:
|
I think that updating that description would be great, and better matches the behavior I saw described across a handful of SDK implementations. I think that adding the protocol environment variable to the spec is something that's nice to have, but should probably be discussed separately. |
@pellared Does the latest commit fix your issue? |
…EXPORTER (open-telemetry#2333) * Change description/default of OTEL_EXPORTER_JAEGER_ENDPOINT to point to correct HTTP port Signed-off-by: Yuri Shkuro <github@ysh.us> * url Signed-off-by: Yuri Shkuro <github@ysh.us> * fix Signed-off-by: Yuri Shkuro <github@ysh.us> * footnotes Signed-off-by: Yuri Shkuro <github@ysh.us> * cr Signed-off-by: Yuri Shkuro <github@ysh.us> * fix Signed-off-by: Yuri Shkuro <github@ysh.us> * fix Signed-off-by: Yuri Shkuro <github@ysh.us> * fix Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
Fixes #2331
Changes
The OTEL_EXPORTER_JAEGER_ENDPOINT env var description is updated:
/api/traces
) must be included in the value, to support installations running at remapped URLsThe OTEL_TRACES_EXPORTER env var description updated to reflect state of the world where all but Java SDKs implement http/thrift protocol, not gRPC as was stated in the description.