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

Method MaxLocalSeriesPerMetric

pkg/util/validation/limits.go:739–741  ·  view source on GitHub ↗

MaxLocalSeriesPerMetric returns the maximum number of series allowed per metric in a single ingester.

(userID string)

Source from the content-addressed store, hash-verified

737
738// MaxLocalSeriesPerMetric returns the maximum number of series allowed per metric in a single ingester.
739func (o *Overrides) MaxLocalSeriesPerMetric(userID string) int {
740 return o.GetOverridesForUser(userID).MaxLocalSeriesPerMetric
741}
742
743// MaxGlobalSeriesPerUser returns the maximum number of series a user is allowed to store across the cluster.
744func (o *Overrides) MaxGlobalSeriesPerUser(userID string) int {

Callers 2

maxSeriesPerMetricMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected