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

Method maxSeriesPerUser

pkg/ingester/limiter.go:265–271  ·  view source on GitHub ↗
(userID string)

Source from the content-addressed store, hash-verified

263}
264
265func (l *Limiter) maxSeriesPerUser(userID string) int {
266 return l.maxByLocalAndGlobal(
267 userID,
268 l.limits.MaxLocalSeriesPerUser,
269 l.limits.MaxGlobalSeriesPerUser,
270 )
271}
272
273func (l *Limiter) maxNativeHistogramSeriesPerUser(userID string) int {
274 return l.maxByLocalAndGlobal(

Callers 3

Calls 1

maxByLocalAndGlobalMethod · 0.95

Tested by 1