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

Function labelSizeBytesExceededError

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

Source from the content-addressed store, hash-verified

85}
86
87func labelSizeBytesExceededError(series []cortexpb.LabelAdapter, labelsSizeBytes int, limit int) ValidationError {
88 return &labelsSizeBytesExceededError{
89 labelsSizeBytes: labelsSizeBytes,
90 series: series,
91 limit: limit,
92 }
93}
94
95func newInvalidLabelError(series []cortexpb.LabelAdapter, labelName string) ValidationError {
96 return &genericValidationError{

Callers 2

ValidateLabelsFunction · 0.85
TestValidateLabelsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidateLabelsFunction · 0.68