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

Function newDuplicatedLabelError

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

Source from the content-addressed store, hash-verified

101}
102
103func newDuplicatedLabelError(series []cortexpb.LabelAdapter, labelName string) ValidationError {
104 return &genericValidationError{
105 message: "duplicate label name: %.200q metric %.200q",
106 cause: labelName,
107 series: series,
108 }
109}
110
111func newLabelsNotSortedError(series []cortexpb.LabelAdapter, labelName string) ValidationError {
112 return &genericValidationError{

Callers 2

ValidateLabelsFunction · 0.85

Calls

no outgoing calls

Tested by 1