|
47 | 47 | - alert: ArgoCDSyncAlert
|
48 | 48 | annotations:
|
49 | 49 | summary: Argo CD application is out of sync
|
50 |
| - description: Argo CD application {{ $labels.name }} is out of sync. Check ArgoCDSyncAlert status, this alert is designed to notify that an application managed by Argo CD is out of sync. |
| 50 | + description: Argo CD application {{ $labels.namespace }}/{{ $labels.name }} is out of sync. Check ArgoCDSyncAlert status, this alert is designed to notify that an application managed by Argo CD is out of sync. |
51 | 51 | expr: argocd_app_info{namespace="openshift-gitops",sync_status="OutOfSync"} > 0
|
52 | 52 | labels:
|
53 | 53 | severity: warning
|
| 54 | + - alert: ArgoCDUnknownSyncAlert |
| 55 | + annotations: |
| 56 | + summary: Argo CD application sync state is unknown |
| 57 | + description: Argo CD application {{ $labels.namespace }}/{{ $labels.name }} is in an unknown sync state. Check ArgoCDUnknownSyncAlert status, this often occurs when the Application is misconfigured. |
| 58 | + expr: argocd_app_info{namespace="openshift-gitops",sync_status="Unknown"} > 0 |
| 59 | + labels: |
| 60 | + severity: critical |
| 61 | + - alert: ArgoCDHealthAlert |
| 62 | + annotations: |
| 63 | + summary: Argo CD application is not healthy |
| 64 | + description: Argo CD application {{ $labels.namespace }}/{{ $labels.name }} is not healthy. Check ArgoCDHealthAlert status, this alert is designed to notify that an application managed by Argo CD is not in a healthy, suspended, progressing or degraded state. |
| 65 | + expr: argocd_app_info{namespace="openshift-gitops", health_status!~"Healthy|Suspended|Progressing|Degraded"} > 0 |
| 66 | + labels: |
| 67 | + severity: warning |
| 68 | + - alert: ArgoCDDegradedAlert |
| 69 | + annotations: |
| 70 | + summary: Argo CD application is degraded |
| 71 | + description: Argo CD application {{ $labels.namespace }}/{{ $labels.name }} is degraded. Check ArgoCDDegradedAlert status, this alert is designed to notify that an application managed by Argo CD is degraded. |
| 72 | + expr: argocd_app_info{namespace="openshift-gitops", health_status="Degraded"} > 0 |
| 73 | + labels: |
| 74 | + severity: critical |
| 75 | + - alert: ArgoCDProgressingAlert |
| 76 | + annotations: |
| 77 | + summary: Argo CD application has been progressing for more than 10 minutes |
| 78 | + description: Argo CD application {{ $labels.namespace }}/{{ $labels.name }} has been progressing for more than 10 minutes. Check ArgoCDProgressingAlert status, this alert is designed to notify when an application is taking a long time to exit the Progressing state. |
| 79 | + expr: argocd_app_info{namespace="openshift-gitops", health_status="Progressing"} > 0 |
| 80 | + labels: |
| 81 | + severity: warning |
0 commit comments