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

Method Equal

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

EqualMethod · 0.45

Tested by

no test coverage detected