grafana/public/app/plugins/datasource/opentsdb/module.ts

14 lines
469 B
TypeScript
Raw Normal View History

2017-12-20 05:33:33 -06:00
import OpenTsDatasource from './datasource';
import { OpenTsQueryCtrl } from './query_ctrl';
import { DataSourcePlugin } from '@grafana/data';
import { ConfigEditor } from './components/ConfigEditor';
2016-03-08 09:47:36 -06:00
class AnnotationsQueryCtrl {
2017-12-20 05:33:33 -06:00
static templateUrl = 'partials/annotations.editor.html';
2016-03-08 09:47:36 -06:00
}
export const plugin = new DataSourcePlugin(OpenTsDatasource)
.setQueryCtrl(OpenTsQueryCtrl)
.setConfigEditor(ConfigEditor)
.setAnnotationQueryCtrl(AnnotationsQueryCtrl);