|
21 | 21 | annotations:
|
22 | 22 | description: App {{ $labels.name }} in {{ $labels.label_environment }} is stuck in `Unknown` for 1h. ArgoCD is probably generating errors when trying to compare live and desired manifests.
|
23 | 23 | summary: App {{ $labels.name }} is stuck in `Unknown` state.
|
| 24 | + dashboard_url: https://grafana.gitpod.io/d/argocd-apps/argocd?refresh=30s&var-environment={{ $labels.label_environment }}&var-team={{ $labels.team }} |
24 | 25 | expr: label_replace(argocd_app_info{sync_status="Unknown"} * on(name) group_left(label_environment, label_team) argocd_app_labels, "team", "$1", "label_team", "(.*)")
|
25 | 26 | labels:
|
26 | 27 | severity: warning
|
|
29 | 30 | annotations:
|
30 | 31 | description: App {{ $labels.name }} in {{ $labels.label_environment }} is `OutOfSync` for more than an entire day. The live manifests do not match with what is desired in git!
|
31 | 32 | summary: App {{ $labels.name }} is stuck in `OutOfSync` state.
|
| 33 | + dashboard_url: https://grafana.gitpod.io/d/argocd-apps/argocd?refresh=30s&var-environment={{ $labels.label_environment }}&var-team={{ $labels.team }} |
32 | 34 | expr: label_replace(argocd_app_info{sync_status="OutOfSync"} * on(name) group_left(label_environment, label_team) argocd_app_labels, "team", "$1", "label_team", "(.*)")
|
33 | 35 | labels:
|
34 | 36 | severity: warning
|
|
37 | 39 | annotations:
|
38 | 40 | description: App {{ $labels.name }} in {{ $labels.label_environment }} is stuck in `Progressing` for 1h. It is possible that the application is left in a weird state.
|
39 | 41 | summary: App {{ $labels.name }} is stuck in `Progressing` state.
|
| 42 | + dashboard_url: https://grafana.gitpod.io/d/argocd-apps/argocd?refresh=30s&var-environment={{ $labels.label_environment }}&var-team={{ $labels.team }} |
40 | 43 | expr: label_replace(argocd_app_info{health_status="Progressing"} * on(name) group_left(label_environment, label_team) argocd_app_labels, "team", "$1", "label_team", "(.*)")
|
41 | 44 | labels:
|
42 | 45 | severity: warning
|
|
45 | 48 | annotations:
|
46 | 49 | description: App {{ $labels.name }} in {{ $labels.label_environment }} is stuck in `Degraded`. This means that the synchronization failed requires investigation.
|
47 | 50 | summary: App {{ $labels.name }} is stuck in `Degraded` state.
|
| 51 | + dashboard_url: https://grafana.gitpod.io/d/argocd-apps/argocd?refresh=30s&var-environment={{ $labels.label_environment }}&var-team={{ $labels.team }} |
48 | 52 | expr: label_replace(argocd_app_info{health_status="Degraded"} * on(name) group_left(label_environment, label_team) argocd_app_labels, "team", "$1", "label_team", "(.*)")
|
49 | 53 | labels:
|
50 | 54 | severity: warning
|
0 commit comments