ArgoCD
Collect metrics from your ArgoCD components
groundcover supports metrics collection from your ArgoCD deployment, to allow you to visualize your continuous-delivery health and set up monitors.
Configuration is only enabled for Admins
How ArgoCD exposes metrics
ArgoCD is multi-component, and each long-running component exposes its own native Prometheus /metrics endpoint on a distinct port:
Application controller
8082
API server
8083
Repo server
8084
ApplicationSet controller
8080
Notifications controller
9001
Commit server
8087
These are the component metrics endpoints, not the argocd-server API. They are unauthenticated http in-cluster, so no credentials are needed in the common case. See ArgoCD's metrics documentation for details.
Adding the ArgoCD integration
Navigate to Data Sources and select ArgoCD.
Define the list of targets
ArgoCD is multi-endpoint: add one target per component you want to scrape. All targets share the same path and scheme:
Scheme —
http(the default for in-cluster component metrics endpoints).One or more endpoints — the component metrics services (e.g.
argocd-metrics:8082,argocd-server-metrics:8083,argocd-repo-server:8084,argocd-applicationset-controller-metrics:8080).Path —
/metrics.Authentication method — usually none; Basic Auth or a Bearer token only if you front the endpoints with an authenticating proxy.
Metrics scraping rules
On top of the targets configuration, you can also provide:
Drop/Keep metrics (optional) — list of regexes of metrics to drop or keep.
Drop metrics — drop all metrics that match any of the regular expressions.
Keep metrics — drop all metrics that don't match any of the regular expressions.
Additional relabeling (optional) — apply any additional Prometheus relabeling rules. Use the relabeling cookbook to configure them.
Extra labels (optional) — a list of key-value pairs added to all scraped metrics from this configuration, such as
env=production.Scrape interval and scrape timeout — control the cadence of scraping.
Scraping ArgoCD in-cluster (sensor / ServiceMonitor)
If groundcover runs in the same cluster as ArgoCD, you can also collect these metrics through the in-cluster scrape path instead of the tile: annotate the component metrics services with prometheus.io/scrape, or use the Prometheus-Operator ServiceMonitor manifests ArgoCD ships for each component. Either path keeps the metric names verbatim, so the same argocd_* series described below apply.
Common Questions
Where can I find scraped metrics?
All metrics in the platform can be found in the metrics exploration page: https://app.groundcover.com/explore/data-explorer.
For the full list of metrics groundcover collects from ArgoCD, what each means, and the labels you can slice by, see ArgoCD Metrics.
Last updated
