The datasource does not support alerting queries?

I am writing my own database plug-in. When I click alert, I will be prompted the datasource does not support alerting queries. How to support it

I don’t think that Unified Alerting will support custom datasources while it is still behind a feature toggle