Title here
Summary here
ArgoCD provides metrics that can be collected using Prometheus and visualized in Grafana.
Prometheus scrapes ArgoCD metrics and provides insights into application health and sync status.
kubectl apply -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/bundle.yamlkubectl port-forward svc/argocd-metrics -n argocd 8082:8082kubectl logs -n argocd -l app.kubernetes.io/name=argocd-serverkubectl apply -f https://raw.githubusercontent.com/grafana/loki/main/deploy/kubernetes/loki.yaml<match argocd.**>
@type loki
url http://loki.default.svc:3100
</match>Logs can be queried and visualized using Loki’s integration with Grafana.
argocd app get myappargocd app history myappkubectl get events -n argocdargocd app logs myappargocd app history myappArgoCD logs all user interactions and changes within the UI.
By implementing monitoring and logging, you gain better visibility into ArgoCD’s behavior and improve troubleshooting efficiency.