Documentation
¶
Overview ¶
Package telemetrytest is a recording metrics sink for cortex's own tests.
The go-utils collector keys series by name alone, so every labelled child of one family would collapse into the first. A Forge app keys them by name and labels, and this sink does the same, which is what lets a root-module test assert label values without importing forge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sink ¶
type Sink struct {
*gometrics.MockMetrics
// contains filtered or unexported fields
}
Sink records every series the code under test declares.
func (*Sink) LabelKeys ¶
LabelKeys returns the label keys each series of name carries, one sorted key list per series.
Click to show internal directories.
Click to hide internal directories.