Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func (*Metrics) MatchMetric ¶
func (*Metrics) MatchMetricAndSum ¶
MatchMetricAndSum returns true if the set of metrics has a specific sum
func (*Metrics) SumWithLabels ¶ added in v1.18.4
MatchMetric returns all metrics that contain all the substrings in the key This is useful because of the way we serialize labels in the metrics name SumWithLabels sums every series of the exactly-named metric whose labels include each of the given name:value pairs. Unlike the substring matchers below, histogram expansions of other metrics sharing a name prefix (_bucket/_sum/_count) are never matched.
type MetricsWithLabels ¶ added in v1.16.0
func NewWithLabels ¶ added in v1.16.0
Click to show internal directories.
Click to hide internal directories.