observability-kit

Crates.ioobservability-kit
lib.rsobservability-kit
version0.1.0
sourcesrc
created_at2024-04-16 12:34:50.010013
updated_at2024-04-16 12:34:50.010013
descriptionConfiguration and other common entities related to observability
homepagehttps://gitlab.com/oss47/observability-kit
repositoryhttps://gitlab.com/oss47/observability-kit
max_upload_size
id1210265
size21,363
Nikita Bishonen (humb1t)

documentation

README

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.

Commit count: 3

cargo fmt