Prometheus 管理 API
管理 API,需要在 Prometheus 启动的时候加上--web.enable-lifecycle 参数
健康检查
curl http://127.0.0.1:9090/-/healthy
重载
curl http://127.0.0.1:9090/-/reload
退出
curl http://127.0.0.1:9090/-/quit
管理 API,需要在 Prometheus 启动的时候加上--web.enable-lifecycle 参数
curl http://127.0.0.1:9090/-/healthy
curl http://127.0.0.1:9090/-/reload
curl http://127.0.0.1:9090/-/quit