【发布时间】:2014-11-06 09:05:46
【问题描述】:
我正在使用 Graphite+Statsd(带有 Python 客户端)从 web 应用程序收集自定义指标:成功交易的计数器。假设计数器是stats.transactions.count,它还具有stats.transactions.rate 上的速率/每秒指标。
我还将Seyren 设置为监控+警报系统,并成功从 Graphite 中提取指标。现在如果过去 60 分钟内成功交易的数量少于某个最小值,我想在 Seyren 中设置警报。
我应该使用哪个指标和 Graphite 函数?我尝试使用 summarize(metric, '1h'),但是当 Graphite 开始聚合起始小时的指标时,它会在每小时提醒我一次。
请注意,如果有帮助,Seyren 还允许指定 Graphite 的 from 和 until 参数。
【问题讨论】:
标签: monitoring graphite statsd seyren