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

Function newLabelsNotSortedError

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

Source from the content-addressed store, hash-verified

109}
110
111func newLabelsNotSortedError(series []cortexpb.LabelAdapter, labelName string) ValidationError {
112 return &genericValidationError{
113 message: "labels not sorted: %.200q metric %.200q",
114 cause: labelName,
115 series: series,
116 }
117}
118
119type tooManyLabelsError struct {
120 series []cortexpb.LabelAdapter

Callers 2

ValidateLabelsFunction · 0.85
TestValidateLabelOrderFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidateLabelOrderFunction · 0.68