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

Modelmesh Prometheus monitoring does not work in RHODS 2.4 #252

Open
lugi0 opened this issue Nov 10, 2023 · 1 comment
Open

Modelmesh Prometheus monitoring does not work in RHODS 2.4 #252

lugi0 opened this issue Nov 10, 2023 · 1 comment

Comments

@lugi0
Copy link

lugi0 commented Nov 10, 2023

Describe the bug

The Prometheus instance of modelmesh monitoring does not work in RHODS 2.4 - there are no targets present and no queries can be run against it

To Reproduce
Steps to reproduce the behavior:

  1. Go to Networking -> Routes in NS redhat-ods-monitoring
  2. Click on Prometheus Route
  3. Check targets in Status -> Targets or try to run a query
  4. No results / no targets are present

Expected behavior

Targets can be found and queries can be run

Screenshots
image
image

Environment (please complete the following information):

RHODS 2.4

Additional context

Metrics can be run in Openshift's Metrics page, they are present and working correctly. I could not find the expected targets anywhere else though.

@zdtsw
Copy link
Member

zdtsw commented Nov 11, 2023

what i can see from cluster:
https://github.com/red-hat-data-services/odh-manifests/blob/rhods-2.4/modelmesh-monitoring/base/prometheus/rhods-prometheus.yaml#L36 is trying to use servicemonitor "modelmesh-serving" which uses service "modelmesh-metrics-monitor" to select pod with label "modelmesh-service=modelmesh-serving" but there is no pod with this lable in application namespace.

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

No branches or pull requests

2 participants