【问题标题】:grafana graph is not showing any value while select is showing选择显示时,grafana图未显示任何值
【发布时间】:2021-05-23 19:58:41
【问题描述】:

我创建了一个包含两个值的小测量值。 influx -precision rfc3339 -database 数据域

SELECT "compression_factor" FROM "DD123" WHERE time <= now()
name: DD123
time                         compression_factor
----                         ------------------
2021-02-21T09:22:26.4883418Z 14
2021-02-21T09:23:04.5294275Z 12

Granfana 查询是

request:Object
method:"GET"
url:"api/datasources/proxy/2/query"
params:Object
db:"DELL"
q:"SELECT mean("compression_factor") FROM "DD123" WHERE time >= 1613895541854ms and time <= 1613902741854ms GROUP BY time(1m) fill(null)"
epoch:"ms"
data:null
precision:"ms"
hideFromInspector:false
response:Object
results:Array[1]
0:Object

但是图表什么也没显示?没有数据 !!为什么?

【问题讨论】:

    标签: grafana influxdb


    【解决方案1】:

    数据源是错误的数据库。当 grafana 正在调查 DB Dell 时,数据位于 DB 数据域中。所以选择正确的数据源!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-10
      • 2022-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多