pub fn setup_observability(cfg: &PipelineConfig) -> CliResult<PrometheusHandle>Available on crate features
cli-progress or cli-tui only.Expand description
Install a live-view session’s observability: the CLI 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) installs as usual with the prometheus block taken out.