Skip to content
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

[Fix][Core] Change grpc_server_req_process_time_ms metric type to histogram #47932

Conversation

MortalHappiness
Copy link
Member

@MortalHappiness MortalHappiness commented Oct 8, 2024

Why are these changes needed?

See the description in the corresponding issue for details.

Related issue number

Closes: #47486

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@@ -59,7 +59,7 @@
"ray_internal_num_spilled_tasks",
# "ray_unintentional_worker_failures_total",
# "ray_node_failure_total",
"ray_grpc_server_req_process_time_ms",
"ray_grpc_server_req_process_time_ms_sum",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should also have ray_grpc_server_req_process_time_ms_bucket and ray_grpc_server_req_process_time_ms_count

@MortalHappiness MortalHappiness force-pushed the bugfix/#47486-grpc-server-req-time-guage-to-histogram branch from 280a2be to 5e0ee4e Compare October 9, 2024 10:36
Add two more metrics:
* ray_grpc_server_req_process_time_ms_bucket
* ray_grpc_server_req_process_time_ms_count

Closes: ray-project#47486
Signed-off-by: Chi-Sheng Liu <[email protected]>
@MortalHappiness MortalHappiness force-pushed the bugfix/#47486-grpc-server-req-time-guage-to-histogram branch from 5e0ee4e to 1deb075 Compare October 9, 2024 10:36
@rynewang rynewang enabled auto-merge (squash) October 9, 2024 19:27
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Oct 9, 2024
@MortalHappiness MortalHappiness force-pushed the bugfix/#47486-grpc-server-req-time-guage-to-histogram branch from 5d57616 to 0feac08 Compare October 16, 2024 13:30
@rynewang rynewang enabled auto-merge (squash) October 16, 2024 14:05
@rynewang rynewang merged commit 9df5024 into ray-project:master Oct 16, 2024
6 checks passed
Jay-ju pushed a commit to Jay-ju/ray that referenced this pull request Nov 5, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core] Fix grpc_server_req_process_time_ms to be proper histogram
2 participants