Hi. I am new to the prometheus world and trying to set up the “kube-state-metrics” to gather some more metrics from our cluster.
We have an AKS cluster with the Grafana Agent running and sending metrics, logs and traces to Grafana cloud. I’ve installed the kube-state-metrics which exposes a lot of metrics on :8080/metrics (i’ve confirmed this with a curl on another pod, to this pod).
In the config file for the agent, I’ve added the following to enable the scraping of this new pod:
scrape_configs: - job_name: 'kube-state-metrics' static_configs: - targets: ['kube-state-metrics.kube-system:8080']
There is however no sign of the metrics data i would expect in grafana (we use the default config file, so we have a lot of other metrics available).
I am a bit unsure how to approach this and how to figure out why it’s not working.
Any help is appreciated