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

Method String

model/value_histogram.go:172–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (s SampleHistogramPair) String() string {
173 return fmt.Sprintf("%s @[%s]", s.Histogram, s.Timestamp)
174}
175
176func (s *SampleHistogramPair) Equal(o *SampleHistogramPair) bool {
177 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