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

Method MaxLocalSeriesPerUser

pkg/util/validation/limits.go:729–731  ·  view source on GitHub ↗

MaxLocalSeriesPerUser returns the maximum number of series a user is allowed to store in a single ingester.

(userID string)

Source from the content-addressed store, hash-verified

727
728// MaxLocalSeriesPerUser returns the maximum number of series a user is allowed to store in a single ingester.
729func (o *Overrides) MaxLocalSeriesPerUser(userID string) int {
730 return o.GetOverridesForUser(userID).MaxLocalSeriesPerUser
731}
732
733// MaxLocalNativeHistogramSeriesPerUser returns the maximum number of native histogram series a user is allowed to store in a single ingester.
734func (o *Overrides) MaxLocalNativeHistogramSeriesPerUser(userID string) int {

Callers 1

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected