Container Metrics

Get container memory usage history

Changed on

Retrieve memory usage history for a specific Docker container

get/api/container/{containerId}/memory/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 memory usage history

availableinteger required
freeinteger required
human_friendly_timestring nullable
timestring required
totalinteger required
usedinteger required
usedPercentnumber double required

Changes

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the / response's property type changed from string to string null, and format from date-time to no format for status

    • breaking

      the / response's property format changed from float to double for status

    • info

      api operation id memory_history was added

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      removed the pattern ^[a-zA-Z0-9._-]+$ from the path request parameter containerId

    • info

      for the query request parameter from, the format was generalized from date-time to no format

    • info

      for the query request parameter to, the format was generalized from date-time to no format

    • info

      removed the non-success response with the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • warning

      changed the pattern of the path request parameter containerId from ^[a-zA-Z0-9]+$ to ^[a-zA-Z0-9._-]+$