In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Procedure:
Sudo docker run\-- restart=always\-- volume=/:/rootfs:ro\-- volume=/var/run:/var/run:ro\-- volume=/sys:/sys:ro\-- volume=/var/lib/docker/:/var/lib/docker:ro\-- volume=/dev/disk/:/dev/disk:ro\-- publish=8080:8080\-detach=true\-- name=cadvisor\ google/cadvisor:v0.33.0echo 'global: scrape_ Interval: 15s scrape_timeout: 10s evaluation_interval: 15salerting: alertmanagers:-static_configs:-targets: [] scheme: http timeout: 10sultrapeeled configs job_name-job_name: prometheus scrape_interval: 15s scrape_timeout: 10s metrics_path: / metrics scheme: http static_configs:-targets: [localhost:9090 Tx.20has.win:8080] #-localhost:9090#-tx.20has.win:8080' > / data/docker/prometheus/prometheus.ymldocker run-d\-- name prometheus\-- restart=always\-p9090 tx.20has.win:8080' 9090\-v / data/docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml\-v / prometheus\ prom/prometheusdocker run-d-restart=always-- name=grafana-p 3000 grafana/grafana
Summary:
Recommend the template number of a monitoring container that is easy to use with garafan: 3125
Architecture: cadvisor collects container information-> prometheus (supports the cadvisor plug-in as the collection side)-> grafana shows
Prometheus is not a real-time monitoring solution, and the default is to display data every 15s.
The display results are as follows:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.