-
Notifications
You must be signed in to change notification settings - Fork 7k
[tracing] Update OpenTelemetry dependencies and fixing doc to make tracing work #57908
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
Conversation
…ng for tracing setup Signed-off-by: justwph <[email protected]>
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.
Code Review
This pull request updates the OpenTelemetry dependencies to more recent versions and fixes the documentation and error messages to ensure tracing can be set up correctly. The changes look good and address the staleness of the tracing setup. I've suggested a couple of minor improvements for consistency between the documentation and error messages, and to make the installation instructions more concise for users.
| pip install opentelemetry-api==1.34.1 | ||
| pip install opentelemetry-sdk==1.34.1 | ||
| pip install opentelemetry-exporter-otlp==1.34.1 |
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.
For conciseness and to ensure atomic installation of compatible versions, it's better to combine these pip install commands into a single line.
| pip install opentelemetry-api==1.34.1 | |
| pip install opentelemetry-sdk==1.34.1 | |
| pip install opentelemetry-exporter-otlp==1.34.1 | |
| pip install opentelemetry-api==1.34.1 opentelemetry-sdk==1.34.1 opentelemetry-exporter-otlp==1.34.1 |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: JustWPH <[email protected]>
edoakes
left a comment
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.
Thanks!
|
Kicked off full CI run: https://buildkite.com/ray-project/premerge/builds/52141 The PR will auto-merge if it passes. If not, please ping me once tests are passing. |
…acing work (ray-project#57908) Tracing code hasn’t been maintained, and it can’t be run by relying on the docs alone. 1. [https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation](https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation) `opentelemetry-api==1.1.0` Version 1.1.0 is too old— https://github.com/ray-project/ray/blob/b988ce4e9b0fb618b40865600c0d98f1714c3bcf/ci/docker/serve.build.Dockerfile#L47 we’re already using 1.3.0+, which is incompatible with 1.1.0. 2. A legacy issue? This prevents the help information from being displayed. --------- Signed-off-by: justwph <[email protected]> Signed-off-by: JustWPH <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: xgui <[email protected]>
…acing work (#57908) Tracing code hasn’t been maintained, and it can’t be run by relying on the docs alone. 1. [https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation](https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation) `opentelemetry-api==1.1.0` Version 1.1.0 is too old— https://github.com/ray-project/ray/blob/b988ce4e9b0fb618b40865600c0d98f1714c3bcf/ci/docker/serve.build.Dockerfile#L47 we’re already using 1.3.0+, which is incompatible with 1.1.0. 2. A legacy issue? This prevents the help information from being displayed. --------- Signed-off-by: justwph <[email protected]> Signed-off-by: JustWPH <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: elliot-barn <[email protected]>
…acing work (ray-project#57908) Tracing code hasn’t been maintained, and it can’t be run by relying on the docs alone. 1. [https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation](https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation) `opentelemetry-api==1.1.0` Version 1.1.0 is too old— https://github.com/ray-project/ray/blob/b988ce4e9b0fb618b40865600c0d98f1714c3bcf/ci/docker/serve.build.Dockerfile#L47 we’re already using 1.3.0+, which is incompatible with 1.1.0. 2. A legacy issue? This prevents the help information from being displayed. --------- Signed-off-by: justwph <[email protected]> Signed-off-by: JustWPH <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…acing work (ray-project#57908) Tracing code hasn’t been maintained, and it can’t be run by relying on the docs alone. 1. [https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation](https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html#installation) `opentelemetry-api==1.1.0` Version 1.1.0 is too old— https://github.com/ray-project/ray/blob/b988ce4e9b0fb618b40865600c0d98f1714c3bcf/ci/docker/serve.build.Dockerfile#L47 we’re already using 1.3.0+, which is incompatible with 1.1.0. 2. A legacy issue? This prevents the help information from being displayed. --------- Signed-off-by: justwph <[email protected]> Signed-off-by: JustWPH <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Aydin Abiar <[email protected]>
Tracing code hasn’t been maintained, and it can’t be run by relying on the docs alone.
opentelemetry-api==1.1.0Version 1.1.0 is too old—
ray/ci/docker/serve.build.Dockerfile
Line 47 in b988ce4
we’re already using 1.3.0+, which is incompatible with 1.1.0.
A legacy issue? This prevents the help information from being displayed.