Hanzo
OpenapiO11y

Returns one exception instance and the span it happened on, by its error id…

Returns one exception instance and the span it happened on, by its error id within a group at a timestamp.

GET /v1/o11y/errorFromErrorID

Addresshttps://api.hanzo.ai/v1/o11y/errorFromErrorID
MethodGET
Operationget_o11y_errorfromerrorid
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one exception instance and the span it happened on, by its error id within a group at a timestamp.

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

Request

3 fields.

FieldInTypeRequiredDescription
timestampquerystringyesTimestamp is the instance's time as a nanosecond epoch spelled as a string.
groupIDquerystringyesGroupID is the exception group the instance belongs to.
errorIDquerystringErrorID is the exception instance id.

Response

StatusBodyMeaning
200o11y.O11yErrorWithSpanok

200 body — 10 fields.

FieldInTypeAlwaysDescription
errorIdbodystringErrorID is the exception instance id.
exceptionEscapedbodybooleanExceptionEscaped marks an exception that escaped its span uncaught.
exceptionMessagebodystringExceptionMsg is the exception's message.
exceptionStacktracebodystringExceptionStacktrace is the captured stack trace.
exceptionTypebodystringExceptionType is the exception's type.
groupIDbodystringGroupID is the exception group it belongs to.
serviceNamebodystringServiceName is the service that reported it.
spanIDbodystringSpanID is the span it happened on.
timestampbodystring (date-time)Timestamp is when it happened.
traceIDbodystringTraceID is the trace the span belonged to.

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y errorFromErrorID \
  --timestamp <timestamp> \
  --group-id <group-id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page