[][src]Crate sc_tracing

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

Structs

LogTraceHandler

TraceHandler for sending span data to the logger

ProfilingLayer

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

SpanDatum

Represents a single instance of a tracing span

TelemetryTraceHandler

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

TraceEvent

Represents a tracing event, complete with values

Values

Holds associated values for a tracing span

Enums

TracingReceiver

Used to configure how to receive the metrics

Traits

TraceHandler

A handler for tracing SpanDatum