Custom alerting engine

Hi community:

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

On the doc:

it lists only a few supported engines.

We also see PRs for adding other engines, e.g. elasticsearch:

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?



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: