add standup
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
name: radarr-standup
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: radarr-standup
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||
app.kubernetes.io/component: metrics
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
groups:
|
||||
- name: radarr-standup
|
||||
rules:
|
||||
- alert: ExportarrAbsent
|
||||
annotations:
|
||||
description: Radarr Stand Up Exportarr has disappeared from Prometheus
|
||||
service discovery.
|
||||
summary: Exportarr is down.
|
||||
expr: |
|
||||
absent(up{job=~".*radarr_standup.*"} == 1)
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
- alert: RadarrStandUpDown
|
||||
annotations:
|
||||
description: Radarr Stand Up service is down.
|
||||
summary: Radarr Stand Up is down.
|
||||
expr: |
|
||||
radarr_standup_system_status{job=~".*radarr_standup.*"} == 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
Reference in New Issue
Block a user