Hanzo
OpenapiO11y

Returns the producer side of a consumer-lag view: the producers writing to the…

Returns the producer side of a consumer-lag view: the producers writing to the topic/partition named in variables, with their throughput and latency over…

POST /v1/o11y/messaging-queues/kafka/consumer-lag/producer-details

Addresshttps://api.hanzo.ai/v1/o11y/messaging-queues/kafka/consumer-lag/producer-details
MethodPOST
Operationpost_o11y_messaging-queues_kafka_consumer-lag_producer-details
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the producer side of a consumer-lag view: the producers writing to the topic/partition named in variables, with their throughput and latency over the window.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
endbodyintegerEnd is the window's end, epoch nanoseconds.
eval_timebodyintegerEvalTime bounds the span-evaluation scan, nanoseconds; only the span/evaluation view reads it.
startbodyintegerStart is the window's start, epoch nanoseconds.
variablesbodyobjectVariables name what the view drills into — topic, partition, service, consumer_group — keyed by the name the view expects.
variables.*bodystring

Response

StatusBodyMeaning
200o11y.O11yQueryRangeOutok

200 body — 2 fields.

FieldInTypeAlwaysDescription
databodyanyData is the query result — the result type, the result set, execution stats and any warning — as the engine rendered it.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y messaging-queues kafka consumer-lag producer-details

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page