()
| 254 | } |
| 255 | |
| 256 | func (h *histogram) countSeriesDemand() int { |
| 257 | est := h.seriesDemand.Estimate() |
| 258 | return int(est) * int(h.activeSeriesPerHistogramSerie()) |
| 259 | } |
| 260 | |
| 261 | func (h *histogram) removeStaleSeries(staleTimeMs int64) { |
| 262 | h.seriesMtx.Lock() |
nothing calls this directly
no test coverage detected