forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
469 B
13 lines
469 B
import OpenTsDatasource from './datasource';
|
|
import { OpenTsQueryCtrl } from './query_ctrl';
|
|
import { DataSourcePlugin } from '@grafana/data';
|
|
import { ConfigEditor } from './components/ConfigEditor';
|
|
|
|
class AnnotationsQueryCtrl {
|
|
static templateUrl = 'partials/annotations.editor.html';
|
|
}
|
|
|
|
export const plugin = new DataSourcePlugin(OpenTsDatasource)
|
|
.setQueryCtrl(OpenTsQueryCtrl)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setAnnotationQueryCtrl(AnnotationsQueryCtrl);
|
|
|