Hanzo
OpenapiO11y

Lists the values one pod attribute key has taken, for building pod filters.

Lists the values one pod attribute key has taken, for building pod filters.

GET /v1/o11y/pods/attribute_values

Addresshttps://api.hanzo.ai/v1/o11y/pods/attribute_values
MethodGET
Operationget_o11y_pods_attribute_values
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the values one pod attribute key has taken, for building pod filters.

Request

8 fields.

FieldInTypeRequiredDescription
dataSourcequerystringDataSource is the telemetry the values come from — metrics for the infra faces.
aggregateOperatorquerystringAggregateOperator is the aggregation the values will be used under, e.g.
aggregateAttributequerystringAggregateAttribute is the metric the values must appear on.
attributeKeyquerystringAttributeKey is the key whose values to list.
filterAttributeKeyDataTypequerystringFilterAttributeKeyDataType is the key's data type — string, int64, float64 or bool.
searchTextquerystringSearchText narrows the values to those containing it.
tagTypequerystringTagType narrows the search to one kind of key — tag or resource.
limitqueryintegerLimit caps how many values come back.

Response

StatusBodyMeaning
200o11y.O11yInfraAttributeValuesOutok

200 body — 6 fields.

FieldInTypeAlwaysDescription
databodyo11y.FilterAttributeValueResponse
data.boolAttributeValuesbodyboolean[]
data.numberAttributeValuesbodyobject[]
data.relatedValuesbodyo11y.FilterAttributeValueResponse
data.stringAttributeValuesbodystring[]
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y pods attribute_values

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page