grafana:
./grafana-server
prometheus:
启服务
./prometheus --web.listen-address=0.0.0.0:9090 --web.enable-lifecycle --storage.tsdb.retention.time=7d --log.level=info
修改配置文件后需要重载
vi prometheus.yml
curl -X POST http://localhost:9090/-/reload/
grafana:
./grafana-server
prometheus:
启服务
./prometheus --web.listen-address=0.0.0.0:9090 --web.enable-lifecycle --storage.tsdb.retention.time=7d --log.level=info
修改配置文件后需要重载
vi prometheus.yml
curl -X POST http://localhost:9090/-/reload/