I think that you need to add a label corresponding to the cluster name to the argocd_app_info metric.
Motivation
I need to generate a report with applications OutOfSync status in the format:
appProject/applicationSet [(team: team label)]
cluster: application
To get the label-team and application-set I can create a CustomResourceStateMetric on ApplicationSet, and join it with argocd_app_info by app_name and project. But I can't get cluster this way, the cluster is located in the generator.
Proposal
I find it difficult to suggest an implementation. In ApplicationSet manifests, the cluster is located in the generator. In application manifests there is no cluster.
Summary
I think that you need to add a label corresponding to the cluster name to the argocd_app_info metric.
Motivation
I need to generate a report with applications OutOfSync status in the format:
To get the label-team and application-set I can create a CustomResourceStateMetric on ApplicationSet, and join it with argocd_app_info by app_name and project. But I can't get cluster this way, the cluster is located in the generator.
Proposal
I find it difficult to suggest an implementation. In ApplicationSet manifests, the cluster is located in the generator. In application manifests there is no cluster.