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

Method NativeHistogramIngestionRate

pkg/util/validation/limits.go:638–640  ·  view source on GitHub ↗

NativeHistogramIngestionRate returns the limit on ingester rate (samples per second).

(userID string)

Source from the content-addressed store, hash-verified

636
637// NativeHistogramIngestionRate returns the limit on ingester rate (samples per second).
638func (o *Overrides) NativeHistogramIngestionRate(userID string) float64 {
639 return o.GetOverridesForUser(userID).NativeHistogramIngestionRate
640}
641
642// IngestionRateStrategy returns whether the ingestion rate limit should be individually applied
643// to each distributor instance (local) or evenly shared across the cluster (global).

Callers 2

LimitMethod · 0.80
LimitMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected