Grafana / Graphite - 显示计数的系列数> 0

时间:2016-12-28 20:33:35

标签: graphite grafana

我有一些用户级直方图指标。 我想在grafana中显示一个singlestat,它显示了histogram.bin_5000>中计数的系列数。 0

我可以用countSeries来显示系列的数量。但是,似乎无法通过过滤器来删除低于某个值的系列。

使用计数系列

enter image description here

使用Count Series AND removeBelowValue

enter image description here

1 个答案:

答案 0 :(得分:1)

函数removeBelow*removeAbove*(包括removeBelowValue)实际不会删除系列,而是只设置null None)匹配数据点。

有两种解决方案:

  1. 使用removeEmptySeries,删除所有仅包含空数据点的指标。这也将删除removeBelow*之前存在的空指标。

  2. 而不是remove* - 家庭使用maximumBelow/AboveminimumBelow/Above。删除(原文如此!)系列