[−][src]Trait tracing_distributed::Telemetry
This trait represents the ability to publish events and spans to some arbitrary backend.
Associated Types
type Visitor: Default + Visit
Type used to record tracing fields.
type TraceId: Send + Sync + Clone
Globally unique identifier, uniquely identifies a trace.
type SpanId: Send + Sync + Clone
Identifies spans within a trace.
Required methods
fn report_span(&self, span: Span<Self::Visitor, Self::SpanId, Self::TraceId>)
Report a Span
to this Telemetry instance's backend.
fn report_event(&self, event: Event<Self::Visitor, Self::SpanId, Self::TraceId>)
Report an Event
to this Telemetry instance's backend.
Implementors
impl<SpanId, TraceId> Telemetry for BlackholeTelemetry<SpanId, TraceId> where
SpanId: 'static + Clone + Send + Sync,
TraceId: 'static + Clone + Send + Sync,
[src]
SpanId: 'static + Clone + Send + Sync,
TraceId: 'static + Clone + Send + Sync,