# How to Monitor Docker All Container CPU/Disk/Memory Usage in Prometheus

**URL:** <https://discuss.prometheus.io/t/how-to-monitor-docker-all-container-cpu-disk-memory-usage-in-prometheus/490>\
**Category:** General Help/Support\
**Created:** [September 8, 2021, 3:38pm UTC](https://discuss.prometheus.io/t/how-to-monitor-docker-all-container-cpu-disk-memory-usage-in-prometheus/490 "2021-09-08T15:38:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rashid](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rashid](https://discuss.prometheus.io/u/rashid)\
**Post date:** [September 8, 2021, 3:38pm UTC](https://discuss.prometheus.io/t/how-to-monitor-docker-all-container-cpu-disk-memory-usage-in-prometheus/490/1 "2021-09-08T15:38:32Z")

</div>

Hi,

I want to monitor  
container cpu usage,  
container disk usage and  
container memory usage

And

Server CPU Usage  
Server Memory Usage and  
Server Harddisk Usage

Actually i have one server in that 40 container are running and in that server i have install prometheus, grafana, node exporter, cadvisor and alertmanager for monitoring my 40 container and server usage both

I have setup container cpu usage and memory usage but not getting about disk usage of container

Even i have setup email alert but that also properly not triggering into my gmail account

Below is email alert coming into my gmail account

```auto
7] Firing
Labels
alertname = High_Memory_Usage_1g
container_label_com_docker_swarm_node_id = r7r41ngp9zw6wgb4fcc289087
container_label_com_docker_swarm_task_name = xxxxx-app.1.mj9vo4024v4d30evq1r2xm2n6
Annotations
description = app_notes-app.1.mj9vo4024v4d30evq1r2xm2n6 on 'r7r41ngp9zw6wgb4fcc289087' memory usage is 812.9MB.
summary = Memory alert for Swarm task 'app_notes-app.1.mj9vo4024v4d30evq1r2xm2n6' on 'r7r41ngp9zw6wgb4fcc289087'
Source
Labels
alertname = High_Memory_Usage_1g
container_label_com_docker_swarm_node_id = r7r41ngp9zw6wgb4fcc289087
container_label_com_docker_swarm_task_name = dev_fx-xxxx-xxx.1.6k0qavdj4mf3qe6fnspx2dh0h
Annotations
description = dev_fxxxxxxx.1.6k0qavdj4mf3qe6fnspx2dh0h on 'r7r41ngp9zw6wgb4fcc289087' memory usage is 3.701GB.

```

Please do let me know to do it
