Setup Grafana Metrics Dashboard from Prometheus Datasource in Grafana 7
Documentation : https://sbcode.net/grafana/grafana-metrics-prom-dashboard/
Course Coupons : https://sbcode.net/coupons
Depending on your Grafana and Prometheus versions, the pre built Grafana Metrics Dashboard may partly work or not at all.
In this video, I will show the steps that I used to get it to work.
Install the Grafana Metrics dashboard from the Prometheus Datasource / Dashboards tab.
The Prometheus service, since it is local will, retrieve Grafana stats from http://127.0.0.1:3000/metrics
Add a new scrape target to the Prometheus configuration.
Go back into Grafana, and there is likely to be some issues with the visualizations.
In the video, I fix each problem in turn and demonstrate my problem solving process.
Documentation : https://sbcode.net/grafana/grafana-metrics-prom-dashboard/
0:00 Setup Grafana Metrics Dashboard from Prometheus Datasource
0:20 Import the Granana Metrics Dashboard
0:50 Discuss Grafana Metrics Endpoint
2:30 Discuss grafana.ini metrics settings
3:30 Discuss existing Prometheus scrape targets
4:35 Add new scrape target for Grafana metrics
5:20 View Grafana Metrics in Explore
6:18 View Grafana Metrics in Dashboard
6:30 Fix broken Visualisation
7:25 Discuss other potential problems
8:30 Restrict metrics endpoint using Nginx
#grafana
#grafanaEngineer
#grafanaCourse
#grafanaTutorial