github.com/prometheus/client_model/go.LabelPair.GetValue (method)
30 uses
github.com/prometheus/client_model/go (current package)
metrics.pb.go#L105: func (m *LabelPair) GetValue() string {
github.com/prometheus/client_golang/prometheus
desc.go#L175: fmt.Sprintf("%s=%q", lp.GetName(), lp.GetValue()),
registry.go#L870: if !utf8.ValidString(labelPair.GetValue()) {
registry.go#L873: name, dtoMetric, labelName, labelPair.GetValue())
registry.go#L894: h.WriteString(lp.GetValue())
registry.go#L939: lpFromDesc.Value != nil && lpFromDesc.GetValue() != lpFromMetric.GetValue() {
github.com/prometheus/client_golang/prometheus/internal
metric.go#L44: vi := lp.GetValue()
metric.go#L45: vj := s[j].Label[n].GetValue()
github.com/prometheus/client_golang/prometheus/promhttp
instrument_server.go#L242: name, value := label.GetName(), label.GetValue()
github.com/prometheus/common/expfmt
decode.go#L104: if !model.LabelValue(l.GetValue()).IsValid() {
decode.go#L105: return fmt.Errorf("invalid label value %q", l.GetValue())
decode.go#L212: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L243: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L274: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L311: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L326: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L338: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L370: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L388: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L400: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
decode.go#L415: lset[model.LabelName(p.GetName())] = model.LabelValue(p.GetValue())
text_create.go#L369: n, err = writeEscapedString(w, lp.GetValue(), true)
text_parse.go#L328: if p.currentQuantile, p.err = parseFloat(p.currentLabelPair.GetValue()); p.err != nil {
text_parse.go#L330: p.parseError(fmt.Sprintf("expected float as value for 'quantile' label, got %q", p.currentLabelPair.GetValue()))
text_parse.go#L334: p.currentLabels[p.currentLabelPair.GetName()] = p.currentLabelPair.GetValue()
text_parse.go#L340: if p.currentBucket, p.err = parseFloat(p.currentLabelPair.GetValue()); p.err != nil {
text_parse.go#L342: p.parseError(fmt.Sprintf("expected float as value for 'le' label, got %q", p.currentLabelPair.GetValue()))
text_parse.go#L346: p.currentLabels[p.currentLabelPair.GetName()] = p.currentLabelPair.GetValue()
text_parse.go#L362: p.parseError(fmt.Sprintf("unexpected end of label value %q", p.currentLabelPair.GetValue()))
 |
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. |