docker运行prometheus
生活随笔
收集整理的這篇文章主要介紹了
docker运行prometheus
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
pull鏡像
docker pull prom/prometheus:latest運行
docker run -p 9090:9090 \ -v /tmp/prometheus-data:/prometheus-data \ prom/prometheus如果要映射配置文件
docker run -p 9090:9090 -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml \-v /tmp/prometheus-data:/prometheus-data \prom/prometheus訪問
http://192.168.99.100:9090/graph
計算實例,指標可以從http://192.168.99.100:9090/me...中找
prometheus_target_interval_length_seconds{quantile="0.99"}或者
count(prometheus_target_interval_length_seconds)查看圖形
doc
-
prometheus-install
-
prometheus expression language documentation
總結
以上是生活随笔為你收集整理的docker运行prometheus的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Prometheus 初探
- 下一篇: 【docker】docker run命令