Prevent loading a chart if another chart doesn't have data

  • What Grafana version and what operating system are you using?

v9.5.5 on Ubuntu Linux 22.04

  • What are you trying to achieve?

I have two data sources I’m combining data from, one of which is a local database and the other one is an external calculation engine. I then need to compare outputs from both, on a chart.

The external engine has a data processing delay of several hours.

What I want is to prevent displaying data from the local database if there’s no data from the other source for the selected period. In other words, I only want one chart to show up if the other one is also available. Either both, or none; never just one.

  • How are you trying to achieve it?

I have no idea how to do it :frowning:

you might want to look at one of the following plugins from https://volkovlabs.io/