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

Unable to get the rules in the Prometheus UI and unable to add new scrape config #443

Open
sabarirjpm opened this issue Mar 20, 2024 · 0 comments
Labels
support Support questions

Comments

@sabarirjpm
Copy link

We want to get the centralized monitoring enabled for multiple ocp clusters. The cluster observability operator that is available, does not expose itself to external and is restricted only to the cluster where it is running. So we thought that we would enable the remote write in the clusterobservability and push it to another prometheus instance.

For the remote prometheus, we chose this observability operator. The installation of the operator had some issues as we were in disconnected environment which we resolved by manually copying over the images needed to the internal repository.

Currently we see that the data is being pushed to the prometheus instance but we are not able to create prometheus, alertmanager rules and also we are not able to create new scrape configs. When we create the rules or configs, it is getting displayed in the backend(oc get prometheusrule) but not in the frontend. The existing default four rules that are shown are also not visible in the frontend.

oc get prometheusrule -n openshift-operators
NAME AGE
observability-operator-alertmanager-rules 4h31m
observability-operator-prometheus-operator-rules 4d22h
observability-operator-prometheus-rules 4d22h
observability-operator-rules 4d22h
[kniobs@bastion1-kvm01 ~]$

We believe that this is related to some config issues. Is there a clear document explaining the steps of the configurations.

@simonpasquier simonpasquier added the support Support questions label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support questions
Projects
None yet
Development

No branches or pull requests

2 participants