Promtail metrics not showing up in prometheus

Hi Folks,

I have metrics configured in promtail config, which show up correctly when I curl the metrics endpoint of the promtail pod.

I do have serviceMonitor enabled, however, metrics are not showing up in prometheus. Any thoughts on how to debug this?

I had to change the serviceMonitor labels to include release: prometheus label, which was originally at release: loki due to helm installation of loki being different from the helm installation of prometheus. This seems to have solved the problem. I can now see metrics in both prometheus and grafana (via prometheus datasource).

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.