Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
137
type
noMetricNameError
struct
{}
138
139
func
newNoMetricNameError() ValidationError {
140
return
&noMetricNameError{}
141
}
142
143
func
(e *noMetricNameError) Error() string {
144
return
"sample missing metric name"
Callers
2
ValidateMetricName
Function · 0.85
TestValidateMetricName
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestValidateMetricName
Function · 0.68