docker-compose-prometheus.yml
需修改grafana中配置的mysql连接信息prometheus.yml
自行配置
# 运行
docker-compose -f docker-compose-prometheus.yml -p prometheus up -d
# 查看grafana日志
docker logs -fn10 prometheus-grafana
- grafana访问地址:
http://ip地址:3000
默认登录账号密码:admin/admin
- prometheus访问地址:
http://ip地址:9090
- exporter访问地址:
http://ip地址:9100/metrics
grafana面板资源 https://grafana.com/grafana/dashboards
node-exporter =》 https://grafana.com/grafana/dashboards/8919