-
Notifications
You must be signed in to change notification settings - Fork 39
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
How to use redis datasource to collect a lot of redis #47
Comments
Hello @wangxin0529 Yes, you need to add an instance of Datasource for each Redis database you're using. After that, you can use multiple data sources in one dashboard and even in one panel in multiple query mode. Please also note, Grafana template variables support Datasource type, so you can automatically repeat panels and rows for all databases, which you defined. Thank you |
@wangxin0529 you can add Data sources manually as @alex6058 explained or use Data source API to automate: https://grafana.com/docs/grafana/latest/http_api/data_source/ Please let us know if you have any questions. |
OH, I get it, THANK YOU! |
@wangxin0529, Unfortunately, this is a limitation of Grafana 7. We can't export the dashboard which supports multiple data sources and share it within datasource. I have added a dashboard which supports multiple Redis instances and uploaded to repository: https://github.com/RedisTimeSeries/grafana-redis-datasource/blob/master/dashboards/redis.json Do you want to try and let me know if it works for you? |
@wangxin0529 Please let me know if you had a chance to try multiple datasource dashboard or have any questions. |
I have many redis.
How to collect these redis?
Do I have to add multiple data sources?
one by one?
The text was updated successfully, but these errors were encountered: