Crate common_telemetry

Source

Re-exportsยง

pub use logging::init_default_ut_logging;
pub use logging::init_global_logging;
pub use logging::RELOAD_HANDLE;
pub use metric::dump_metrics;
pub use common_error;
pub use tracing;
pub use tracing_subscriber;

Modulesยง

logging
logging stuffs, inspired by databend
macros ๐Ÿ”’
metric
panic_hook ๐Ÿ”’
tracing_context
tracing stuffs, inspired by RisingWave
tracing_sampler ๐Ÿ”’

Macrosยง

debug
Logs a message at the debug level.
error
Logs a message at the error level.
info
Logs a message at the info level.
log
The standard logging macro.
slow
trace
Logs a message at the trace level.
warn
Logs a message at the warn level.

Functionsยง

set_panic_hook