Use time field from influxdb in grafana single stat

我的梦境 提交于 2019-12-02 03:53:53

问题


Is it possible to use the time field in a single stat panel in grafana?

I understand you cannot only query the time field in influxdb, but I can get the time of the stat I'm interested in like so:

select time, last(context_id) from "data_context"

And just need a way to show the time field from the execution of the query.


回答1:


This is quiet often asked on stack overflow, but it is not possible at the moment. But there are open Feature requests for this on github:

  • [Feature request] Show timestamp on SingleStat #6710
  • Showing time from InfluxDB query in Singlestat panel #2764


来源:https://stackoverflow.com/questions/40963901/use-time-field-from-influxdb-in-grafana-single-stat

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!