anwesen/src/lib.rs
Andreas Brenner 23ce90e103 ANW-37 Telemetry: request metrics + selective traces over OTLP
Optional OTLP export of request-level metrics (request and response-byte
counters keyed by route/status/conditional-GET, a duration histogram out
to 600s) plus server spans for slow or 5xx requests, nested under the
incoming W3C trace context. Off unless an OTLP endpoint or uptrace DSN is
configured; a config-less server is byte-for-byte unchanged.
2026-07-24 21:08:07 +03:00

18 lines
529 B
Rust

//! Anwesen: read-only HTTP daemon over a markdown vault.
//!
//! The binary in `main.rs` wires this library to a CLI; submodules implement
//! the vault scanner, the in-memory note store, the filesystem watcher, the
//! supervisor tree, and the HTTP surface. See
//! [[ADR-009 Reverse ADR-002 In-Memory Evaluation No Tantivy]] for why v1
//! ships without a search index.
pub mod app;
pub mod doctor;
pub mod health;
pub mod http;
pub mod merge;
pub mod query;
pub mod store;
pub mod telemetry;
pub mod vault;
pub mod watcher;