|
69 | 69 | One of the Telemetry Operator ScrapeConfigs is down for more than 1 minute. |
70 | 70 | Instance: {{ $labels.instance }} |
71 | 71 | Job: {{ $labels.job }} |
| 72 | + - name: openstack-observability.edpm.services.status |
| 73 | + rules: |
| 74 | + - alert: EdpmPodmanContainerUnhealthyWarning |
| 75 | + expr: | |
| 76 | + podman_container_health * on (id) group_right podman_container_info{name !~ ".*_init|nova_compute|neutron-haproxy-ovnmeta-.*"} != 0 |
| 77 | + labels: |
| 78 | + severity: warning |
| 79 | + annotations: |
| 80 | + summary: "EDPM Podman container health check failed (warning)" |
| 81 | + description: | |
| 82 | + Container {{ $labels.name }} on {{ $labels.fqdn }} has an unhealthy or unknown health status (value: {{ $value }}). |
| 83 | + Health values: -1=unknown, 0=healthy, 1=unhealthy, 2=starting. |
| 84 | + - alert: EdpmPodmanContainerUnhealthyCritical |
| 85 | + expr: | |
| 86 | + podman_container_health * on (id) group_right podman_container_info{name !~ ".*_init|nova_compute|neutron-haproxy-ovnmeta-.*"} != 0 |
| 87 | + for: 60s |
| 88 | + labels: |
| 89 | + severity: critical |
| 90 | + annotations: |
| 91 | + summary: "EDPM Podman container health check failed (critical)" |
| 92 | + description: | |
| 93 | + Container {{ $labels.name }} on {{ $labels.fqdn }} has an unhealthy or unknown health status (value: {{ $value }}) for more than 1 minute. |
| 94 | + Health values: -1=unknown, 0=healthy, 1=unhealthy, 2=starting. |
| 95 | + - alert: EdpmPodmanContainerNotRunningWarning |
| 96 | + expr: | |
| 97 | + podman_container_state * on (id) group_right podman_container_info{name !~ ".*_init"} != 2 |
| 98 | + labels: |
| 99 | + severity: warning |
| 100 | + annotations: |
| 101 | + summary: "EDPM Podman container not running (warning)" |
| 102 | + description: | |
| 103 | + Container {{ $labels.name }} on {{ $labels.fqdn }} is not in running state (value: {{ $value }}). |
| 104 | + State values: -1=unknown, 0=created, 1=initialized, 2=running, 3=stopped, 4=paused, 5=exited, 6=removing, 7=stopping. |
| 105 | + - alert: EdpmPodmanContainerNotRunningCritical |
| 106 | + expr: | |
| 107 | + podman_container_state * on (id) group_right podman_container_info{name !~ ".*_init"} != 2 |
| 108 | + for: 60s |
| 109 | + labels: |
| 110 | + severity: critical |
| 111 | + annotations: |
| 112 | + summary: "EDPM Podman container not running (critical)" |
| 113 | + description: | |
| 114 | + Container {{ $labels.name }} on {{ $labels.fqdn }} is not in running state (value: {{ $value }}) for more than 1 minute. |
| 115 | + State values: -1=unknown, 0=created, 1=initialized, 2=running, 3=stopped, 4=paused, 5=exited, 6=removing, 7=stopping. |
0 commit comments