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

Function newNativeHistogramInvalidError

pkg/util/validation/errors.go:290–295  ·  view source on GitHub ↗
(series []cortexpb.LabelAdapter, nhValidationErr error)

Source from the content-addressed store, hash-verified

288}
289
290func newNativeHistogramInvalidError(series []cortexpb.LabelAdapter, nhValidationErr error) ValidationError {
291 return &nativeHistogramInvalidError{
292 series: series,
293 nhValidationErr: nhValidationErr,
294 }
295}
296
297func (e *nativeHistogramInvalidError) Error() string {
298 return fmt.Sprintf("invalid native histogram, validation err: %v, metric: %.200q", e.nhValidationErr, formatLabelSet(e.series))

Callers 2

ValidateNativeHistogramFunction · 0.85

Calls

no outgoing calls

Tested by 1