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

Method String

model/value_histogram.go:128–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128func (s SampleHistogram) String() string {
129 return fmt.Sprintf("Count: %f, Sum: %f, Buckets: %v", s.Count, s.Sum, s.Buckets)
130}
131
132func (s *SampleHistogram) Equal(o *SampleHistogram) bool {
133 return s == o || (s.Count == o.Count && s.Sum == o.Sum && s.Buckets.Equal(o.Buckets))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected