Observability overview
These crates build on each other:
observability_core— ports, adapters,ObservabilityManager, W3C trace context, batching.observability— facade (Obs,ObservabilityConfig) and optional integration with theotelandprometheusworkspace crates.structured_logging— optional convenience and performance layers on top ofobservability_core.otel— OpenTelemetry-specific types (Otel,OtelManager, OTLP client, sampling).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.
observability_core Ports, adapters, ObservabilityManager, W3C trace context, batching.
observability Facade — Obs, ObservabilityConfig, optional OTEL and Prometheus integration.
structured_logging Enhanced structured logging with performance optimizations and convenience APIs.
otel OpenTelemetry integration — OTLP helpers, sampling, resource attributes.
prometheus Prometheus metrics — registry plugin, federation, push gateway, cardinality reduction.
See also: Observability guide for setup and configuration patterns.
Full API reference: coming soon via published rustdoc (see Getting started for local cargo doc).