-
Notifications
You must be signed in to change notification settings - Fork 57
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
create rule only for the api #95
Comments
Hi, I understand what you have done and your goal using this custom PrometheusRule. However you didn't describe what problem you encounter. I guess the alert is not working while you have certificates currently under the expiration threshold. Before working on that it is necessary to confirm the exporter is deployed in an appropriate way for your k8s distribution and monitoring stack. OpenShift sometimes require more care and understanding as the default configuration is more elaborate in some ways than other typical distributions. Could you please clarify if it is confirmed the exporter is being scrapped, and certificate metrics have appeared in Prometheus?
If you cannot find Please provide more information based on these points and questions, and what you did check already. |
Sorry you are right, My problem is when I created this prometeusrules, it creates around 300 alerts, and all I want is just ine alert on the api. Thank you very much about your response. |
Ok I get it now, you are looking for a set of labels to apply as a filter on the What is this "api" you are mentioning? Is it the Kubernetes api-server for the cluster? |
So sorry about the delay, I was out of office. Thank you very much! |
Hey
I just installed the chart on my ocp cluster, and I want only to monitor the crt of the api.
Could someone help me achieve my goal?
Until now I set prometeusrule.create = false in order to create my own prometeusrules.
and I created with this configuration:
The text was updated successfully, but these errors were encountered: