最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

kubernetes - Prometheus not showing ServiceMonitors in Targets - Stack Overflow

programmeradmin2浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论