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() {