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

Function newLabelValueTooLongError

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

Source from the content-addressed store, hash-verified

64}
65
66func newLabelValueTooLongError(series []cortexpb.LabelAdapter, labelName, labelValue string, limit int) ValidationError {
67 return &labelValueTooLongError{
68 labelName: labelName,
69 labelValue: labelValue,
70 series: series,
71 limit: limit,
72 }
73}
74
75// labelsSizeBytesExceededError is a customized ValidationError, in that the cause and the series are
76// formatted in different order in Error.

Callers 2

ValidateLabelsFunction · 0.85
TestValidateLabelsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidateLabelsFunction · 0.68