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

Function newTooManyLabelsError

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

Source from the content-addressed store, hash-verified

122}
123
124func newTooManyLabelsError(series []cortexpb.LabelAdapter, limit int) ValidationError {
125 return &tooManyLabelsError{
126 series: series,
127 limit: limit,
128 }
129}
130
131func (e *tooManyLabelsError) Error() string {
132 return fmt.Sprintf(

Callers 2

ValidateLabelsFunction · 0.85
TestValidateLabelsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidateLabelsFunction · 0.68