Getting periodic slack notifications for disabled auto-sync feature in ArgoCD #9343
rishavjayswal
started this conversation in
Ideas
Replies: 1 comment
-
This may help someone: alert: 'ArgoCdAppAutoSyncDisabled',
expr: |||
sum(
argocd_app_info{
%(argoCdSelector)s,
autosync_enabled!="true",
name!~"%(argoAutoSyncDisabledIgnoredApps)s"
}
) by (job, dest_server, project, name, autosync_enabled)
> 0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently had an issue with one of our releases and had to rollback all our services manually. While doing so we had to disable the ‘auto-sync’ feature. After reverting the faulty PR, we forgot to enable the auto-sync again and the apps were out-of-sync for a day. Is there a way we can enable a trigger or an alert that gets triggered after every duration (say one hour) and notify us on slack that the autosync feature is disabled?
We would also like to enable the notification after every PR merge, something like "The commit can not be released because auto-sync is disabled.".
Beta Was this translation helpful? Give feedback.
All reactions