Prometheus + Grafana
Prometheus 是云原生监控系统,配合 Grafana 实现可视化。
安装 Prometheus:
wget https://github.com/prometheus/prometheus/releases/latest/download/prometheus-*.tar.gz
tar -xzvf prometheus-*.tar.gz
cd prometheus-*
./prometheus --config.file=prometheus.yml安装 Grafana:
yum install grafana
systemctl start grafana使用:Grafana 默认端口 3000,添加 Prometheus 数据源,创建 Dashboard。
