Skip to main content

datasynth_server/observability/
mod.rs

1//! Observability infrastructure for the DataSynth server.
2//!
3//! Provides metrics collection and optional OpenTelemetry integration.
4//!
5//! ## Feature flags
6//!
7//! - Default: Manual Prometheus text format metrics at `/metrics`
8//! - `otel`: OpenTelemetry OTLP trace export + Prometheus metric bridge
9
10pub mod metrics;
11
12#[cfg(feature = "otel")]
13pub mod otel;