Documentation ¶
Overview ¶
Package minimumhistory implements target selection for multi-prometheus deployments by selecting an instance at random with a minimum amount of history available, and with sticky-session support
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
Selector implements selction of a single prometheus endpoint out of a provided set of endpoints which has the highest value of total ingested samples
func (*Selector) ComparisonMetricName ¶
ComparisonMetricName gets the name of the comparison metric/calculation used to make a selection
func (*Selector) Description ¶
Description provides a human-readable description for this strategy
Click to show internal directories.
Click to hide internal directories.