Function get_collector

pub fn get_collector() -> &'static Collector
Expand description

Returns a reference to the collector.

If an exporter has not been set, a no-op implementation is returned.