Hanzo
OpenapiO11y

Lists Kubernetes pods over a time range, each with its CPU and memory usage…

Lists Kubernetes pods over a time range, each with its CPU and memory usage against request and limit, restart count, phase counts and attributes;…

POST /v1/o11y/pods/list

Addresshttps://api.hanzo.ai/v1/o11y/pods/list
MethodPOST
Operationpost_o11y_pods_list
AuthAuthorization: Bearer $HANZO_API_KEY

Lists Kubernetes pods over a time range, each with its CPU and memory usage against request and limit, restart count, phase counts and attributes; filterable, groupable and paginated.

Request

24 fields, body application/json (required).

FieldInTypeRequiredDescription
endbodyintegerepoch time in ms
filtersbodyo11y.FilterSet
filters.itemsbodyo11y.FilterItem[]
filters.items[].keybodyo11y.AttributeKey
filters.items[].key.dataTypebodystring
filters.items[].key.isColumnbodyboolean
filters.items[].key.isJSONbodyboolean
filters.items[].key.keybodystring
filters.items[].key.typebodystring
filters.items[].opbodystring
filters.items[].valuebodyobject
filters.opbodystring
groupBybodyo11y.AttributeKey[]
groupBy[].dataTypebodystring
groupBy[].isColumnbodyboolean
groupBy[].isJSONbodyboolean
groupBy[].keybodystring
groupBy[].typebodystring
limitbodyinteger
offsetbodyinteger
orderBybodyo11y.OrderBy
orderBy.columnNamebodystring
orderBy.orderbodystring
startbodyintegerepoch time in ms

Response

StatusBodyMeaning
200o11y.O11yPodListOutok

200 body — 21 fields.

FieldInTypeAlwaysDescription
databodyo11y.PodListResponse
data.recordsbodyo11y.PodListRecord[]
data.records[].countByPhasebodyo11y.PodCountByPhase
data.records[].countByPhase.failedbodyinteger
data.records[].countByPhase.pendingbodyinteger
data.records[].countByPhase.runningbodyinteger
data.records[].countByPhase.succeededbodyinteger
data.records[].countByPhase.unknownbodyinteger
data.records[].metabodyobject
data.records[].meta.*bodystring
data.records[].podCPUbodynumber
data.records[].podCPULimitbodynumber
data.records[].podCPURequestbodynumber
data.records[].podMemorybodynumber
data.records[].podMemoryLimitbodynumber
data.records[].podMemoryRequestbodynumber
data.records[].podUIDbodystring
data.records[].restartCountbodyinteger
data.totalbodyinteger
data.typebodystring
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y pods list

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page