#open-telemetry #observability #tracing

observability-kit

Configuration and other common entities related to observability

1 unstable release

0.1.0 Apr 16, 2024

#59 in #observability

MIT/Apache

9KB
128 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::tracing::init();
  1. 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