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

[Feature][Observability] Scrape Autoscaler and Dashboard metrics #1493

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

kevin85421
Copy link
Member

@kevin85421 kevin85421 commented Oct 13, 2023

Why are these changes needed?

Ray exposes Prometheus metrics through three endpoints: 8080, 44217 (for autoscaler metrics), and 44227 (for dashboard metrics). See /tmp/ray/prom_metrics_service_discovery.json on the head Pod for more details. Some Grafana panels embedded in the Ray dashboard require metrics from Autoscaler. Hence, the panel may show "No data".

image (3)

This PR scrapes metrics from all 8080, 44217, and 44227, so the panel will not show "No data" anymore.

Screen Shot 2023-10-13 at 1 17 43 PM

Related issue number

Closes #1487

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

@kevin85421 kevin85421 marked this pull request as ready for review October 13, 2023 20:44
Copy link
Member

@hongchaodeng hongchaodeng left a comment

Choose a reason for hiding this comment

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

LGTM

@hongchaodeng hongchaodeng merged commit 9835cc8 into ray-project:master Oct 13, 2023
20 checks passed
kevin85421 added a commit to kevin85421/kuberay that referenced this pull request Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][Observability] Scrape Autoscaler metrics via ServiceMonitor
2 participants