Skip to main content

setup_observability

Function setup_observability 

Source
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.