Crate sc_tracing[][src]

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 only provide Log (default).

Modules

logging

Substrate logging library.

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

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