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

Function newLabelNameTooLongError

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

Source from the content-addressed store, hash-verified

42}
43
44func newLabelNameTooLongError(series []cortexpb.LabelAdapter, labelName string, limit int) ValidationError {
45 return &labelNameTooLongError{
46 labelName: labelName,
47 series: series,
48 limit: limit,
49 }
50}
51
52// labelValueTooLongError is a customized ValidationError, in that the cause and the series are
53// formatted in different order in Error.

Callers 2

ValidateLabelsFunction · 0.85
TestValidateLabelsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidateLabelsFunction · 0.68