observability-kit 0.3.0

Configuration and other common entities related to observability
Documentation

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