【问题标题】:How to get the delta of a metric in a time interval如何在时间间隔内获取指标的增量
【发布时间】:2016-07-22 13:53:06
【问题描述】:

我试图在 Graphite 的时间间隔边缘获取度量的增量,但我在文档中找不到与它相关的任何内容。

我不是在寻找推导,而是在寻找绝对差异。

使用summarize(nonNegativeDerivative(a.metric), "30mins") 可以完成这项工作吗?

如果有人能指出正确的功能,我很高兴,谢谢!

【问题讨论】:

    标签: monitoring graphite grafana


    【解决方案1】:

    graphite nonNegativeDerivative 函数不是“真正的”导数,它会返回连续点之间的增量,这似乎就是您要寻找的。​​p>

    石墨中的“真正”导数函数是perSecond,它返回标准化为每秒速率的增量。

    所以,尝试使用不带 summarize 包装器的 nonNegativeDerivative,看看它是否能满足您的需求。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-20
      • 1970-01-01
      相关资源
      最近更新 更多