Grafana-仅显示最新值
我在Grafana上有iPad电池水平,但我想继续仅显示最近的值。
但是,每当我将新数据推向流入DB时,都会添加它们。我不想看到一百万个仪表,只有4个仪表(我可以手动将限制设置为4,但这不会扩展...)这是有道理的吗?
(h.2,h.3,h.4& h.5是iPads名称)
I have iPad battery levels on Grafana, but I want to keep displaying just recent values.
But Every time I push the new data to InfluxDB, it just adds them. I don't want to see a million gauges, just 4. (I can manually setup the limit to 4, but that wouldn't scale...) Does it make sense?
(H.2, H.3, H.4 & H.5 are iPads names)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您的grafana infuxql查询中使用
最后
选择器和组成
tagname
name (name
必须是标签,而不是一个场地)。示例:In your Grafana InfluxQL query use
last
selector andGROUP BY
tagname
(name
must be a tag, not a field). Example: