github.com/prometheus/client_model/go.Metric.Histogram (field)
22 uses
github.com/prometheus/client_model/go (current package)
metrics.pb.go#L432: Histogram *Histogram `protobuf:"bytes,7,opt,name=histogram" json:"histogram,omitempty"`
metrics.pb.go#L500: return m.Histogram
github.com/prometheus/client_golang/prometheus
histogram.go#L334: out.Histogram = his
histogram.go#L517: out.Histogram = his
registry.go#L637: if dtoMetric.Histogram == nil {
registry.go#L660: case dtoMetric.Histogram != nil:
registry.go#L841: metricFamily.GetType() == dto.MetricType_HISTOGRAM && dtoMetric.Histogram == nil ||
github.com/prometheus/common/expfmt
decode.go#L356: if m.Histogram == nil {
decode.go#L367: for _, q := range m.Histogram.Bucket {
decode.go#L394: Value: model.SampleValue(m.Histogram.GetSampleSum()),
decode.go#L406: Value: model.SampleValue(m.Histogram.GetSampleCount()),
text_create.go#L216: if metric.Histogram == nil {
text_create.go#L222: for _, b := range metric.Histogram.Bucket {
text_create.go#L240: float64(metric.Histogram.GetSampleCount()),
text_create.go#L249: metric.Histogram.GetSampleSum(),
text_create.go#L257: float64(metric.Histogram.GetSampleCount()),
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,
 |
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. |