Expand description

Instrumentation implementation for substrate.

This crate is unstable and the API and usage may change.

Usage

See sp-tracing for examples on how to use tracing.

Currently we provide Log (default), Telemetry variants for Receiver

Modules

Substrate logging library.

Structs

TraceHandler for sending span data to the logger

Responsible for assigning ids to new spans, which are not re-used.

Represents a single instance of a tracing span

TraceHandler for sending span data to telemetry, Please see telemetry documentation for details on how to specify endpoints and set the required telemetry level to activate tracing messages

Represents a tracing event, complete with values

Holds associated values for a tracing span

Enums

Used to configure how to receive the metrics

Traits

A handler for tracing SpanDatum