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

Function newHistogramBucketLimitExceededError

pkg/util/validation/errors.go:236–241  ·  view source on GitHub ↗
(series []cortexpb.LabelAdapter, limit int)

Source from the content-addressed store, hash-verified

234}
235
236func newHistogramBucketLimitExceededError(series []cortexpb.LabelAdapter, limit int) ValidationError {
237 return &histogramBucketLimitExceededError{
238 series: series,
239 limit: limit,
240 }
241}
242
243func (e *histogramBucketLimitExceededError) Error() string {
244 return fmt.Sprintf("native histogram bucket count exceeded for metric (limit: %d) metric: %.200q", e.limit, formatLabelSet(e.series))

Callers 2

ValidateNativeHistogramFunction · 0.85

Calls

no outgoing calls

Tested by 1