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

Method GetZeroCountFloat

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

Source from the content-addressed store, hash-verified

1192}
1193
1194func (m *Histogram) GetZeroCountFloat() float64 {
1195 if x, ok := m.GetZeroCount().(*Histogram_ZeroCountFloat); ok {
1196 return x.ZeroCountFloat
1197 }
1198 return 0
1199}
1200
1201func (m *Histogram) GetNegativeSpans() []BucketSpan {
1202 if m != nil {

Callers 3

BucketCountMethod · 0.95

Calls 1

GetZeroCountMethod · 0.95

Tested by

no test coverage detected