prometheus啓動命令

 1)啓用數據保存時間,配置刷新

./prometheus --storage.tsdb.retention.time=180d --web.enable-admin-api --web.enable-lifecycle --config.file=prometheus.yml

 2)帶端口:

./prometheus --storage.tsdb.retention.time=180d --web.enable-admin-api --web.enable-lifecycle --config.file=prometheus.yml --web.listen-address="0.0.0.0:19090"

3)熱啓動

curl -XPOST http://localhost:9090/-/reload

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章