It's common for applications to maintain metrics for custom memory_resources. We should define a common interface that uses rtti allowing generic code to see if a given resource supports diagnostics and to obtain them.
Difficulties here include how to go from non-rtti pmr::memory_resource to the diagnostics interface type.