-
Notifications
You must be signed in to change notification settings - Fork 0
Prometheus
Allex edited this page Jan 17, 2025
·
5 revisions
If prometheus scrapes the k8s metrics (https://kubernetes.io/docs/reference/instrumentation/metrics/):
apiserver_requested_deprecated_apis
When PrometheusMissingRuleEvaluations alert hits, some group took more than the evaluation_interval.
prometheus_rule_group_last_duration_seconds > 1
In the Prometheus UI under "Rule Health" you'll find the duration and health of each rule in each rule group. This information is not exposed as a metric.
rule evaluation duration can be affected by the number of samples to go through
scrape_samples_scraped and scrape_samples_post_metric_relabeling can help here.