安装 prometheus 和 Grafana
更新日期:
在树莓派上尝试安装了prometheus 和 Grafana, pi 3 Model B+, 下载安装包版本选了armv7.
prometheus
prometheus的访问地址为localhost:9090. node_exporter 用来采集linux系统中一些基本指标, 监听端口为9100,在prometheus.yml中添加scrape_configs下一个job_name就可以开始上报。
grafana
- 安装指南 https://grafana.com/docs/installation/debian/
- https://grafana.com/grafana/download?platform=arm
1 | wget https://dl.grafana.com/oss/release/grafana_6.3.2_armhf.deb |
grafana中添加prometheus数据源:
- https://prometheus.io/docs/visualization/grafana/
- https://grafana.com/docs/features/datasources/prometheus/
