Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data doesn't update with either XRANGE or TS.RANGE #274

Open
frederikaalund opened this issue Sep 25, 2022 · 3 comments
Open

Data doesn't update with either XRANGE or TS.RANGE #274

frederikaalund opened this issue Sep 25, 2022 · 3 comments

Comments

@frederikaalund
Copy link

Summary

I expect that the data updates continuously when Streaming is checked. However, in practice I have to manually press the "Refresh" button:

grafana-redis

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

@mikhail-vl
Copy link
Contributor

mikhail-vl commented Nov 7, 2022

@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.

@frederikaalund
Copy link
Author

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. 😄

@mikhail-vl
Copy link
Contributor

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. 😄

Interesting, glad it works for you. Streaming is a unique feature supported only by handful number of plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants