Container Uptime |
Displays a table of Docker container uptime statuses by container.
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 |
Displays a list of Docker container actions.
Hide Query Show Query groupby(docker.event.action)
| Pie Chart |
Container ip addresses |
Displays a table of Docker container IP addresses and container
names.
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 |
Displays a list of Docker images.
Hide Query Show Query count(docker.image.tags[0],distinct=true)
| Gauge |
Top 10 Containers by Traffic Sent and Received (MB) |
Displays a list of the top 10 containers by sent and received
traffic in MB, then limits results to the first 10 entries.
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 |
Displays a chart of the number of total Docker network outliers.
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 |
Displays the number of paused Docker containers.
Hide Query Show Query count(docker.info.containers.paused,distinct=true)
| Gauge |
CPU and Memory Usage % |
Displays a chart of CPU and memory usage in percentage format
using Docker data.
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 |
Displays a list of container images.
Hide Query Show Query groupBy("container.image.name")
|count(container.image.name)
| Gauge |
Container Disk Block IO Read/Write Usage |
Displays a chart of Docker container usage for disk block IO and
read/write operations.
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 |
Displays stopped Docker container information.
Hide Query Show Query count(docker.info.containers.stopped, distinct=true)
| Gauge |
Top 10 Containers by CPU Consumption (%) |
Displays a chart of the top 10 Docker containers in descending
order based on CPU consumption in percentage format.
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 |
Displays a chart of the top 10 Docker containers by average
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 |