Skip to content

Observability overview

These crates build on each other:

  1. observability_core — ports, adapters, ObservabilityManager, W3C trace context, batching.
  2. observability — facade (Obs, ObservabilityConfig) and optional integration with the otel and prometheus workspace crates.
  3. structured_logging — optional convenience and performance layers on top of observability_core.
  4. otel — OpenTelemetry-specific types (Otel, OtelManager, OTLP client, sampling).
  5. prometheus — Prometheus-specific types (Prometheus, PrometheusManager, federation/cardinality when enabled).

Feature flags and public exports are defined in each crate’s Cargo.toml and src/lib.rs. Use those as the source of truth; this site summarizes them and does not replace cargo doc.

See also: Observability guide for setup and configuration patterns.

Full API reference: coming soon via published rustdoc (see Getting started for local cargo doc).