I found a issue when using datasource plugin with id "mydb", when I wanted to create Alert in dashboard and clicked "Test Rule" button In Alert panel, i got below error message:
Error: tsdb.HandleRequest() error Could not find executor for data source type:mydb
Who knows this issue and can help me to avoid that? Thanks!
Only specific backend supported datasources (Graphite, Prometheus, InfluxDB, OpenTSDB) support alerting queries as tey are executed by the backend, and external plugins are frontend only.
We are working on backend plugins so external plugins can also provide alerting but this 1-2 months away
And another issue is How to clean alerting scheduler queue, i found there are always 5 rules in queue as below grafana.log, perhaps some alert is corrupted, so how to clean it or check why cause this issue. Thanks!
Thanks for your response!
And another issue is How to clean alerting scheduler queue, i found there are always 5 rules in queue as below grafana.log, perhaps some alert is corrupted, so how to clean it or check why cause this issue. Thanks!
torkel Leader
September 28
Only specific backend supported datasources (Graphite, Prometheus, InfluxDB, OpenTSDB) support alerting queries as tey are executed by the backend, and external plugins are frontend only.
We are working on backend plugins so external plugins can also provide alerting but this 1-2 months away
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
And another issue is How to clean alerting scheduler queue, i found there are always 5 rules in queue as below grafana.log, perhaps some alert is corrupted, so how to clean it or check why cause this issue. Thanks!
Thanks for your response!
And another issue is How to clean alerting scheduler queue, i found there are always 5 rules in queue as below grafana.log, perhaps some alert is corrupted, so how to clean it or check why cause this issue. Thanks!
do to the Alerting list view using Grafana main side nav, there you should see all rules and you can pause them or go to each dashboard and remove them
I try to implement a executor in pkg/tsdb/mydb , rebuild grafana and restart grafana, it looks like alert works well and i receive the Alert mail, but the image does not display nothing(no spark line), Could you please give me your suggesion? Thanks !
daniellee
September 29
Any errors in the Grafana Server log? And when you click on the link in the email, then the graph is working?
Visit Topic or reply to this email to respond.
In Reply To
sllin
September 29
Hello Torkel, I try to implement a executor in pkg/tsdb/mydb , rebuild grafana and restart grafana, it looks like alert works well and i receive the Alert mail, but the image does not display nothing(no spark line), Could you please give me your suggesion? Thanks ! [grafana-1]
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
We would need to implement backend plugins for Grafana first. Alerting needs to be run on the server. It is on our roadmap but is probably a few months into the future.
Can you guys make 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?