mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
18 lines
697 B
TypeScript
18 lines
697 B
TypeScript
import InfluxDatasource from './datasource';
|
|
import { QueryEditor } from './components/QueryEditor';
|
|
import InfluxStartPage from './components/InfluxStartPage';
|
|
import { DataSourcePlugin } from '@grafana/data';
|
|
import ConfigEditor from './components/ConfigEditor';
|
|
import VariableQueryEditor from './components/VariableQueryEditor';
|
|
|
|
class InfluxAnnotationsQueryCtrl {
|
|
static templateUrl = 'partials/annotations.editor.html';
|
|
}
|
|
|
|
export const plugin = new DataSourcePlugin(InfluxDatasource)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setQueryEditor(QueryEditor)
|
|
.setAnnotationQueryCtrl(InfluxAnnotationsQueryCtrl)
|
|
.setVariableQueryEditor(VariableQueryEditor)
|
|
.setQueryEditorHelp(InfluxStartPage);
|