Hanzo
OpenapiO11y

Sets one service's apdex threshold and the status codes excluded from its score.

Sets one service's apdex threshold and the status codes excluded from its score.

POST /v1/o11y/settings/apdex

Addresshttps://api.hanzo.ai/v1/o11y/settings/apdex
MethodPOST
Operationpost_o11y_settings_apdex
AuthAuthorization: Bearer $HANZO_API_KEY

Sets one service's apdex threshold and the status codes excluded from its score.

Admin only, as the mux tree has always gated it (AdminAccess); the runtime's own gate enforces it.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
excludeStatusCodesbodystringExcludeStatusCodes are status codes excluded from the score, comma separated.
serviceNamebodystringServiceName is the service the threshold applies to.
thresholdbodynumberThreshold is the satisfied-response time in seconds.

Response

StatusBodyMeaning
200o11y.O11yApdexSetOutok

200 body — 3 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yMessage
data.databodystringData is the acknowledgment message.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y settings apdex create

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page