github.com/prometheus/common/expfmt.TextParser.currentMetric (field)

27 uses

	github.com/prometheus/common/expfmt (current package)
		text_parse.go#L59: 	currentMetric        *dto.Metric
		text_parse.go#L235: 	p.currentMetric = &dto.Metric{}
		text_parse.go#L293: 		p.currentMetric.Label = append(p.currentMetric.Label, p.currentLabelPair)
		text_parse.go#L376: 			p.currentMetric = summary
		text_parse.go#L378: 			p.summaries[signature] = p.currentMetric
		text_parse.go#L379: 			p.currentMF.Metric = append(p.currentMF.Metric, p.currentMetric)
		text_parse.go#L384: 			p.currentMetric = histogram
		text_parse.go#L386: 			p.histograms[signature] = p.currentMetric
		text_parse.go#L387: 			p.currentMF.Metric = append(p.currentMF.Metric, p.currentMetric)
		text_parse.go#L390: 		p.currentMF.Metric = append(p.currentMF.Metric, p.currentMetric)
		text_parse.go#L403: 		p.currentMetric.Counter = &dto.Counter{Value: proto.Float64(value)}
		text_parse.go#L405: 		p.currentMetric.Gauge = &dto.Gauge{Value: proto.Float64(value)}
		text_parse.go#L407: 		p.currentMetric.Untyped = &dto.Untyped{Value: proto.Float64(value)}
		text_parse.go#L410: 		if p.currentMetric.Summary == nil {
		text_parse.go#L411: 			p.currentMetric.Summary = &dto.Summary{}
		text_parse.go#L415: 			p.currentMetric.Summary.SampleCount = proto.Uint64(uint64(value))
		text_parse.go#L417: 			p.currentMetric.Summary.SampleSum = proto.Float64(value)
		text_parse.go#L419: 			p.currentMetric.Summary.Quantile = append(
		text_parse.go#L420: 				p.currentMetric.Summary.Quantile,
		text_parse.go#L429: 		if p.currentMetric.Histogram == nil {
		text_parse.go#L430: 			p.currentMetric.Histogram = &dto.Histogram{}
		text_parse.go#L434: 			p.currentMetric.Histogram.SampleCount = proto.Uint64(uint64(value))
		text_parse.go#L436: 			p.currentMetric.Histogram.SampleSum = proto.Float64(value)
		text_parse.go#L438: 			p.currentMetric.Histogram.Bucket = append(
		text_parse.go#L439: 				p.currentMetric.Histogram.Bucket,
		text_parse.go#L470: 	p.currentMetric.TimestampMs = proto.Int64(timestamp)