Hanzo
OpenapiO11y

Returns one service's entry-point operations with the same latency and error…

Returns one service's entry-point operations with the same latency and error profile topOperations reports.

POST /v1/o11y/service/entry_point_operations

Addresshttps://api.hanzo.ai/v1/o11y/service/entry_point_operations
MethodPOST
Operationpost_o11y_service_entry_point_operations
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one service's entry-point operations with the same latency and error profile topOperations reports.

Request

11 fields, body application/json (required).

FieldInTypeRequiredDescription
endbodystringEnd is the window's end, epoch nanoseconds as a string.
limitbodyintegerLimit caps how many operations come back.
servicebodystringService is the service whose operations are read.
startbodystringStart is the window's start, epoch nanoseconds as a string.
tagsbodyo11y.O11yServiceTag[]Tags narrow the spans counted, each a span-attribute predicate.
tags[].BoolValuesbodyboolean[]BoolValues are the boolean operands, when the attribute is a bool.
tags[].KeybodystringKey is the span attribute to test.
tags[].NumberValuesbodynumber[]NumberValues are the numeric operands, when the attribute is a number.
tags[].OperatorbodystringOperator is how to test it, e.g.
tags[].StringValuesbodystring[]StringValues are the string operands, when the attribute is a string.
tags[].TagTypebodystringTagType says which plane the attribute lives on, e.g.

Response

StatusBodyMeaning
200o11y.O11yOperationsOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yOperation[]Data holds one entry per operation.
data[].errorCountbodyintegerErrorCount is how many of those runs errored.
data[].namebodystringName is the operation (span name).
data[].numCallsbodyintegerNumCalls is how many times it ran in the window.
data[].p50bodynumberP50 is its median latency, nanoseconds.
data[].p95bodynumberP95 is its p95 latency, nanoseconds.
data[].p99bodynumberP99 is its p99 latency, nanoseconds.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y service entry_point_operations

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page