Grafana 7.0.5 - how write manual sql-code in query builder?

In grafana 6.7.4 in the query builder is a button “edit sql” for building sql’s manual with sql-code.
grafana-edit sql button

What are the possibilities in grafana 7.0.5 to edit a sql-query manually with sql-code?
This button below the query window seems to be gone…

Many thanks


The query builder is specific to the data source you are using and you’re not on the same data source on your two screenshots.
It seems like your second data source doesn’t support writing manual queries.

OK… is it difficult to modify the druid datasource to add query builder and if possible also adding alarm treshold values. Where can i find info for doing that ?
II am experimenting with following iot-stack on my synology NAS server :

Many thanks,

The first step would be to check the Github repository of the plugin you are using and, if an issue doesn’t already exist, open one to start discussing this with the plugin maintainers.
If you want to develop it yourself, the tutorial on how to build a data source plugin for Grafana is a good start to learn more on this topic.