pub async fn register_metrics_into(registry: &MetricsRegistry)
Expand description

Registers metrics for the global allocator into the provided registry.

What metrics are registered varies by platform. Not all platforms use allocators that support metrics.