-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Search before asking
- I searched in the issues and found nothing similar.
Version
IOTDB: 1.3.3
Grafana plugin: 1.0.1
Grafana: 11.4
Describe the bug and provide the minimal reproduce step
- 正常添加一个time series图表,假设SQL为: select value from root.device where time >=$__from and time<=$__to
- 保存,可以看到一切正常,随着时间的推移,图形也在同步更新
- 点击编辑图表,进入图表编辑界面
- 可以看到之前的time >=$__from and time<=$__to已经变成了time >=xxxxx and time<=xxxxx
- 不做任何修改直接退出
- 图表不再同步更新,而上永远停留在了第4步中的时间戳
What did you expect to see?
$__from与$__to 始终生效
What did you see instead?
一般通过select value from root.device where time >=$__from and time<=$__to 定义好图表后保存,一切显示正常没有问题。
但是当再次进入Panel编辑页面时,可以看到定义的 time >=$__from and time<=$__to 已经被替换成了实际的时间值,这时候哪怕不做任何编辑就退出,那么该图表的from和to时间就会停留在之前看到的实际时间上,不会再随着时间推移而更新。也就是说$__from与$__to 变量替换失效了。
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels