Aggregating Multiple Data Sources through Dashboard

  • What Grafana version and what operating system are you using? Grafana v7.5.5 , Centos7

  • What are you trying to achieve? We are setting up production monitoring with Prometheus. Goal is to create single dashboard with multiple datasource from multiple region that get drill down upto last node. Also we want to show the overall instance details while selecting all the datasource from Dashboard itself without tweaking query under panel.

  • How are you trying to achieve it? Per Region one Prometheus and Aggregating data from multiple region on single Grafana. Using $datasource as variable to switch between data source from multiple region.

  • What happened? We can query multiple data source from single dashboard with the help of datasource variable.

  • What did you expect to happen? Currently we can combine all the instances from single datasource to present data like overall memory/cpu/disk from that particular region but when we combine all the data sources from all the region it not working.

  • Can you copy/paste the configuration(s) that you are having problems with? NA

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. NA

  • Did you follow any online instructions? If so, what is the URL? Standard official documentation.

Any suggestions are welcome.

Thanks in advance.

are you using node exporter with Prometheus? If so,. have you explored using a preconfigured dashboard for Node Exporter as a template?

Yes. We did tried out sample templates. But couldn’t found any filter on grafana using variable for multiple data sources from single dashboard. I have attached the screenshot while selecting all the datasource from dashboard it doesn’t query on all data sources.

We’re facing the same issue, seems that even if you can configure multiple values into a datasource variable, the dashboard only query one of them silently.

Is it normal? or it’s necessary to configure something else.

Checking the Docs, Prometheus a variable with multiple values is interpolated with this form: (host1|host2|host3), so if each of them is a datasource, can the query run on every one of them somehow?

This topic was automatically closed after 365 days. New replies are no longer allowed.