github.com/prometheus/client_model/go.MetricFamily.Metric (field)
27 uses
github.com/prometheus/client_model/go (current package)
metrics.pb.go#L516: Metric []*Metric `protobuf:"bytes,4,rep,name=metric" json:"metric,omitempty"`
metrics.pb.go#L569: return m.Metric
github.com/prometheus/client_golang/prometheus
registry.go#L685: metricFamily.Metric = append(metricFamily.Metric, dtoMetric)
registry.go#L754: for _, m := range mf.Metric {
registry.go#L759: existingMF.Metric = append(existingMF.Metric, m)
github.com/prometheus/client_golang/prometheus/internal
metric.go#L71: sort.Sort(metricSorter(mf.Metric))
metric.go#L75: if len(mf.Metric) > 0 {
github.com/prometheus/common/expfmt
decode.go#L203: samples := make(model.Vector, 0, len(f.Metric))
decode.go#L205: for _, m := range f.Metric {
decode.go#L234: samples := make(model.Vector, 0, len(f.Metric))
decode.go#L236: for _, m := range f.Metric {
decode.go#L265: samples := make(model.Vector, 0, len(f.Metric))
decode.go#L267: for _, m := range f.Metric {
decode.go#L296: samples := make(model.Vector, 0, len(f.Metric))
decode.go#L298: for _, m := range f.Metric {
decode.go#L353: samples := make(model.Vector, 0, len(f.Metric))
decode.go#L355: for _, m := range f.Metric {
text_create.go#L69: if len(in.Metric) == 0 {
text_create.go#L154: for _, metric := range in.Metric {
text_parse.go#L379: p.currentMF.Metric = append(p.currentMF.Metric, 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)
 |
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. |