MCPcopy Create free account
hub / github.com/cortexproject/cortex / GetCountInt

Method GetCountInt

pkg/cortexpb/cortex.pb.go:1152–1157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1150}
1151
1152func (m *Histogram) GetCountInt() uint64 {
1153 if x, ok := m.GetCount().(*Histogram_CountInt); ok {
1154 return x.CountInt
1155 }
1156 return 0
1157}
1158
1159func (m *Histogram) GetCountFloat() float64 {
1160 if x, ok := m.GetCount().(*Histogram_CountFloat); ok {

Calls 1

GetCountMethod · 0.95

Tested by

no test coverage detected