Skip to main content

Module telemetry

Module telemetry 

Source
Expand description

Native OpenTelemetry request-lifecycle spans.

Coarse runtime timing, causal parentage, request identity, and terminal outcomes. Engine-internal metrics and invariants are intentionally not instrumented here.

Structs§

LifecycleRequest
Request root span plus the shared terminal recorder.
LifecycleTerminal
A terminal recorder that is safe to clone across completion and cancellation paths.
LifecycleTrace
Request-scoped lifecycle capture state.

Enums§

LifecycleOperationRole
Operation owner used to distinguish the frontend and worker stages.
LifecycleStage
A duration-bearing boundary in the request-lifecycle convention.
TerminalOutcome
One-shot outcome recorded on the request root.

Constants§

LIFECYCLE_ROOT_METADATA_KEY
Internal wire metadata marking requests with a frontend lifecycle root. Absent on legacy or uninstrumented frontends; those requests keep ordinary tracing.
LIFECYCLE_TARGET
Static tracing target used exclusively by lifecycle spans.
LIFECYCLE_TRACE_CONTEXT_KEY
Context-registry key used to preserve lifecycle identity through frontend stages.