1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
extern crate backtrace;
extern crate rustracing;
extern crate rustracing_jaeger;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate shrinkwraprs;
#[macro_use]
extern crate log;

pub mod channel;
mod span;
mod span_context;
mod span_wrap;
mod stack;
pub mod tracer_console;
pub mod tracer_network;

pub use span::{null_tracer, test_span, HSpan as Span};
pub use span_context::{EncodedSpanContext, HSpanContext as SpanContext};
pub use span_wrap::SpanWrap;
pub use rustracing::{sampler::*, tag::Tag};
pub use rustracing_jaeger::{reporter::JaegerCompactReporter as Reporter, Tracer};
pub use stack::{push_span, push_span_with, with_top, is_empty};