1 unstable release
0.1.0 | Apr 16, 2024 |
---|
#59 in #observability
9KB
128 lines
Tools Kit for observable services.
How to use it
Configure tracing
- Simple scenario with environment based configuration and plain output, ideal for Rust tests:
let _result = observability::tracing::init();
- Open Telemetry Protocol configured tracing.
let _result = observability::otlp_tracing::try_init(env!("CARGO_PKG_NAME"));
You can use docker-compose up -d
to run Jaeger and see OTLP
in action.
lib.rs
:
Open Telemetry Protocol configured tracing.
Dependencies
~11–19MB
~246K SLoC