From 012a60163ea9619321df8968542c14ab85bcdd3b Mon Sep 17 00:00:00 2001 From: kkc <kakashi1000@gmail.com> Date: Sat, 20 Oct 2018 00:15:02 +0800 Subject: [PATCH] contrib: fix typo in contrib prometheus rules Change `Promehteus` to `Prometheus` --- jsonnet/kube-prometheus/alerts/prometheus.libsonnet | 2 +- manifests/prometheus-rules.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonnet/kube-prometheus/alerts/prometheus.libsonnet b/jsonnet/kube-prometheus/alerts/prometheus.libsonnet index 99be08ff..b188faa2 100644 --- a/jsonnet/kube-prometheus/alerts/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/alerts/prometheus.libsonnet @@ -8,7 +8,7 @@ alert: 'PrometheusConfigReloadFailed', annotations: { description: "Reloading Prometheus' configuration has failed for {{$labels.namespace}}/{{$labels.pod}}", - summary: "Reloading Promehteus' configuration failed", + summary: "Reloading Prometheus' configuration failed", }, expr: ||| prometheus_config_last_reload_successful{%(prometheusSelector)s} == 0 diff --git a/manifests/prometheus-rules.yaml b/manifests/prometheus-rules.yaml index 3a427753..0565661a 100644 --- a/manifests/prometheus-rules.yaml +++ b/manifests/prometheus-rules.yaml @@ -1001,7 +1001,7 @@ spec: - alert: PrometheusConfigReloadFailed annotations: description: Reloading Prometheus' configuration has failed for {{$labels.namespace}}/{{$labels.pod}} - summary: Reloading Promehteus' configuration failed + summary: Reloading Prometheus' configuration failed expr: | prometheus_config_last_reload_successful{job="prometheus-k8s"} == 0 for: 10m -- GitLab