Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Alerting support #60

Open
gdlx opened this issue Oct 27, 2017 · 6 comments
Open

Alerting support #60

gdlx opened this issue Oct 27, 2017 · 6 comments

Comments

@gdlx
Copy link

gdlx commented Oct 27, 2017

Hi folks!

It seems some work has been done to allow alerting support for KairosDB (#40) but it still don't work on my side and it seems to be linked to some flapping on the plugin id:

  • 8b2e31a added id as datasource-plugin-kairosdb
  • 684165b changed it to kairosdb
  • 8df83f5 updated it to kairosdb-datasource
  • d9e3dc3 restored initial datasource-plugin-kairosdb
  • a1c9b9c reverted to kairosdb
  • 8e608bd finally restored initial datasource-plugin-kairosdb

This comment explains alerting may work with using kairosdb as plugin id: #38 (comment). This is in sync with a1c9b9c which changed the id to this value for alerting.

Anyway, using v2.0.1 of the plugin, testing each plugin id format, alerting never works. I always get this kind of error:

tsdb.HandleRequest() error Could not find executor for data source type: grafana-kairosdb-datasource (only the plugin id changes)

Is it possible to fix the plugin id for good with working alerting ?

It would also be fine to explain what are the cons of using kairosdb as a plugin id if it's necessary for alerting (why is it always restored to datasource-plugin-kairosdb ?).

Thanks !

@burix
Copy link

burix commented Mar 22, 2018

Hi together,

I am as well very interested in a solution for Alerting with KairosDB.
Are there any news regarding the fix?

I would also like to unterstand the concrete issue why the alarming is not working. Is it the kairosdb-datasource plugin which has to be fixed?

Thanks and regards

@jifwin
Copy link
Contributor

jifwin commented Mar 22, 2018

Hi All

Currently I have no plans to implement alerting. PRs welcomed.

@marefr
Copy link
Member

marefr commented Mar 22, 2018

Grafana's alerting feature requires a datasource plugin running on the server side/backend. We have plans to implement support for backend plugins, but no time frame for that right now. See grafana/grafana#6841 for further information.

@quanganhtran
Copy link
Contributor

@marefr is it possible to somehow do this via a user-created service as a temporary solution? Like after the alert is set up the datasource plugin will just call a service (provided by user) to process?

@marefr
Copy link
Member

marefr commented May 30, 2018

@quanganhtran No, not possible/supported.

@zsabin
Copy link

zsabin commented Dec 12, 2019

Alerting support has been implemented in the kairosdb fork: https://github.com/kairosdb/kairosdb-datasource. Unfortunately, it looks like there is no progress being made in merging PRs here, though. This guy has been open for a year now: #78

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants