我想在给定的时间窗口内跟踪成功率(成功率/总成功率)(因为我将在grafana上使用这个,时间窗口可能会改变,应该支持动态时间范围查询)
1: Using Grafanaresult = 'success' and time > now() - 1h GROUP BY time(5m) END
考虑到这是两个不同的CQ写入相同表,一些值在新的metric_agg表上不完全匹配,导致grafana查询失
我目前正在使用AWS时间流数据库与grafana相结合。如果我想获得列的最后一个非空记录,我将查询一个时间间隔,并使用limit函数只显示最后一个值。measure_name = 'inTrip' and measure_value::boolean = true and $__timeFilter order by time desc limit 1谢谢你的建议
目标Situationdjango-prometheus -> To emit metrics prometheus -> 2 shards running via prometheus operator on k8s当我们比较grafana仪表板和aws目标组请求度量时,它是不匹配的。never resets be