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