MCPcopy Create free account
hub / github.com/prometheus/common / isValidLabelNameContinuation

Function isValidLabelNameContinuation

expfmt/text_parse.go:724–726  ·  view source on GitHub ↗
(b byte)

Source from the content-addressed store, hash-verified

722}
723
724func isValidLabelNameContinuation(b byte) bool {
725 return isValidLabelNameStart(b) || (b >= '0' && b <= '9')
726}
727
728func isValidMetricNameStart(b byte) bool {
729 return isValidLabelNameStart(b) || b == ':'

Callers 2

readTokenAsLabelNameMethod · 0.85

Calls 1

isValidLabelNameStartFunction · 0.85

Tested by

no test coverage detected