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

Method GetZeroCountInt

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

Source from the content-addressed store, hash-verified

1185}
1186
1187func (m *Histogram) GetZeroCountInt() uint64 {
1188 if x, ok := m.GetZeroCount().(*Histogram_ZeroCountInt); ok {
1189 return x.ZeroCountInt
1190 }
1191 return 0
1192}
1193
1194func (m *Histogram) GetZeroCountFloat() float64 {
1195 if x, ok := m.GetZeroCount().(*Histogram_ZeroCountFloat); ok {

Callers 4

BucketCountMethod · 0.95

Calls 1

GetZeroCountMethod · 0.95

Tested by

no test coverage detected