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

Method MaxGlobalSeriesPerMetric

pkg/util/validation/limits.go:764–766  ·  view source on GitHub ↗

MaxGlobalSeriesPerMetric returns the maximum number of series allowed per metric across the cluster.

(userID string)

Source from the content-addressed store, hash-verified

762
763// MaxGlobalSeriesPerMetric returns the maximum number of series allowed per metric across the cluster.
764func (o *Overrides) MaxGlobalSeriesPerMetric(userID string) int {
765 return o.GetOverridesForUser(userID).MaxGlobalSeriesPerMetric
766}
767
768// LimitsPerLabelSet returns the user limits per labelset across the cluster.
769func (o *Overrides) LimitsPerLabelSet(userID string) []LimitsPerLabelSet {

Callers 2

maxSeriesPerMetricMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected