Custom alerting engine

Hi community:

We would like to connect Grafana alerting engine to a custom time-series datasource.

On the doc: http://docs.grafana.org/alerting/rules/#execution

it lists only a few supported engines.

We also see PRs for adding other engines, e.g. elasticsearch: https://github.com/grafana/grafana/pull/5948/files

What is the suggested way of installing a custom engine with an existing Grafana distribution? We would like to avoid making our own packaging.

Currently we are building an Grafana App with a custom datasource pointing our engine. Ideally both alerting support can be bundled together?

Thanks!

-John

Right now there is no other option than to fork grafana and add your own TSDB to the backend code:

Long term we hope to solve this via backend plugins: