【发布时间】:2019-05-28 19:33:50
【问题描述】:
假设我有以下查询:
http:/graphite.server:####/render?&target=highestCurrent(metric.path.value,3)
我遇到的问题是石墨返回指标中的所有值,而不是最后三个“最高电流”。
我无法找到端到端的示例。通常,它们仅包含:&target=...,因此我认为这只是“应该起作用”。
问题的可能根源是什么?
【问题讨论】:
标签: graphite
假设我有以下查询:
http:/graphite.server:####/render?&target=highestCurrent(metric.path.value,3)
我遇到的问题是石墨返回指标中的所有值,而不是最后三个“最高电流”。
我无法找到端到端的示例。通常,它们仅包含:&target=...,因此我认为这只是“应该起作用”。
问题的可能根源是什么?
【问题讨论】:
标签: graphite
它应该绘制 3 个最高指标/系列的所有值。不是一个系列中的 3 个指标。
highestCurrent(seriesList, n)
Takes one metric or a wildcard seriesList followed by an integer N. Out of all metrics passed, draws only the N metrics with the highest value at the end of the time period specified.
Example:
&target=highestCurrent(server*.instance*.threads.busy,5)
Draws the 5 servers with the highest busy threads.
【讨论】: