Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactoring prometheus module to aggregate metrics based on metric family #4075
The current prometheus collector implementation separates each metric into a separate event. This is not how prometheus is meant to be understood. Prometheus has the concept of MetricFamily.
Example of a metric family would be:
This metric family can be broken down as:
It has two different label combinations:
Hence two events ought to be created. one of which would look similar to:
This enables histograms and summaries to be looked adjacent to each other.
1 similar comment
ruflin left a comment
This is a really nice addition. It will heavily improve the