1

我为我的统计数据运行 statsd/graphite。我的统计数据可能看起来像

a.b.c.u1 = 13
a.b.c.u2 = 16
a.b.c.u3 = 18
a.b.c.u4 = 20
a.b.c.u5 = 21
a.b.c.u6 = 22

我想得到所有 a.b.c.$u值> = 20。

我如何用石墨功能做到这一点?

4

1 回答 1

6

currentAbove ( seriesList , n)

采用一个指标或通配符 seriesList 后跟一个整数 N。在所有传递的指标中,仅绘制在指定时间段结束时其值大于 N 的指标。

&target=currentAbove(server*.instance*.threads.busy,50)
Draws the servers with more than 50 busy threads.

在你的情况下,这将成为 -

currentAbove(a.b.c.u*,20)
于 2013-11-20T05:03:16.623 回答