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

Method Equal

model/value_histogram.go:132–134  ·  view source on GitHub ↗
(o *SampleHistogram)

Source from the content-addressed store, hash-verified

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))
134}
135
136type SampleHistogramPair struct {
137 Timestamp Time

Callers

nothing calls this directly

Calls 1

EqualMethod · 0.45

Tested by

no test coverage detected