Monitoring Grafana itself with Prometheus

Is it possible to monitor Grafana itself with Prometheus, If yes, what is the metrics port for Grafana. Do I have to open port in Deployment?
  • What Grafana version and what operating system are you using?
    v6.6.1

  • What are you trying to achieve?
    monitor Grafana itself with Prometheus

  • How are you trying to achieve it?
    I have created a ServiceMonitor for Grafana Service, add the network policies to allow the metrics with port service - 443

  • What happened?
    Grafana is not emitting any metrics on 443.

  • What did you expect to happen?
    Do I have to any port in the Deployment for metrics…?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

grafana can expose metrics about itself for prometheus to scrape.

here are the official docs about it. You’ll need to adjust your settings in grafana.ini / custom.ini and then add a job / target to your prometheus.yml

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