Container Metrics

Get container network usage history

Changed on

Retrieve network throughput history (bytes/sec, summed across the container's interfaces) for a specific Docker container

get/api/container/{containerId}/network/history

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

containerIdstring required

Exact container display name recorded by Sentinel

Query parameters

fromstring

Start date in ISO 8601 format (UTC). Defaults to the Unix epoch (all recorded history) when omitted.

tostring

End date in ISO 8601 format (UTC). Defaults to now when omitted.

Response

Container network usage history

human_friendly_timestring nullable
rxBytesPerSecnumber double required
timestring required
txBytesPerSecnumber double required

Changes