MCPcopy Create free account
hub / github.com/prometheus/common / SampleHistogram

Struct SampleHistogram

model/value_histogram.go:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122type SampleHistogram struct {
123 Count FloatString `json:"count"`
124 Sum FloatString `json:"sum"`
125 Buckets HistogramBuckets `json:"buckets"`
126}
127
128func (s SampleHistogram) String() string {
129 return fmt.Sprintf("Count: %f, Sum: %f, Buckets: %v", s.Count, s.Sum, s.Buckets)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected