Hanzo
OpenapiO11y

Lists the metric attribute keys hosts report, for building host filters — each…

Lists the metric attribute keys hosts report, for building host filters — each with its data type and whether it is a materialized column.

GET /v1/o11y/hosts/attribute_keys

Addresshttps://api.hanzo.ai/v1/o11y/hosts/attribute_keys
MethodGET
Operationget_o11y_hosts_attribute_keys
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the metric attribute keys hosts report, for building host filters — each with its data type and whether it is a materialized column.

Request

6 fields.

FieldInTypeRequiredDescription
dataSourcequerystringDataSource is the telemetry the keys come from — metrics for the infra faces.
aggregateOperatorquerystringAggregateOperator is the aggregation the keys will be used under, e.g.
aggregateAttributequerystringAggregateAttribute is the metric the keys must appear on.
searchTextquerystringSearchText narrows the keys to those containing it.
tagTypequerystringTagType narrows the keys to one kind — tag or resource.
limitqueryintegerLimit caps how many keys come back.

Response

StatusBodyMeaning
200o11y.O11yInfraAttributeKeysOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
databodyo11y.FilterAttributeKeyResponse
data.attributeKeysbodyo11y.AttributeKey[]
data.attributeKeys[].dataTypebodystring
data.attributeKeys[].isColumnbodyboolean
data.attributeKeys[].isJSONbodyboolean
data.attributeKeys[].keybodystring
data.attributeKeys[].typebodystring
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y hosts attribute_keys

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page