Container Uptime | Hide Query Show Query docker.container.status = "U*"|
groupby(["container.name","docker.container.status"])
|_count>1
|drop(_count)
|rename("container.name",as="container name")
|rename("docker.container.status",as="docker status")
| Table |
Container Actions | Hide Query Show Query groupby(docker.event.action)
| Pie Chart |
Container ip addresses | Hide Query Show Query groupby(["container.name","docker.container.ip_addresses[0]"],function=count(docker.container.ip_addresses[0],distinct=true))
|drop(_count)
|rename("container.name",as="container name")
|rename("docker.container.ip_addresses[0]",as="container ip address")
| Table |
Docker | Hide Query Show Query count(docker.image.tags[0],distinct=true)
| Gauge |
Top 10 Containers by Traffic Sent and Received (MB) | Hide Query Show Query total_bytes:=(docker.network.in.bytes+docker.network.out.bytes)
|timechart(container.name, function=max(total_bytes), limit=10)| unit:convert(_max, from=b, to=mb)|round(_max)|sort(_max, order=desc)
| Time Chart |
Total Network Error Count Outlier | Hide Query Show Query total_bytes:=(docker.network.in.errors+docker.network.inbound.errors+docker.network.out.errors+docker.network.outbound.errors)
|timeChart(function=max(total_bytes))
| Time Chart |
Containers | Hide Query Show Query count(docker.info.containers.paused,distinct=true)
| Gauge |
CPU and Memory Usage % | Hide Query Show Query docker.cpu.total.pct:=(docker.cpu.total.pct*100)
|docker.memory.usage.pct:=(docker.memory.usage.pct*100)
|round(docker.cpu.total.pct)
|round(docker.memory.usage.pct)
|timechart(container.name, function=[avg(docker.cpu.total.pct, as=cpu_usage), avg(docker.memory.usage.pct, as=mem_usage)])
| Time Chart |
Containers | Hide Query Show Query groupBy("container.image.name")
|count(container.image.name)
| Gauge |
Container Disk Block IO Read/Write Usage | Hide Query Show Query round(docker.diskio.read.bytes)
|round(docker.diskio.write.bytes)
|timechart(container.name, function=[avg(docker.diskio.read.bytes, as=diskread), avg(docker.diskio.write.bytes, as=diskwrite)])
| Time Chart |
Containers | Hide Query Show Query count(docker.info.containers.stopped, distinct=true)
| Gauge |
Top 10 Containers by CPU Consumption (%) | Hide Query Show Query docker.cpu.total.pct:=(docker.cpu.total.pct*100)
|docker.memory.usage.pct:=(docker.memory.usage.pct*100)
|round(docker.cpu.total.pct)
|round(docker.memory.usage.pct)
|timechart(container.name, function=[avg(docker.cpu.total.pct, as=cpu_usage)])
| Time Chart |
Top 10 Containers by Avg Resident Memory Consumption | Hide Query Show Query docker.memory.stats.rss:=(docker.memory.stats.rss/1024)|round(docker.memory.stats.rss)|timechart("container.name", function=[avg(docker.memory.stats.rss, as=mem_rss_kbytes)])|unit:convert(mem_rss_kbytes, from=b, to=mb)
| Time Chart |