Mac安装prometheus node_exporter
Mac 安装prometheus
brew install prometheus
启动prometheus
prometheus --config.file=/usr/local/etc/prometheus.yml
#web UI localhost:9090
docker启动prometheus
docker run --name prometheus -d -p 127.0.0.1:9090:9090 prom/prometheus
安装启动node_exporter
brew install node_exporter brew services start node_exporter 启动后,可以通过http://localhost:9100/查看,如图: 参考资料:https://www.jianshu.com/p/67087e164144
共有 0 条评论