Hanzo
OpenapiO11y

Lists the attribute keys available for filtering the given telemetry, each with…

Lists the attribute keys available for filtering the given telemetry, each with its data type and whether it is a materialized column.

GET /v1/o11y/autocomplete/attribute_keys

Addresshttps://api.hanzo.ai/v1/o11y/autocomplete/attribute_keys
MethodGET
Operationget_o11y_autocomplete_attribute_keys
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the attribute keys available for filtering the given telemetry, each with its data type and whether it is a materialized column.

Callers need the viewer role; the runtime's own gate enforces it.

Request

6 fields.

FieldInTypeRequiredDescription
dataSourcequerystringDataSource is the telemetry the keys come from — traces, logs, metrics or meter.
aggregateOperatorquerystringAggregateOperator is the aggregation the keys will be used under.
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.O11yAttributeKeysOutok

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 autocomplete attribute_keys

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page