ContainerNetworkStats

@Serializable
data class ContainerNetworkStats(val rxBytes: Int? = null, val rxPackets: Int? = null, val rxErrors: Int? = null, val rxDropped: Int? = null, val txBytes: Int? = null, val txPackets: Int? = null, val txErrors: Int? = null, val txDropped: Int? = null, val endpointId: String? = null, val instanceId: String? = null)

Aggregates the network stats of one container

Parameters

rxBytes

Bytes received. Windows and Linux.

rxPackets

Packets received. Windows and Linux.

rxErrors

Received errors. Not used on Windows. This field is Linux-specific and always zero for Windows containers.

rxDropped

Incoming packets dropped. Windows and Linux.

txBytes

Bytes sent. Windows and Linux.

txPackets

Packets sent. Windows and Linux.

txErrors

Sent errors. Not used on Windows. This field is Linux-specific and always zero for Windows containers.

txDropped

Outgoing packets dropped. Windows and Linux.

endpointId

Endpoint ID. Not used on Linux. This field is Windows-specific and omitted for Linux containers.

instanceId

Instance ID. Not used on Linux. This field is Windows-specific and omitted for Linux containers.

Constructors

Link copied to clipboard
constructor(rxBytes: Int? = null, rxPackets: Int? = null, rxErrors: Int? = null, rxDropped: Int? = null, txBytes: Int? = null, txPackets: Int? = null, txErrors: Int? = null, txDropped: Int? = null, endpointId: String? = null, instanceId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "endpoint_id")
val endpointId: String?
Link copied to clipboard
@SerialName(value = "instance_id")
val instanceId: String?
Link copied to clipboard
@SerialName(value = "rx_bytes")
val rxBytes: Int?
Link copied to clipboard
@SerialName(value = "rx_dropped")
val rxDropped: Int?
Link copied to clipboard
@SerialName(value = "rx_errors")
val rxErrors: Int?
Link copied to clipboard
@SerialName(value = "rx_packets")
val rxPackets: Int?
Link copied to clipboard
@SerialName(value = "tx_bytes")
val txBytes: Int?
Link copied to clipboard
@SerialName(value = "tx_dropped")
val txDropped: Int?
Link copied to clipboard
@SerialName(value = "tx_errors")
val txErrors: Int?
Link copied to clipboard
@SerialName(value = "tx_packets")
val txPackets: Int?