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

Struct SampleHistogram

model/value_histogram.go:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123type SampleHistogram struct {
124 Count FloatString `json:"count"`
125 Sum FloatString `json:"sum"`
126 Buckets HistogramBuckets `json:"buckets"`
127}
128
129func (s SampleHistogram) String() string {
130 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