Instrumentation implementation for substrate.
This crate is unstable and the API and usage may change.
sp-tracing for examples on how to use tracing.
Currently we provide
Telemetry variants for
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
Used to configure how to receive the metrics
A handler for tracing