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

Method GetCountFloat

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

Source from the content-addressed store, hash-verified

1157}
1158
1159func (m *Histogram) GetCountFloat() float64 {
1160 if x, ok := m.GetCount().(*Histogram_CountFloat); ok {
1161 return x.CountFloat
1162 }
1163 return 0
1164}
1165
1166func (m *Histogram) GetSum() float64 {
1167 if m != nil {

Callers 3

PushMethod · 0.80

Calls 1

GetCountMethod · 0.95

Tested by

no test coverage detected