pub fn setup_observability(cfg: &PipelineConfig) -> CliResult<PrometheusHandle>Available on crate feature
cli-tui only.Expand description
Install the TUI session’s observability: the TUI owns the metrics
recorder (keeping the /metrics endpoint when one is configured) so it
can render the recorder’s output; the rest of the observability config
(OTLP traces — the tracing level was already routed into the TUI log ring
by run_main) installs as usual with the prometheus block taken out.