Loading config/values/meep-prometheus.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ additionalPrometheusRulesMap: - name: Node Alerts rules: - alert: HostRebooted expr: changes(node_boot_time_seconds[1d]) > 0 expr: changes(node_boot_time_seconds[10m]) > 0 for: 0m labels: severity: warning Loading Loading @@ -96,13 +96,13 @@ additionalPrometheusRulesMap: summary: Kubernetes pod crash looping (instance {{ $labels.instance }}) description: Pod {{ $labels.pod }} is crash looping\n VALUE = {{ $value }}\n LABELS = {{ $labels }} - alert: KubernetesPodNotHealthy expr: min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[1h:]) > 0 for: 0m expr: min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[15m:]) > 0 for: 5m labels: severity: critical annotations: summary: Kubernetes Pod not healthy (instance {{ $labels.instance }}) description: Pod has been in a non-ready state for longer than an hour.\n VALUE = {{ $value }}\n LABELS = {{ $labels }} description: Pod has been in a non-ready state for more than 5 minutes in the last 15 minutes.\n VALUE = {{ $value }}\n LABELS = {{ $labels }} alertmanager: enabled: true Loading Loading @@ -137,7 +137,7 @@ alertmanager: {{- end }} text: >- {{ range .Alerts -}} *Alert:* {{ .Annotations.title }}{{ if .Labels.severity }} - `{{ .Labels.severity }}`{{ end }} *Alert:* {{ .Annotations.summary }}{{ if .Labels.severity }} - `{{ .Labels.severity }}`{{ end }} *Description:* {{ .Annotations.description }} Loading Loading
config/values/meep-prometheus.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ additionalPrometheusRulesMap: - name: Node Alerts rules: - alert: HostRebooted expr: changes(node_boot_time_seconds[1d]) > 0 expr: changes(node_boot_time_seconds[10m]) > 0 for: 0m labels: severity: warning Loading Loading @@ -96,13 +96,13 @@ additionalPrometheusRulesMap: summary: Kubernetes pod crash looping (instance {{ $labels.instance }}) description: Pod {{ $labels.pod }} is crash looping\n VALUE = {{ $value }}\n LABELS = {{ $labels }} - alert: KubernetesPodNotHealthy expr: min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[1h:]) > 0 for: 0m expr: min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[15m:]) > 0 for: 5m labels: severity: critical annotations: summary: Kubernetes Pod not healthy (instance {{ $labels.instance }}) description: Pod has been in a non-ready state for longer than an hour.\n VALUE = {{ $value }}\n LABELS = {{ $labels }} description: Pod has been in a non-ready state for more than 5 minutes in the last 15 minutes.\n VALUE = {{ $value }}\n LABELS = {{ $labels }} alertmanager: enabled: true Loading Loading @@ -137,7 +137,7 @@ alertmanager: {{- end }} text: >- {{ range .Alerts -}} *Alert:* {{ .Annotations.title }}{{ if .Labels.severity }} - `{{ .Labels.severity }}`{{ end }} *Alert:* {{ .Annotations.summary }}{{ if .Labels.severity }} - `{{ .Labels.severity }}`{{ end }} *Description:* {{ .Annotations.description }} Loading