Skip to content

Export autoSync state of application  #12565

Closed
@gerardocorea

Description

Summary

Start to include the autoSync state of applications via metrics being exported.

Motivation

Using the provided metrics and autoSync state, teams can create dashboards or alerts based off if the autoSync policy of a application is set to disabled or not. Teams leveraging argoCD for gitops rely on the autoSync state of applications to be enabled always for the proper reconciliations of changes against repository that result in creation, modifications, or deletion of resources.

Proposal

If my brief understanding of this repository is correct we could append a label named autoSyncState to the metrics provided to prometheus with every scrape for every application that exists. This value would be set to true or false depending if autosync is enabled or disabled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions