cadvisor Questions

4

I am scraping the kubernetes metrics from prometheus and would need to extract the number of running pods. I can see container_last_seen metrics but how should i get no of pods running. Can someon...
Advance asked 3/12, 2018 at 14:20

2

I have 2 Docker containers running on Centos machine for Docker memory monitoring purpose, I have installed "cadvisor" on the machine via Docker images when I compare "Docker stats" and "cadvisor...
Hereinbefore asked 12/3, 2019 at 9:21

1

Solved

i am new to prometheus , cadvisor and docker-compose. i made a docker-compose file including my own created application named chat, with a mongo container. those work fine. now i want to monitor my...
Lasko asked 19/4, 2022 at 12:2

2

Solved

I have configured Prometheus to scrape metrics from cAdvisor. However, the metric "container_cpu_load_average_10s" only returns 0. I am able to see the CPU metrics under the cAdvisor web UI correct...
Caricature asked 3/3, 2018 at 10:50

4

I like to monitor the containers using Prometheus and cAdvisor so that when a container restart, I get an alert. I wonder if anyone have sample Prometheus alert for this.
May asked 3/1, 2017 at 21:48

1

I tested those queries. The first query was half the value of the second query: sum(container_memory_working_set_bytes{image!="",name=~"^k8s_.*",pod=~"$pod"}) by (pod)...
Kilian asked 22/9, 2021 at 9:14

2

Solved

I'm looking to understanding the relationship of container_memory_working_set_bytes vs process_resident_memory_bytes vs total_rss (container_memory_rss) + file_mapped so as to better equipped syste...
Medea asked 7/7, 2021 at 16:18

1

Solved

I'm having issues with Prometheus alerting rules. I have various cAdvisor specific alerts set up, for example: - alert: ContainerCpuUsage expr: (sum(rate(container_cpu_usage_seconds_total[3m])) BY...
Fluoroscopy asked 26/4, 2021 at 20:46

2

"Kubernetes" (v1.10.2) says that my pod (which contains one container) is using about 5GB memory. Inside the container, RSS is saying more like 681MiB. Can anypony explain how to get from 681MiB to...
Paroicous asked 14/6, 2018 at 20:52

6

I have cadvisor running with port mapping 4000:8080 and I have to link it with a container with prometheus. My prometheus.yml is: scrape_configs: # Scrape Prometheus itself every 2 seconds. - job...
Hypsometer asked 21/11, 2016 at 10:12

1

cAdvisor reports 14GB for the memory used by Prometheus where as top reports 6.xGB. Can someone explain why this discrepancy? The documentatation of container_memory_usage_bytes says Current m...
Phototaxis asked 10/10, 2017 at 23:37

1

Solved

I've setup a docker monitoring stack using Prometheus, Grafana and cAdvisor. While using this query to get running containers: count_scalar(container_last_seen{name=~container1|container2}) It p...
Smithery asked 6/6, 2017 at 9:58

6

I run the java web application on tomcat in the Docker container. Is there any way to monitor the memory usage of the java application? I try to use jconsole with the process id of the docker, bu...
Bookkeeping asked 16/4, 2014 at 8:7

0

How can you define the memory usage metric provided by google cadvisor in docker? Is it dynamic stack size, heap requirement, cache misses, code size, swap memory or RAM memory? as well for cpu c...
Slobber asked 20/10, 2015 at 0:52
1

© 2022 - 2024 — McMap. All rights reserved.