Grafana Agent not sending metrics with operator method #2028
-
Hi, I have been using grafana-agent in my staging environment using this method and it was working fine. But then I wanted to get stats from my nodejs apps which have prometheus middleware installed in them so I needed to add some ServiceMonitors. For that I deleted this current installation of grafana agent and installed the grafana-agent operator using this method and then did the whole setup using this method. I installed everything in Here is my config, FOR CRDs
For MetricInstance
For ServiceMonitor
When I installed using new method, data stopped appearing in prometheus. Here is a screenshot of the same, The screenshot is of the metric
In case you need my old configmap with the old setup, here it is
Here are the logs from grafana-agent pod
Here are prometheus logs for the last 2 hours. I made the change about an hour ago.
Is there anything I am doing wrong? Anything I'm missing perhaps? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please don't bother with this. There was prometheus-kube-stack helm chart deployed in another namespace. I deleted that and it started working. Thanks :) |
Beta Was this translation helpful? Give feedback.
Please don't bother with this. There was prometheus-kube-stack helm chart deployed in another namespace. I deleted that and it started working. Thanks :)