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.
18 lines
529 B
Rust
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;
|