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

Method String

model/value_histogram.go:129–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127}
128
129func (s SampleHistogram) String() string {
130 return fmt.Sprintf("Count: %f, Sum: %f, Buckets: %v", s.Count, s.Sum, s.Buckets)
131}
132
133func (s *SampleHistogram) Equal(o *SampleHistogram) bool {
134 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