MCPcopy Index your code
hub / github.com/prometheus/prometheus / GetCountInt

Method GetCountInt

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

Source from the content-addressed store, hash-verified

487}
488
489func (m *Histogram) GetCountInt() uint64 {
490 if x, ok := m.GetCount().(*Histogram_CountInt); ok {
491 return x.CountInt
492 }
493 return 0
494}
495
496func (m *Histogram) GetCountFloat() float64 {
497 if x, ok := m.GetCount().(*Histogram_CountFloat); ok {

Callers 2

ToIntHistogramMethod · 0.95
ToFloatHistogramMethod · 0.95

Calls 1

GetCountMethod · 0.95

Tested by

no test coverage detected