MCPcopy
hub / github.com/prometheus/prometheus / GetZeroCountInt

Method GetZeroCountInt

prompb/types.pb.go:524–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

522}
523
524func (m *Histogram) GetZeroCountInt() uint64 {
525 if x, ok := m.GetZeroCount().(*Histogram_ZeroCountInt); ok {
526 return x.ZeroCountInt
527 }
528 return 0
529}
530
531func (m *Histogram) GetZeroCountFloat() float64 {
532 if x, ok := m.GetZeroCount().(*Histogram_ZeroCountFloat); ok {

Callers 2

ToIntHistogramMethod · 0.95
ToFloatHistogramMethod · 0.95

Calls 1

GetZeroCountMethod · 0.95

Tested by

no test coverage detected