Skip to content

[Serve][8/n] add event loop metrics#59535

Merged
abrarsheikh merged 9 commits intomasterfrom
59218-abrar-loop
Dec 18, 2025
Merged

[Serve][8/n] add event loop metrics#59535
abrarsheikh merged 9 commits intomasterfrom
59218-abrar-loop

Conversation

@abrarsheikh
Copy link
Contributor

@abrarsheikh abrarsheikh commented Dec 18, 2025

Signed-off-by: abrar <abrar@anyscale.com>
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 introduces valuable event loop monitoring metrics to Ray Serve, which will be very helpful for debugging performance issues and blocked event loops. The implementation is well-structured, with a new event_loop_monitoring module cleanly integrated into the proxy, replica, and router components. The documentation is clear and comprehensive, and the tests cover the new functionality well. I have a couple of suggestions to improve the metric descriptions for better code clarity and to make the tests more robust.

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: abrar <abrar@anyscale.com>
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Dec 18, 2025
Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: abrar <abrar@anyscale.com>
@abrarsheikh abrarsheikh marked this pull request as ready for review December 18, 2025 16:38
@abrarsheikh abrarsheikh requested review from a team as code owners December 18, 2025 16:38
Copy link
Contributor

@akyang-anyscale akyang-anyscale left a comment

Choose a reason for hiding this comment

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

this is 🔥

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: abrar <abrar@anyscale.com>
@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 Dec 18, 2025
Signed-off-by: abrar <abrar@anyscale.com>
@abrarsheikh abrarsheikh merged commit 5334493 into master Dec 18, 2025
6 checks passed
@abrarsheikh abrarsheikh deleted the 59218-abrar-loop branch December 18, 2025 21:32
Yicheng-Lu-llll pushed a commit to Yicheng-Lu-llll/ray that referenced this pull request Dec 22, 2025
ray-project#59218

---------

Signed-off-by: abrar <abrar@anyscale.com>
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
ray-project#59218

---------

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: peterxcli <peterxcli@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.

2 participants