ContainerStatsResponse

constructor(name: String? = null, id: String? = null, read: Instant? = null, preread: Instant? = null, pidsStats: ContainerPidsStats? = null, blkioStats: ContainerBlkioStats? = null, numProcs: Int? = null, storageStats: ContainerStorageStats? = null, cpuStats: ContainerCPUStats? = null, precpuStats: ContainerCPUStats? = null, memoryStats: ContainerMemoryStats? = null, networks: JsonObject? = null)

Parameters

name

Name of the container

id

ID of the container

read

Date and time at which this sample was collected. The value is formatted as RFC 3339 with nano-seconds.

preread

Date and time at which this first sample was collected. This field is not propagated if the \"one-shot\" option is set. If the \"one-shot\" option is set, this field may be omitted, empty, or set to a default date (0001-01-01T00:00:00Z). The value is formatted as RFC 3339 with nano-seconds.

pidsStats
blkioStats
numProcs

The number of processors on the system. This field is Windows-specific and always zero for Linux containers.

storageStats
cpuStats
precpuStats
memoryStats
networks

Network statistics for the container per interface. This field is omitted if the container has no networking enabled.