Alerting Engine - Custom datasource?

Currenlty the docs state that alerts only work with some specific datasources. We’d like alerts to work with our datasource that we’re writing a custom plugin for. Is this possible out of the box or with our own development effort?

It is not currently possible.

For a data source to support alerting, it has to be implemented on Grafana backend. Grafana does not yet have support for backend plugins (although it’s on the roadmap). This means for a custom data source to support alerting, it would have to be included in Grafana core.

Alerting support for custom plugins will be possible when support for backend plugins has been implemented.