MCPcopy
hub / github.com/prometheus/prometheus / GetZeroCountFloat

Method GetZeroCountFloat

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

Source from the content-addressed store, hash-verified

529}
530
531func (m *Histogram) GetZeroCountFloat() float64 {
532 if x, ok := m.GetZeroCount().(*Histogram_ZeroCountFloat); ok {
533 return x.ZeroCountFloat
534 }
535 return 0
536}
537
538func (m *Histogram) GetNegativeSpans() []BucketSpan {
539 if m != nil {

Callers 3

ToFloatHistogramMethod · 0.95
HistogramMethod · 0.45

Calls 1

GetZeroCountMethod · 0.95

Tested by

no test coverage detected