mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* migrate influxQL annotations to react and build new annotation editor * use es-lint ignore for any type in migration * changes for PR comments * handle annotation editor on load error without query * correct label for ann editor query * add null coalesce operator and remove comment * fix tooltip
14 lines
547 B
TypeScript
14 lines
547 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
|
|
import ConfigEditor from './components/ConfigEditor';
|
|
import InfluxStartPage from './components/InfluxStartPage';
|
|
import { QueryEditor } from './components/QueryEditor';
|
|
import VariableQueryEditor from './components/VariableQueryEditor';
|
|
import InfluxDatasource from './datasource';
|
|
|
|
export const plugin = new DataSourcePlugin(InfluxDatasource)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setQueryEditor(QueryEditor)
|
|
.setVariableQueryEditor(VariableQueryEditor)
|
|
.setQueryEditorHelp(InfluxStartPage);
|