Could you guys give some clues or examples, or tell me what to replicate (based on the existing datasources)?
It would be wonderful to have an example (maybe an extension to this one: https://github.com/grafana/simple-json-datasource) for the people who want to change the backend in order to make the alerts work for their datasources.
I am facing the same problem.
Currently, I’m trying to create a Custom Datasource plugin.
However, it is stated in http://docs.grafana.org/alerting/rules/ that “Alert” is a feature that needs support in the Grafana core backend.
I have checked above examples but there is no mention of how to modify the back-end.
Please give me a clearer guidance.
I tried to use simple json datasource backend plugin branch
But the alert conditions are not respecting the time range
Also when i try running make file the plugins breaks with error=“tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-datasource”.