module.ts 619 B

1234567891011121314151617181920212223
  1. import {PrometheusDatasource} from './datasource';
  2. import {PrometheusQueryCtrl} from './query_ctrl';
  3. // function metricsQueryEditor() {
  4. // return {controller: 'PrometheusQueryCtrl', templateUrl: 'public/app/plugins/datasource/prometheus/partials/query.editor.html'};
  5. // }
  6. //
  7. // function configView() {
  8. // return {templateUrl: ''};
  9. // }
  10. class PrometheusConfigViewCtrl {
  11. static templateUrl = 'public/app/plugins/datasource/prometheus/partials/config.html';
  12. }
  13. export {
  14. PrometheusDatasource as Datasource,
  15. PrometheusQueryCtrl as MetricsQueryEditor,
  16. PrometheusConfigViewCtrl as ConfigView
  17. };