I have some user level histogram metrics.
I want to display a singlestat in grafana that shows me the number of series where the count in histogram.bin_5000 > 0.
I can get it to display the number of series with countSeries. But, can't seem to get a filter to remove the series which are below a certain value.


The functions
removeBelow*andremoveAbove*(includingremoveBelowValue) actually do not remove series, rather just setnull(None) to matching datapoints.There are two solutions:
use
removeEmptySeries, that removes all metrics that have only null datapoints. This will also remove null metrics that existed beforeremoveBelow*.instead of
remove*-family usemaximumBelow/Above,minimumBelow/Above. that remove (sic!) series