You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add more labels to the argocd_app_info metric to reflect the individual automated syncPolicy config. At the moment, this metric has a single autosync_enabled label that is set if spec.syncPolicy.automated != nil.
Motivation
In some cases (e.g. outage situations) it is required to disable autosync for short periods. This is achievable by adding /spec/syncPolicy/automated to ignoreDifferences (or ignoreApplicationDifferences). By design, this has the downside that ArgoCD won't show a diff when autosync is disabled for an Application and users must remember to re-enable it later.
With the argocd_app_info metric, alerts can be triggered using the autosync_enabled label only when autosync is completely disabled for an Application, this enhancement proposal is to add additional labels so alerts can also be triggered if autosync is partially disabled.
Proposal
Add the following labels to the argocd_app_info metric:
autosync_prune_enabled
autosync_self_heal_enabled
autosync_allow_empty_enabled
The text was updated successfully, but these errors were encountered:
Summary
Add more labels to the
argocd_app_info
metric to reflect the individual automated syncPolicy config. At the moment, this metric has a singleautosync_enabled
label that is set ifspec.syncPolicy.automated != nil
.Motivation
In some cases (e.g. outage situations) it is required to disable autosync for short periods. This is achievable by adding
/spec/syncPolicy/automated
toignoreDifferences
(orignoreApplicationDifferences
). By design, this has the downside that ArgoCD won't show a diff when autosync is disabled for an Application and users must remember to re-enable it later.With the
argocd_app_info
metric, alerts can be triggered using theautosync_enabled
label only when autosync is completely disabled for an Application, this enhancement proposal is to add additional labels so alerts can also be triggered if autosync is partially disabled.Proposal
Add the following labels to the
argocd_app_info
metric:autosync_prune_enabled
autosync_self_heal_enabled
autosync_allow_empty_enabled
The text was updated successfully, but these errors were encountered: