1.mac上安装Prometheus:
进入https://prometheus.io/download/下载
2.解压后,运行./prometheus --config.file=prometheus.yml
3.访问: http://localhost:9090/
4.mac上安装
https://grafana.com/docs/grafana/latest/installation/mac/
下载完grafana后,解压,然后执行./bin/grafana-server web
访问http://localhost:3000/,账号和密码都是admin,