Expand description
Shared observability setup (Prometheus + tracing) used by run and
schedule. install_observability is idempotent, so calling this once per
process is safe even though main.rs already installed a basic subscriber.
Functions§
- install
- Install Prometheus + tracing from the config’s
observability:block. Logs (does not fail) when a recorder/subscriber is already installed. - resolve_
tracing_ level - Resolve the effective tracing level using the documented precedence:
FAUCET_LOG>RUST_LOG> YAMLobservability.tracing.level>None. (cli_flagis reserved for a future call-site that forwards--log-level.)