【发布时间】:2017-03-30 13:10:28
【问题描述】:
有人知道是否可以在 Grafana 中定义自定义图例值?
从documentation,有几个可能的功能:
Legend Values
Additional values can be shown along-side the legend names:
Total - Sum of all values returned from metric query
Current - Last value returned from the metric query
Min - Minimum of all values returned from metric query
Max - Maximum of all values returned from the metric query
Avg - Average of all values returned from metric query
Decimals - Controls how many decimals are displayed for legend values (and graph hover tooltips)
The legend values are calculated client side by Grafana and depend on what type of aggregation or point consolidation you metric query is using.
如果我想添加其他计算,例如百分位数或移动平均线,该怎么办?
如果不可能,有什么解决方案?我想使用的后端是 Oracle。
谢谢
【问题讨论】: