examples(plugin.json): add includes info

This commit is contained in:
bergquist 2016-03-08 16:48:45 +01:00
parent 138c738db9
commit 0ec747630d
4 changed files with 27 additions and 0 deletions

View File

@ -34,6 +34,11 @@
"updated": "2015-02-10"
},
"includes": [
{"type": "panel", "name": "Nginx Panel"},
{"type": "datasource", "name": "Nginx Datasource"}
],
"dependencies": {
"grafanaVersion": "3.x.x",
"plugins": [

View File

@ -0,0 +1,12 @@
export default class NginxDatasource {
constructor() {}
query(options) {
return [];
}
testDatasource() {
return false;
}
}

View File

@ -0,0 +1,5 @@
import {Datasource} from './datasource';
export {
Datasource
};

View File

@ -0,0 +1,5 @@
{
"type": "datasource",
"name": "Nginx Datasource",
"id": "nginx-datasource"
}