Rustango docs

Logging, tracing, metrics & health

See what your app is doing in production.

logging::setup() wires tracing in one call. The tracing layer puts a span per request with a W3C traceparent header — hook tracing_opentelemetry for distributed tracing. metrics exposes Prometheus-format counters/histograms at /metrics (pure Rust). health serves /health + /ready. access_log logs one line per request.

rustango::logging::setup();   // tracing + sane defaults
// mount: .merge(metrics::router()).merge(health::router())