Skip to content

WIP: Custom Metrics

seph requested to merge seph/prometheus-client-mmap:custom into master

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

Merge request reports