Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSampleCount ¶
func GetSampleCount(name string, labels map[string]string, mfs []*promclient.MetricFamily) uint64
GetSampleCount returns the sample count of the given metric name and labels.
func SampleDelta ¶
func SampleDelta(name string, labels map[string]string, before, after []*promclient.MetricFamily) uint64
SampleDelta returns the delta of before and after metric sample count for the given name and labels.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.