mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 09:34:06 +08:00
feat(plugin-editors): more work on plugin editor loading
This commit is contained in:
23
public/app/plugins/datasource/prometheus/module.ts
Normal file
23
public/app/plugins/datasource/prometheus/module.ts
Normal file
@ -0,0 +1,23 @@
|
||||
import {PrometheusDatasource} from './datasource';
|
||||
import {PrometheusQueryCtrl} from './query_ctrl';
|
||||
|
||||
|
||||
|
||||
|
||||
// function metricsQueryEditor() {
|
||||
// return {controller: 'PrometheusQueryCtrl', templateUrl: 'public/app/plugins/datasource/prometheus/partials/query.editor.html'};
|
||||
// }
|
||||
//
|
||||
// function configView() {
|
||||
// return {templateUrl: ''};
|
||||
// }
|
||||
|
||||
class PrometheusConfigViewCtrl {
|
||||
static templateUrl = 'public/app/plugins/datasource/prometheus/partials/config.html';
|
||||
}
|
||||
|
||||
export {
|
||||
PrometheusDatasource as Datasource,
|
||||
PrometheusQueryCtrl as MetricsQueryEditor,
|
||||
PrometheusConfigViewCtrl as ConfigView
|
||||
};
|
Reference in New Issue
Block a user