From 4f6ecef02fffbf220f7c8bb70f898d6daa55880d Mon Sep 17 00:00:00 2001 From: Damien Cupif Date: Tue, 21 Nov 2023 10:26:38 +0100 Subject: [PATCH] fix(postgresql): use correct `pg_exporter_last_scrape_error` metric --- charts/prometheus-postgresql-alerts/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-postgresql-alerts/values.yaml b/charts/prometheus-postgresql-alerts/values.yaml index 93f214e..b75ae57 100644 --- a/charts/prometheus-postgresql-alerts/values.yaml +++ b/charts/prometheus-postgresql-alerts/values.yaml @@ -16,7 +16,7 @@ rules: description: "{{ $labels.instance }} exporter is down" PostgreSQLExporterMissingScrapeErrorMetric: - expr: absent(postgres_exporter_last_scrape_error) + expr: absent(pg_exporter_last_scrape_error) for: 5m labels: severity: critical