Skip to main content

PrometheusTypedCallback

Type Alias PrometheusTypedCallback 

Source
pub type PrometheusTypedCallback = Arc<dyn Fn() -> Result<Vec<BuiltFamily>> + Send + Sync + 'static>;
Expand description

Returns already-built families, so engine metrics reach the structured path without being rendered to text and parsed back.

Aliased Typeยง

pub struct PrometheusTypedCallback { /* private fields */ }