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

Method String

model/value_histogram.go:173–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171}
172
173func (s SampleHistogramPair) String() string {
174 return fmt.Sprintf("%s @[%s]", s.Histogram, s.Timestamp)
175}
176
177func (s *SampleHistogramPair) Equal(o *SampleHistogramPair) bool {
178 return s == o || (s.Histogram.Equal(o.Histogram) && s.Timestamp.Equal(o.Timestamp))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected