grafana/public/app/plugins/datasource/opentsdb/module.ts
Brendan O'Handley 82d8015469
OpenTSDB: Convert the OpenTSDB Query Editor from Angular to React (#54677)
* 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
2022-10-03 17:00:46 -04:00

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);