Crate tarpc_trace

Source
Expand description

Provides building blocks for tracing distributed programs.

A trace is logically a tree of causally-related events called spans. Traces are tracked via a context that identifies the current trace, span, and parent of the current span. In distributed systems, a context can be sent from client to server to connect events occurring on either side.

This crate’s design is based on opencensus tracing.

Structs§

  • A context for tracing the execution of processes, distributed or otherwise.
  • A 64-bit identifier of a span within a trace. The identifier is unique within the span’s trace.
  • A 128-bit UUID identifying a trace. All spans caused by the same originating span share the same trace ID.