Skip to main content

scrape_handle

Function scrape_handle 

Source
pub fn scrape_handle() -> Option<&'static PrometheusHandle>
Expand description

Return a scrape handle only when UAR owns the recorder receiving writes. HTTP exporters must use this API and report status when it returns None.