Skip to content

Commit 6cce5de

Browse files
committed
Change SyncAlert name back to original, customers may have settings based on this and thus should not change willy-nilly
1 parent bc89c98 commit 6cce5de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/argocd_metrics_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,10 +592,10 @@ func newPrometheusRule(namespace string) *monitoringv1.PrometheusRule {
592592
Name: "GitOpsOperatorArgoCD",
593593
Rules: []monitoringv1.Rule{
594594
{
595-
Alert: "ArgoCDOutOfSyncAlert",
595+
Alert: "ArgoCDSyncAlert",
596596
Annotations: map[string]string{
597597
"summary": "Argo CD application is out of sync",
598-
"description": "Argo CD application {{ $labels.namespace }}/{{ $labels.name }} is out of sync. Check ArgoCDOutOfSyncAlert status, this alert is designed to notify that an application managed by Argo CD is out of sync.",
598+
"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.",
599599
},
600600
Expr: intstr.IntOrString{
601601
Type: intstr.String,

0 commit comments

Comments
 (0)