Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mixing multiple data sources in the same panel

Tags:

grafana

Is there a way to mix multiple data sources in the same panel (I am not interested in the same dashboard, only in the same panel)? I want the panel to have one layer with data from one data source and another layer from another data source.

like image 909
Mike Argyriou Avatar asked Sep 23 '17 09:09

Mike Argyriou


People also ask

Can Grafana have multiple data sources?

The query language and capabilities of each data source are different. You can combine data from multiple data sources onto a single dashboard. Every AWS account that uses Amazon Managed Grafana has access to many data sources.

How do you add multiple data sources to Grafana?

You can enable this by selecting the built in -- Mixed -- data source. When selected this will allow you to specify data source on a per query basis. This will, for example, allow you to plot metrics from different Graphite servers on the same Graph or plot data from Elasticsearch alongside data from Prometheus.

What is multiple data source?

If used in combination with calculated columns, multiple data sources can minimize or eliminate the need to create database table joins in an external data access tool. Using multiple data sources also enables measure allocation. For example, suppose your product, customer, and order data is stored in a set of tables.


1 Answers

Also stumbled upon this question, using Grafana 7.3.5. It seems the feature has been reworked a bit, here's a screenshot:

enter image description here

Chosing the "-- Mixed --"-entry and then adding the Datasource for every Query (in the screenshot the Datasources "temp" and "SmartHome")

like image 136
Dr.Seltsam Avatar answered Sep 28 '22 04:09

Dr.Seltsam