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: avoid hard-code Prometheus datasource id #2043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hustshawn
Copy link

@hustshawn hustshawn commented Mar 25, 2024

Why are these changes needed?

Currently the kuberay-api-server and kuberay-controller-runtime Grafana dashboard hard coded the Prometheus data source id, which is not re-usable by people. Fixed the hard code.

Related issue number

Checks

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

@kevin85421
Copy link
Member

Would you mind providing more details about how you test this PR manually? These two files are not mentioned in the Ray documentation. In addition, these files haven't been updated for two years, so I am unsure whether they work or not. I need to manually test this PR.

@kevin85421 kevin85421 self-assigned this Mar 26, 2024
@kevin85421 kevin85421 self-requested a review March 26, 2024 00:21
@hustshawn
Copy link
Author

Thanks @kevin85421 . Steps include,

  1. Setup the Prometheus and Grafana. follow this doc
  2. In Grafana, import the dashboard as the snapshot. Copy and past the Json mentioned and import
image

@kevin85421
Copy link
Member

cc @Yicheng-Lu-llll would you mind reviewing this PR?

@kevin85421
Copy link
Member

Setup the Prometheus and Grafana. follow this doc

The document doesn't include any service monitor or Pod monitor for the KubeRay operator Pod. Is Prometheus able to fetch the metrics?

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.

2 participants