grafana / kairosdb-datasource

Data source plugin for KairosDB
Apache License 2.0
30 stars 62 forks source link

grafana cannot properly connect to kairos-db #94

Open razvanpaul-mielcioiu opened 3 years ago

razvanpaul-mielcioiu commented 3 years ago

What happened: I am creating a panel with kairos-db as datasource, then I notice this:

Another thing mentioning is that there is a javascript error when I first open the panel (kairos-db is set as default datasource): PanelQueryRunner.ts:246 PanelQueryRunner Error TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable. at l (subscribeTo.js:28)

And there is another javascript error when tag count is displayed: TypeError: Cannot read property 'length' of undefined at TagsSelectCtrl (tags_select.ts:11)

repro steps with v8.1.2

What you expected to happen: I am expecting the metric names to be fetched smoothly, as well as tags and that I am able to select a metric name from the dedicated field and use a certain tag in a group-by rule.

image showing v7.3.1 where it works

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?: I can create a panel with kairos as source, tags and everything if I use grafana 7.3.1, but I haven't tried with other 7.x versions except 7.5.10 where it doesn't work.

Environment:

I opened this first with the grafana team, and they pointed that the issues is with the kairos-db datasource plugin implementation not using the latest pluginAPI from grafana.

mckn commented 3 years ago

@razvanpaul-mielcioiu I did some digging on who is maintaining this plugin and it is no longer maintained by the Grafana organization. We transfered the ownership to an external contributor who seems to removed their Github account.

So currently we don't have anyone maintaining this plugin. If anyone wants to take ownership of this we are happy to arrange that but I think this repository will be archived and the plugin marked as deprecated (for now).