github.com/prometheus/client_model/go.LabelPair.GetName (method)

31 uses

	github.com/prometheus/client_model/go (current package)
		metrics.pb.go#L98: func (m *LabelPair) GetName() string {

	github.com/prometheus/client_golang/prometheus
		desc.go#L175: 			fmt.Sprintf("%s=%q", lp.GetName(), lp.GetValue()),
		histogram.go#L177: 		if lp.GetName() == bucketLabel {
		metric.go#L130: 	return s[i].GetName() < s[j].GetName()
		registry.go#L851: 		labelName := labelPair.GetName()
		registry.go#L892: 		h.WriteString(lp.GetName())
		registry.go#L938: 		if lpFromDesc.GetName() != lpFromMetric.GetName() ||
		summary.go#L182: 		if lp.GetName() == quantileLabel {

	github.com/prometheus/client_golang/prometheus/promhttp
		instrument_server.go#L242: 		name, value := label.GetName(), label.GetValue()

	github.com/prometheus/common/expfmt
		decode.go#L107: 			if !model.LabelName(l.GetName()).IsValid() {
		decode.go#L108: 				return fmt.Errorf("invalid label name %q", l.GetName())
		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#L359: 		n, err := w.WriteString(lp.GetName())
		text_parse.go#L285: 	if p.currentLabelPair.GetName() == string(model.MetricNameLabel) {
		text_parse.go#L291: 	if !(p.currentMF.GetType() == dto.MetricType_SUMMARY && p.currentLabelPair.GetName() == model.QuantileLabel) &&
		text_parse.go#L292: 		!(p.currentMF.GetType() == dto.MetricType_HISTOGRAM && p.currentLabelPair.GetName() == model.BucketLabel) {
		text_parse.go#L327: 		if p.currentLabelPair.GetName() == model.QuantileLabel {
		text_parse.go#L334: 			p.currentLabels[p.currentLabelPair.GetName()] = p.currentLabelPair.GetValue()
		text_parse.go#L339: 		if p.currentLabelPair.GetName() == model.BucketLabel {
		text_parse.go#L346: 			p.currentLabels[p.currentLabelPair.GetName()] = p.currentLabelPair.GetValue()