我有一些用户级直方图指标。
我想在grafana中显示一个singlestat,它显示了histogram.bin_5000
>中计数的系列数。 0
我可以用countSeries
来显示系列的数量。但是,似乎无法通过过滤器来删除低于某个值的系列。
答案 0 :(得分:1)
函数removeBelow*
和removeAbove*
(包括removeBelowValue
)实际不会删除系列,而是只设置null
(None
)匹配数据点。
有两种解决方案:
使用removeEmptySeries
,删除所有仅包含空数据点的指标。这也将删除removeBelow*
之前存在的空指标。
而不是remove*
- 家庭使用maximumBelow/Above
,minimumBelow/Above
。删除(原文如此!)系列