mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
* add query editor to module * add metric section, add tests, update query type * remove use of any for betterer * fix test * add tooltip for alias * run runQuery on select change, fix metric select loading * add downsample row, differentiate for tsdb version * add tests for mteric section and downsample section * add filter section react component and tests * add tag section and tests * add rate section and tests * remove angular code * fix styling * remove comments * remove unused code
10 lines
361 B
TypeScript
10 lines
361 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
|
|
import { ConfigEditor } from './components/ConfigEditor';
|
|
import { OpenTsdbQueryEditor } from './components/OpenTsdbQueryEditor';
|
|
import OpenTsDatasource from './datasource';
|
|
|
|
export const plugin = new DataSourcePlugin(OpenTsDatasource)
|
|
.setQueryEditor(OpenTsdbQueryEditor)
|
|
.setConfigEditor(ConfigEditor);
|