Reputation: 1
I have metrics in two different prometheus servers, can I directly use both into single Grafana Dashboard? I have tried but not able to find any way to use 2 different sources into single Dashboard. Does anyone did similar things, if yes please share the steps. Below is the reference to select data source in Grafana
I have metrics in two different prometheus servers, can I directly use both into single Grafana Dashboard? I have tried but not able to find any way to use 2 different sources into single Dashboard. Does anyone did similar things, if yes please share the steps.
Upvotes: 0
Views: 418
Reputation: 66
You need to create two different datasources as prometheus named:
https://grafana.com/docs/grafana/latest/datasources/
Then in your dashboard go to variables and create a new variable which queries data sources.
ex: query_result(datasources{type="prometheus"})
Upvotes: 1