1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
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; mod channel; mod span; mod span_context; mod span_wrap; mod stack; pub mod tracer_console; pub mod tracer_network; pub use crate::span::{null_tracer, test_span, HSpan as Span}; pub use crate::span_context::{EncodedSpanContext, HSpanContext as SpanContext}; pub use crate::span_wrap::SpanWrap; pub use channel::{SpanReceiver, SpanSender}; 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};