grafana-redis-datasource
grafana-redis-datasource copied to clipboard
Data doesn't update with either `XRANGE` or `TS.RANGE`
Summary
I expect that the data updates continuously when Streaming
is checked. However, in practice I have to manually press the "Refresh" button:
This is the same for both the XRANGE
and TS.RANGE
command. Strangely, the plot does move with the expected interval (100 ms) but there is no new data.
Is this behaviour intended or not?
In any case, thanks for this great data source plug-in!
Relevant information
Grafana 9.1.6 grafana-redis-datasource 2.1.1
@frederikaalund Probably, streaming implementation in Grafana was changed since we implemented it for Grafana 8. It was working as expected on the version we tested on.
I hope Redis team will look into it.
I found a workaround where streaming works: Set the time range end a little into the future. E.g., from now-5m
to now+1m
. I don't know why this workaround works. It seems silly. 😄
I found a workaround where streaming works: Set the time range end a little into the future. E.g., from
now-5m
tonow+1m
. I don't know why this workaround works. It seems silly. 😄
Interesting, glad it works for you. Streaming is a unique feature supported only by handful number of plugins.