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

Function newNoMetricNameError

pkg/util/validation/errors.go:139–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137type noMetricNameError struct{}
138
139func newNoMetricNameError() ValidationError {
140 return &noMetricNameError{}
141}
142
143func (e *noMetricNameError) Error() string {
144 return "sample missing metric name"

Callers 2

ValidateMetricNameFunction · 0.85
TestValidateMetricNameFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidateMetricNameFunction · 0.68