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

Function newInvalidLabelError

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

Source from the content-addressed store, hash-verified

93}
94
95func newInvalidLabelError(series []cortexpb.LabelAdapter, labelName string) ValidationError {
96 return &genericValidationError{
97 message: "sample invalid label: %.200q metric %.200q",
98 cause: labelName,
99 series: series,
100 }
101}
102
103func newDuplicatedLabelError(series []cortexpb.LabelAdapter, labelName string) ValidationError {
104 return &genericValidationError{

Callers 3

ValidateLabelsFunction · 0.85
TestValidateLabels_UTF8Function · 0.85
TestValidateLabelsFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestValidateLabels_UTF8Function · 0.68
TestValidateLabelsFunction · 0.68