Add GitOps runtime image drift alert
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user