Grafana & Prometheus 配置
Grafana 版本是 7.0.4
Prometheus 版本是 2.8.0
1、配置 Prometheus 数据源
Date Sources--> 选择 Prometheus,配置 Name 和 URL
【注意】Name 必须为首字母大写的 Prometheus,不能写成全小写的 prometheus




2、保存并测试 Prometheus 数据源
点击“Save & Test”,页面弹出“Data source is working”信息,表明 Prometheus 数据源是可用的。

3、新建 Dashboard
1)左侧加号,Create Dashboard

2) Add new panel

3)配置 Panel tile

4)选择 Prometheus 数据源

5)选择指标

6)选择曲线图表

7)设置指标单位

8)最终效果
