Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerstats_cpu_usage_ratio 0 on centeros 7 #7

Open
ufbeans opened this issue Nov 29, 2022 · 2 comments
Open

dockerstats_cpu_usage_ratio 0 on centeros 7 #7

ufbeans opened this issue Nov 29, 2022 · 2 comments

Comments

@ufbeans
Copy link

ufbeans commented Nov 29, 2022

HELP dockerstats_cpu_usage_ratio CPU usage percentage 0-100

TYPE dockerstats_cpu_usage_ratio gauge

dockerstats_cpu_usage_ratio{name="moniter_docker_stats_exporter",id="e983380987d5"} 0
dockerstats_cpu_usage_ratio{name="moniter_kafka_exporter",id="810922347b23"} 0
dockerstats_cpu_usage_ratio{name="moniter_process_exporter",id="2a1b9d670629"} 0
dockerstats_cpu_usage_ratio{name="moniter_promtail",id="2ac75dc7d7d9"} 0
dockerstats_cpu_usage_ratio{name="moniter_grafana",id="3af9d0ca30c4"} 0
dockerstats_cpu_usage_ratio{name="moniter_loki",id="c096bc80df0b"} 0
dockerstats_cpu_usage_ratio{name="moniter_prometheus",id="80a6b3d7ca80"} 0

docker_stats_exporter:
container_name: moniter_docker_stats_exporter
image: wywywywy/docker_stats_exporter:20220516
ports:
- "9487:9487"
networks:
- moniter
volumes:
- /var/run/docker.sock:/var/run/docker.sock

@wywywywy
Copy link
Owner

What does the command docker stats show if you run it on the Docker host?

@ufbeans
Copy link
Author

ufbeans commented Nov 30, 2022

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants