Giter Site home page Giter Site logo

Comments (7)

wangxin0529 avatar wangxin0529 commented on July 19, 2024 1

@mikhailredis I use multiple data sources in one dashboard ,and define a variable named server like this
image

from grafana-redis-datasource.

alex6058 avatar alex6058 commented on July 19, 2024

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

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

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

from grafana-redis-datasource.

wangxin0529 avatar wangxin0529 commented on July 19, 2024

you can use multiple data sources in one dashboard and even in one panel in multiple query mode.

How to do this?
image
I add a template variables to import datasource,but dashboard is empty
image
@mikhailredis

from grafana-redis-datasource.

wangxin0529 avatar wangxin0529 commented on July 19, 2024

OH, I get it, THANK YOU!

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

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

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

@wangxin0529 Please let me know if you had a chance to try multiple datasource dashboard or have any questions.

from grafana-redis-datasource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.