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

Method MaxGlobalSeriesPerUser

pkg/util/validation/limits.go:744–746  ·  view source on GitHub ↗

MaxGlobalSeriesPerUser returns the maximum number of series a user is allowed to store across the cluster.

(userID string)

Source from the content-addressed store, hash-verified

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 {
745 return o.GetOverridesForUser(userID).MaxGlobalSeriesPerUser
746}
747
748// MaxGlobalNativeHistogramSeriesPerUser returns the maximum number of native histogram series a user is allowed to store across the cluster.
749func (o *Overrides) MaxGlobalNativeHistogramSeriesPerUser(userID string) int {

Callers 1

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected