pub fn metrics() -> &'static MetricsCoreExpand description
Get the global metrics instance
Panics if not initialized - call init() first.
Panic conditions:
- If
init()has not been called yet, this function will panic with a clear message. Prefer passing&MetricsCoreexplicitly in library code to avoid relying on globals.