I am trying to load ArgoCD Dashboard in Grafana. I have installed Grafana-Loki and Prometheus helm charts.
I have already set serviceMonitorSelectorNilUsesHelmValues
to false
.
Running kubectl get prometheuses.monitoring.coreos --all-namespaces -o jsonpath="{.items[*].spec.serviceMonitorSelector}"
returns an empty object {}
which earlier used to return prometheus
.
So it seems that the flag is set correctly. Yet I cannot see ServiceMonitor in the list of targets on Prometheus
I have already enabled Metrics and ServiceMonitors on ArgoCD.
What am I missing here? It seems that because ServiceMonitors are not loaded on Prometheus, nothing is loaded on the ArgoCD Grafana Dashboard.
How can I resolve this?
EDIT List of pods in monitoring namespace