Skip to content
share library_books

Docker Monitoring Integration

Overview

The following information is collected and transmitted to Sematext Cloud or Sematext Enterprise version. Sematext Cloud integration for Docker uses Sematext Agent and the open-source Logagent for the collection of container logs.

Type Description
Operating System Metrics

Host machine metrics

  • CPU Usage
  • Memory Usage
  • Network Stats
  • Disk I/O Stats
Container Metrics/Stats
  • CPU Usage / limits
  • Memory Usage / Limits / Fail Counters
  • Network Stats
  • Disk I/O Stats
Events
Agent Startup Event server-info – created by spm-agent framework with node.js and OS version info on startup. Please note the agent is implemented in node.js.
Docker-info – Docker Version, API Version, Kernel Version on startup
Docker Events Container Lifecycle Events| create, exec_create, destroy, export, ...
Container Runtime Events die, exec_start, kill, pause, restart, start, stop, unpause, ...
Docker Logs
Default Fields
  • hostname / IP address
  • container id
  • container name
  • image name
  • message

Log formats

(detection and log parsers)

JSON, Plain Text

Supported Platforms

  • Docker Engine >= 17.0.0
  • Platforms using Docker:
    • Docker Cloud
    • Docker Data Center
    • Kubernetes
    • Mesos
    • CoreOS
    • Rancher
    • Amazon ECS
    • Red Hat OpenShift

Metrics

Name Type Unit Numeric Type Label Description
memory.usage gauge bytes long memory container memory usage in bytes
memory.fail.count counter long memory the number of times that memory cgroup limit was exceeded
memory.limit gauge bytes long memory the max allowed memory limit for the container cgroup
memory.rss gauge bytes long RSS memory number of bytes of anonymous (file unmapped memory) and swap cache memory
memory.pages.in counter long memory pages in memory pages in,description=the number of events each time the page is accounted to the cgroup
memory.pages.out counter long memory pages out memory pages out,description=the number of events each time a page is unaccounted from the cgroup
memory.pages.fault counter long memory page faults the number of page faults accounted the cgroup
swap.size counter bytes long swap the number of bytes of swap usage
io.read gauge long disk read the number of bytes read from the disk
io.read.time gauge ns long disk read time the total amount of time (in nanoseconds) between request dispatch and request completion
io.read.wait.time counter ns long disk read wait time total amount of time the IO operations for this cgroup spent waiting in the scheduler queues
io.write counter bytes long disk write the number of bytes written to the disk
io.write.time counter ns long disk write time the total amount of time (in nanoseconds) between request dispatch and request completion
io.write.wait.time counter ns long disk write wait time total amount of time the IO operations for this cgroup spent waiting in the scheduler queues
cpu.percent gauge % double CPU usage container CPU usage
cpu.throttled.time counter ns long CPU throttled time the total amount of time that processes have been throttled in the container cgroup
network.rx.bytes counter bytes long network received received amount of bytes on the network interface
network.rx.packets counter long network packets received received amount of packets on the network interface
network.rx.errors counter long network rx errors received amount of errors on the network interface
network.rx.dropped counter long network packets rx dropped amount of dropped inbound packets on the network interface
network.tx counter long network transmitted transmitted amount of bytes on the network interface
network.tx.bytes counter bytes long network received transmitted amount of bytes on the network interface
network.tx.packets counter long network packets transmitted transmitted amount of packets on the network interface
network.tx.errors counter long network tx errors transmitted amount of errors on the network interface
network.tx.dropped counter long network packets tx dropped amount of dropped outbound packets on the network interface