Skip to main content

Module events

Module events 

Source
Expand description

Intra-span event recording.

Events are point-in-time occurrences inside a span (a retry, a budget check, a guardrail trip, an REPL step). Build one with event, attach attributes, and .record() it. Like spans, events auto-link to the ambient span context set by SpanBuilder::run / the macros, so an event recorded inside an instrumented body is parented to that span without manual IDs.

Structs§

EventBuilder

Functions§

event
Start building an intra-span event of kind named name.