Skip to main content

default_filter

Function default_filter 

Source
pub fn default_filter() -> &'static Arc<Filter>
Expand description

Returns the process-wide Filter parsed once from METRICS_FILTER.

Shared by default_registry and the global register_*! macros (via default_registry) so that metrics on the default registry honour the same filtering as those on explicit registries.