WIP: Custom Metrics
Add support for prometheus custom metrics. This is meant to facilitate using mmap for things that need to be aggregated across threads, and lazy evaluated blocks for the custom ones.
These are stored in the registry, and the marshal
functions have been updated to know how to read from the different places.
It's something of a WIP. I'd love real feedback, I'm sorta slashing through some unclear metaprogramming.
Edited by seph