(b byte, quoted bool)
| 948 | } |
| 949 | |
| 950 | func isValidLabelNameContinuation(b byte, quoted bool) bool { |
| 951 | return isValidLabelNameStart(b) || (b >= '0' && b <= '9') || (quoted && utf8.ValidString(string(b))) |
| 952 | } |
| 953 | |
| 954 | func isValidMetricNameStart(b byte) bool { |
| 955 | return isValidLabelNameStart(b) || b == ':' |
no test coverage detected