google / cadvisor

Analyzes resource usage and performance characteristics of running containers.
Other
17.26k stars 2.33k forks source link

container_processes metrics are not exported #2258

Open Srinivasa633 opened 5 years ago

Srinivasa633 commented 5 years ago

I installed cAdvisor as docker container in my mac. I am not able to see "container_processes" metrics in prometheus as well as cAdvisor dashboard is also not showing process related information. Can you please let me know if i need to enable any configs for this. Below is my cAdvisor configs.

cadvisor:
    image: google/cadvisor:beta
    privileged: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /:/rootfs:ro
      - /var/run:/var/run:rw
      - /sys:/sys:ro
      - /var/lib/docker/:/var/lib/docker:ro
      - /dev/disk/:/dev/disk:ro
    ports:
      - 8080:8080
    restart: always
    deploy:
      mode: global
qingwave commented 5 years ago

you should set flag disable_metrics without process