diff --git a/build/kube-prometheus/mixins/monitoring/mixin.libsonnet b/build/kube-prometheus/mixins/monitoring/mixin.libsonnet deleted file mode 100644 index cc0c8934..00000000 --- a/build/kube-prometheus/mixins/monitoring/mixin.libsonnet +++ /dev/null @@ -1,27 +0,0 @@ -{ - _config+:: { - selector: '', - }, - prometheusAlerts+:: { - groups+: [ - { - name: 'monitoring', - rules: [ - { - alert: 'WatchdogMissing', - expr: 'changes(watchdog_alerts_total[65m]) == 0', - 'for': '10m', - labels: { - severity: 'critical', - alert_id: 'WatchdogMissing', - }, - annotations: { - description: 'Prometheus Stack instance **{{ $labels.exported_instance }}** has stopped sending watchdog alerts', - summary: 'Prometheus Stack instance has sent less than 1 watchdog alert in the past 35 minutes.', - }, - }, - ], - }, - ], - }, -} diff --git a/build/kube-prometheus/mixins/monitoring/prometheus.yaml b/build/kube-prometheus/mixins/monitoring/prometheus.yaml deleted file mode 100644 index 353e37ad..00000000 --- a/build/kube-prometheus/mixins/monitoring/prometheus.yaml +++ /dev/null @@ -1,12 +0,0 @@ -groups: -- name: monitoring - rules: - - alert: WatchdogMissing - annotations: - description: Prometheus Stack instance **{{ $labels.exported_instance }}** has stopped sending watchdog alerts - summary: Prometheus Stack instance has sent less than 1 watchdog alert in the past 35 minutes. - expr: changes(watchdog_alerts_total[65m]) == 0 - for: 10m - labels: - alert_id: WatchdogMissing - severity: critical