#observability #open-telemetry #tracing

observability-kit

Configuration and other common entities related to observability

2 unstable releases

Uses new Rust 2024

new 0.3.0 Sep 24, 2025
0.1.0 Apr 16, 2024

#51 in #observability

Download history

66 downloads per month

MIT/Apache

18KB
84 lines

Tools Kit for observable services.

How to use it

Configure tracing

  1. Simple scenario with environment based configuration and plain output, ideal for Rust tests:
    let _result = observability_kit::tracing::init();
  1. Open Telemetry Protocol configured tracing.
    let _result = observability_kit::otlp_tracing::try_init(env!("CARGO_PKG_NAME"));

You can use podman compose up -d to run Jaeger, RUST_LOG=trace cargo test, wait a moment and see OTLP in action at http://localhost:16686/search

Dependencies

~15–27MB
~380K SLoC