Skip to main content

Module trace

Module trace 

Source
Expand description

Two-tier execution trace: public (CloudEvents) + private (hashed).

Governed by spec 012-execution-trace-tiered. The additive durable persistence layer in durable is governed by spec 079-durable-trace-journal.

Re-exports§

pub use durable::DurableTraceConfig;
pub use durable::DurableTraceJournal;
pub use durable::TraceDurabilitySink;
pub use durable::TraceJournalError;
pub use durable::TracePrunedEvidence;
pub use durable::TraceRecoveryReport;
pub use private::PrivateTraceEntry;
pub use public::PublicTraceEntry;
pub use public::TraceOutcome;
pub use store::TraceStore;

Modules§

durable
Durable, append-only, per-workspace persistence for execution traces.
private
Private (access-controlled) trace entry.
public
Public (CloudEvents-formatted) trace entry.
store
In-memory store for public and private trace entries.

Functions§

new_trace_id_and_time
Builds a new trace id and RFC 3339 time string for use when recording a trace.