Enable querying in dashboard variables settings for custom datasource

Hi, I have created a custom datasource and want to use this in dashboard variables settings page:


Unfortunately, when clicking Run query I am receiving an error: Query Runner is not available for datasource.
I want to achieve a similar behaviour like in Elastic Search datasource where I see dedicated field for querying through dashboard variable options:

What am I missing there?

Thanks for helping :slight_smile:

Hi,

Please have a look at the guide on how to implement support for variable queries in a datasource plugin.

/Erik