ContainerStatsResponse

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

Statistics sample for a container.

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.

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
@SerialName(value = "blkio_stats")
val blkioStats: ContainerBlkioStats?
Link copied to clipboard
@SerialName(value = "cpu_stats")
val cpuStats: ContainerCPUStats?
Link copied to clipboard
@SerialName(value = "id")
val id: String?
Link copied to clipboard
@SerialName(value = "memory_stats")
val memoryStats: ContainerMemoryStats?
Link copied to clipboard
@SerialName(value = "name")
val name: String?
Link copied to clipboard
@SerialName(value = "networks")
val networks: JsonObject?
Link copied to clipboard
@SerialName(value = "num_procs")
val numProcs: Int?
Link copied to clipboard
@SerialName(value = "pids_stats")
val pidsStats: ContainerPidsStats?
Link copied to clipboard
@SerialName(value = "precpu_stats")
val precpuStats: ContainerCPUStats?
Link copied to clipboard
@SerialName(value = "preread")
val preread: Instant?
Link copied to clipboard
@SerialName(value = "read")
val read: Instant?
Link copied to clipboard
@SerialName(value = "storage_stats")
val storageStats: ContainerStorageStats?