Skip to content

remove expensive debug logs from controller#57813

Merged
abrarsheikh merged 3 commits intomasterfrom
SERVE-1244-abrar-log
Oct 17, 2025
Merged

remove expensive debug logs from controller#57813
abrarsheikh merged 3 commits intomasterfrom
SERVE-1244-abrar-log

Conversation

@abrarsheikh
Copy link
Contributor

@abrarsheikh abrarsheikh commented Oct 16, 2025

logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

Signed-off-by: abrar <abrar@anyscale.com>
@abrarsheikh abrarsheikh requested a review from a team as a code owner October 16, 2025 22:02
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Oct 16, 2025
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 removes two expensive debug log statements from the autoscaling metric collection path in the controller, which should improve performance. The changes are correct and also clean up an unused import. My review suggests that while removing the logs is a good step, the information they contained (running and queued requests) is valuable for observability. I've recommended exposing these values as metrics instead, which would provide better visibility for monitoring and debugging without the performance cost of logging in a hot path.

@ray-gardener ray-gardener bot added serve Ray Serve Related Issue observability Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling labels Oct 17, 2025
@abrarsheikh abrarsheikh merged commit d84d0fd into master Oct 17, 2025
6 checks passed
@abrarsheikh abrarsheikh deleted the SERVE-1244-abrar-log branch October 17, 2025 16:32
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 20, 2025
logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

---------

Signed-off-by: abrar <abrar@anyscale.com>
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

---------

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: xgui <xgui@anyscale.com>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

---------

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

---------

Signed-off-by: abrar <abrar@anyscale.com>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

---------

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
Future-Outlier pushed a commit to Future-Outlier/ray that referenced this pull request Dec 7, 2025
logs in controller can be expensive for large cluster
logs in autoscaling state and just noisy

---------

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests observability Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants