From 78bec4e48b6ff09c1127931ad7930d9e5ed6ee94 Mon Sep 17 00:00:00 2001 From: Dalton Hubble <dghubble@gmail.com> Date: Sun, 10 Mar 2019 14:50:09 -0700 Subject: [PATCH] Fix PrometheusTSDBWALCorruptions alert * `tsdb_wal_corruptions_total metric` name should be `prometheus_tsdb_wal_corruptions_total` --- jsonnet/kube-prometheus/alerts/prometheus.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonnet/kube-prometheus/alerts/prometheus.libsonnet b/jsonnet/kube-prometheus/alerts/prometheus.libsonnet index b188faa2..a2d0cc67 100644 --- a/jsonnet/kube-prometheus/alerts/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/alerts/prometheus.libsonnet @@ -109,7 +109,7 @@ summary: 'Prometheus write-ahead log is corrupted', }, expr: ||| - tsdb_wal_corruptions_total{%(prometheusSelector)s} > 0 + prometheus_tsdb_wal_corruptions_total{%(prometheusSelector)s} > 0 ||| % $._config, 'for': '4h', labels: { -- GitLab