-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana 2 compatibility? #8
Comments
Sadly not. We don't know when we will have time to get to it. We will keep
|
I just have uploaded this code to support Grafana 2 with KairosDB as a datasource. It is an adapted version from grafana-kairosdb-datasource-plugin mixed with OpenTSDB plugin for Grafana 2. :-) |
Grafana 2 - KairosDB Datasource Plugin - https://github.com/br0th3r/grafana2-kairosdb-datasource-plugin |
Nice! Weird choice to license something that comes from Apache v2 (whole Grafana is Apache v2) into GPL... I believe it is your right (not an expert though), but it is not very good for us. This forbids us from using your contribution in our integrated solution that uses Grafana... I believe somebody will have to re-code it with a proper license ! |
Don't panic!, nobody has to recode anything. Is it OK now? :-) Tomorrow we will upload several more changes, specially support for NULL points and other stuff we have repaired. |
As Tony the Tiger would say: This is GRRRRREEEAAAAT! ;-) We will definitively test this as soon as you have finished. I believed Torkelo said somewhere that he wanted to maintain a version of grafana that would be fully client side. Do you know if this new plugin format is compatible with that? |
Yes, totally. The plugins at the moment are sending their queries to Grafana 2 in the usual format for KairosDB. So Grafana 2 is just a proxy to KairosDB for this kind of queries. Here you have an example of the query format: {
"metrics": [{
"name": "metric1",
"aggregators": [{
"name": "avg",
"align_sampling": true,
"sampling": {
"value": "1",
"unit": "minutes"
}
}]
}],
"cache_time": 0,
"start_absolute": 1428544495222,
"end_absolute": 1428594702407
} and the answer: {
"queries": [{
"sample_size": 3,
"results": [{
"name": "metric1",
"group_by": [{
"name": "type",
"type": "number"
}],
"tags": {
"lolo": ["metric1"]
},
"values": [
[1428573694970, 22]
]
}, {
"name": "metric1",
"group_by": [{
"name": "type",
"type": "text"
}],
"tags": {
"metric1": ["metric1"]
},
"values": [
[1428573694969, "None"],
[1428573694971, "None"]
]
}]
}]
} The url was: So I don't see why not to have Grafana 2 fully client side. 👍 |
Hi, guys As @torkelo commented in #4, KairosDB Plugin ( compatible with Grafana 2.x ) is in a branch of grafana repo. |
Is this plugin compatible with grafana 2?
The text was updated successfully, but these errors were encountered: