Hanzo
OpenapiO11y

Lists the attributes usable as an aggregate target for the given telemetry and…

Lists the attributes usable as an aggregate target for the given telemetry and operator — what a filter builder offers after the aggregation is chosen.

GET /v1/o11y/autocomplete/aggregate_attributes

Addresshttps://api.hanzo.ai/v1/o11y/autocomplete/aggregate_attributes
MethodGET
Operationget_o11y_autocomplete_aggregate_attributes
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the attributes usable as an aggregate target for the given telemetry and operator — what a filter builder offers after the aggregation is chosen.

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

Request

4 fields.

FieldInTypeRequiredDescription
dataSourcequerystringDataSource is the telemetry the attributes come from — traces, logs, metrics or meter.
aggregateOperatorquerystringAggregateOperator is the aggregation the attribute will be used under, e.g.
searchTextquerystringSearchText narrows the attributes to those containing it.
limitqueryintegerLimit caps how many attributes come back.

Response

StatusBodyMeaning
200o11y.O11yAggregateAttributesOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
databodyo11y.AggregateAttributeResponse
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 aggregate_attributes

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page