Add GitOps runtime image drift alert

This commit is contained in:
2026-05-31 13:17:45 +02:00
parent 69ad9d1d3c
commit 16a266cd79
4 changed files with 68 additions and 0 deletions
+9
View File
@@ -140,6 +140,15 @@ groups:
summary: "Critical container is down: {{ $labels.name }}"
description: "The host textfile exporter reports that critical container {{ $labels.name }} is not running."
- alert: HomelabGitOpsRuntimeImageDrift
expr: homelab_gitops_runtime_image_match == 0
for: 10m
labels:
severity: warning
annotations:
summary: "Runtime image drift: {{ $labels.name }}"
description: "Container {{ $labels.name }} is not running the image declared by its Compose config in project {{ $labels.project }}."
- name: homelab-meta
rules:
- alert: HomelabPrometheusTargetDown