MCPcopy Create free account
hub / github.com/cortexproject/cortex / LimitsPerLabelSet

Method LimitsPerLabelSet

pkg/util/validation/limits.go:769–771  ·  view source on GitHub ↗

LimitsPerLabelSet returns the user limits per labelset across the cluster.

(userID string)

Source from the content-addressed store, hash-verified

767
768// LimitsPerLabelSet returns the user limits per labelset across the cluster.
769func (o *Overrides) LimitsPerLabelSet(userID string) []LimitsPerLabelSet {
770 return o.GetOverridesForUser(userID).LimitsPerLabelSet
771}
772
773// MaxChunksPerQueryFromStore returns the maximum number of chunks allowed per query when fetching
774// chunks from the long-term storage.

Callers 6

updateLabelSetMetricsMethod · 0.80
prepareSeriesKeysMethod · 0.80
UpdateMetricMethod · 0.80
updateLabelSetMetricsMethod · 0.80
limitsPerLabelSetsMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected