prometheus
doc
- https://prometheus.io/docs/introduction/overview/
- https://github.com/yunlzheng/prometheus-book
- 转载http://www.topgoer.cn/docs/prometheus/prometheus-1cct91no7mknf
安装prometheus
- https://prometheus.io/download/ 下载prometheus 解压
- 启动 nohup ./prometheus --storage.tsdb.path=/home/prometheus/data/ &
- –storage.tsdb.path
- –storage.tsdb.retention
- –storage.tsdb.min-block-duration
- –storage.tsdb.max-block-duration
- localhost:9090
可视化
- Prometheus UI提供了快速验证PromQL以及临时可视化支持的能力,
- Grafana提供可以长期使用的监控数据可视化面板
- docker run -d -p 3000:3000 grafana/grafana:7.5.9
- localhost:3000
- https://grafana.com/grafana/dashboards import dashboard
linux系统监控
- https://promet