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

Method maxNativeHistogramSeriesPerUser

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

Source from the content-addressed store, hash-verified

271}
272
273func (l *Limiter) maxNativeHistogramSeriesPerUser(userID string) int {
274 return l.maxByLocalAndGlobal(
275 userID,
276 l.limits.MaxLocalNativeHistogramSeriesPerUser,
277 l.limits.MaxGlobalNativeHistogramSeriesPerUser,
278 )
279}
280
281func (l *Limiter) maxMetadataPerUser(userID string) int {
282 return l.maxByLocalAndGlobal(

Calls 1

maxByLocalAndGlobalMethod · 0.95