Debian 12 bookworm
Sponsored Link

Prometheus : Visualize on Grafana2023/07/11

 
Web UI is included in Prometheus but it's also possible to visualize time series data on Grafana.
[1]
Install Grafana, refer to here.
It's OK to install it on any Node. (install it on Prometheus server Node on this example)
[2] Access to Grafana Dashboard and Open [Administration] - [Data Sources] on the left menu.
[3] Click [Add data source].
[4] Click [Prometheus].
[5] Input Prometheus Server endpoint URL on [URL] field and Click [Save & Test] button which is bottom of the page.
If you enabled authentication or HTTPS, set parameters for them, too.
The message [Data source is working] is shown if that's OK.
[6] Next, Open [Create] - [Dashboard] on the left menu.
[7] Click [Add Visualization].
[8] Click [Prometheus].
[9] Select a query you'd like to visualize data on [Metric] field.
If that's OK, click [Apply] button which is upper-right.
To save Dashboard, click [Save] button.
[10] Set any Dashboard name and Click [Save] button.
[11] To add more queries, it's possible to put more Graphs on a Dashboard.
Matched Content