opentelemetry_traceable/lib.rs
1//! Dynamic, per-function tracing on top of `opentelemetry-rust`.
2//!
3//! Annotate any `fn`/`async fn` with `#[traceable]`, then create an
4//! [`instrumentation::Instrumentation`] and toggle tracing for those functions
5//! at runtime.
6
7pub mod instrumentation;
8pub mod registry;
9pub mod selector;
10
11pub use opentelemetry_traceable_macros::traceable;
12
13#[doc(hidden)]
14pub mod __private {
15 pub use linkme;
16}