github.com/prometheus/common/model.LabelValue.IsValid (method)
5 uses
github.com/prometheus/common/model (current package)
labels.go#L160: func (lv LabelValue) IsValid() bool {
labelset.go#L37: if !lv.IsValid() {
silence.go#L56: } else if !LabelValue(m.Value).IsValid() || len(m.Value) == 0 {
github.com/prometheus/common/expfmt
decode.go#L104: if !model.LabelValue(l.GetValue()).IsValid() {
text_parse.go#L318: if !model.LabelValue(p.currentToken.String()).IsValid() {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |