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

Struct SampleHistogramPair

model/value_histogram.go:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137type SampleHistogramPair struct {
138 Timestamp Time
139 // Histogram should never be nil, it's only stored as pointer for efficiency.
140 Histogram *SampleHistogram
141}
142
143func (s SampleHistogramPair) MarshalJSON() ([]byte, error) {
144 if s.Histogram == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected