Skip to main content

Module observability

Module observability 

Source
Expand description

What the SDK tells an application about the calls it makes: which operation is running, which HTTP requests it takes, and what each one answered.

Structs§

ChainHooks
Several Hooks as one. Gates, starts and retries run in order; ends run in reverse, so a hook that wraps the ones after it closes last, the way nested spans do.
NoopHooks
Hooks that do nothing. What a client runs with until it is given others, and what a chain of nothing comes to.
OperationInfo
The semantic identity of a call: the service and operation as the model names them, the kind of record they touch, and whether they change anything.
RequestInfo
One HTTP request the SDK is about to make, or has just made. attempt counts from 1 across the whole operation, the resend after a credential refresh included.
RequestResult
How one HTTP request turned out.

Traits§

Hooks
The callbacks the SDK makes as it works. Every one does nothing by default, so an implementation says only what it cares about.

Type Aliases§

OperationState
Whatever Hooks::on_operation_start hands the matching Hooks::on_operation_end.