mirror of https://github.com/grafana/grafana
parent
3105215425
commit
a16c63a43e
@ -1,15 +1,11 @@ |
||||
{ |
||||
"pluginType": "datasource", |
||||
"name": "Grafana (for testing)", |
||||
"hide": true, |
||||
|
||||
"type": "grafana", |
||||
"serviceName": "GrafanaDatasource", |
||||
|
||||
"module": "plugins/datasource/grafana/datasource", |
||||
|
||||
"partials": { |
||||
"query": "app/plugins/datasource/grafana/partials/query.editor.html" |
||||
}, |
||||
|
||||
"metrics": true |
||||
} |
||||
|
||||
@ -0,0 +1,21 @@ |
||||
define([ |
||||
'angular', |
||||
], |
||||
function (angular) { |
||||
'use strict'; |
||||
|
||||
var module = angular.module('grafana.directives'); |
||||
|
||||
module.directive('metricQueryEditorGraphite', function() { |
||||
return {controller: 'GraphiteQueryCtrl', templateUrl: 'app/plugins/datasource/graphite/partials/query.editor.html'}; |
||||
}); |
||||
|
||||
module.directive('metricQueryOptionsGraphite', function() { |
||||
return {templateUrl: 'app/plugins/datasource/graphite/partials/query.options.html'}; |
||||
}); |
||||
|
||||
module.directive('annotationsQueryEditorGraphite', function() { |
||||
return {templateUrl: 'app/plugins/datasource/graphite/partials/annotations.editor.html'}; |
||||
}); |
||||
|
||||
}); |
||||
@ -0,0 +1,21 @@ |
||||
define([ |
||||
'angular', |
||||
], |
||||
function (angular) { |
||||
'use strict'; |
||||
|
||||
var module = angular.module('grafana.directives'); |
||||
|
||||
module.directive('metricQueryEditorInfluxdb', function() { |
||||
return {controller: 'InfluxQueryCtrl', templateUrl: 'app/plugins/datasource/influxdb/partials/query.editor.html'}; |
||||
}); |
||||
|
||||
module.directive('metricQueryOptionsInfluxdb', function() { |
||||
return {templateUrl: 'app/plugins/datasource/influxdb/partials/query.options.html'}; |
||||
}); |
||||
|
||||
module.directive('annotationsQueryEditorInfluxdb', function() { |
||||
return {templateUrl: 'app/plugins/datasource/influxdb/partials/annotations.editor.html'}; |
||||
}); |
||||
|
||||
}); |
||||
@ -1,15 +1,11 @@ |
||||
{ |
||||
"pluginType": "datasource", |
||||
"name": "Mixed datasource", |
||||
"hide": true, |
||||
|
||||
"type": "mixed", |
||||
"serviceName": "MixedDatasource", |
||||
|
||||
"module": "plugins/datasource/mixed/datasource", |
||||
|
||||
"partials": { |
||||
"query": "app/plugins/datasource/mixed/partials/query.editor.html" |
||||
}, |
||||
|
||||
"metrics": true |
||||
} |
||||
|
||||
@ -0,0 +1,16 @@ |
||||
define([ |
||||
'angular', |
||||
], |
||||
function (angular) { |
||||
'use strict'; |
||||
|
||||
var module = angular.module('grafana.directives'); |
||||
|
||||
module.directive('metricQueryEditorOpentsdb', function() { |
||||
return { |
||||
controller: 'OpenTSDBQueryCtrl', |
||||
templateUrl: 'app/plugins/datasource/opentsdb/partials/query.editor.html', |
||||
}; |
||||
}); |
||||
|
||||
}); |
||||
Loading…
Reference in new issue