Skip to content

Conversation

@wph95
Copy link
Contributor

@wph95 wph95 commented Oct 20, 2025

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

opentelemetry-api==1.1.0
Version 1.1.0 is too old—

pip install opentelemetry-exporter-otlp==1.34.1

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.

@wph95 wph95 requested review from a team as code owners October 20, 2025 12:50
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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.

Comment on lines +18 to +20
pip install opentelemetry-api==1.34.1
pip install opentelemetry-sdk==1.34.1
pip install opentelemetry-exporter-otlp==1.34.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For conciseness and to ensure atomic installation of compatible versions, it's better to combine these pip install commands into a single line.

Suggested change
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

cursor[bot]

This comment was marked as outdated.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: JustWPH <[email protected]>
@ray-gardener ray-gardener bot added usability docs An issue or change related to documentation core Issues that should be addressed in Ray Core community-contribution Contributed by the community labels Oct 20, 2025
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Oct 20, 2025
Copy link
Collaborator

@edoakes edoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@edoakes edoakes enabled auto-merge (squash) October 20, 2025 13:26
@edoakes
Copy link
Collaborator

edoakes commented Oct 20, 2025

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.

@edoakes edoakes merged commit 8a4bfea into ray-project:master Oct 21, 2025
8 checks passed
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
…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]>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
…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]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…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>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community core Issues that should be addressed in Ray Core docs An issue or change related to documentation go add ONLY when ready to merge, run all tests usability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants