mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ReactMigration: Migrate Loki and Elastic config pages to React (#19979)
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
import { DataSourcePlugin } from '@grafana/ui';
|
||||
import Datasource from './datasource';
|
||||
|
||||
import LokiCheatSheet from './components/LokiCheatSheet';
|
||||
import LokiQueryField from './components/LokiQueryField';
|
||||
import LokiQueryEditor from './components/LokiQueryEditor';
|
||||
import { LokiAnnotationsQueryCtrl } from './LokiAnnotationsQueryCtrl';
|
||||
import { ConfigEditor } from './components/ConfigEditor';
|
||||
|
||||
export class LokiConfigCtrl {
|
||||
static templateUrl = 'partials/config.html';
|
||||
}
|
||||
|
||||
export {
|
||||
Datasource,
|
||||
LokiQueryEditor as QueryEditor,
|
||||
LokiConfigCtrl as ConfigCtrl,
|
||||
LokiQueryField as ExploreQueryField,
|
||||
LokiCheatSheet as ExploreStartPage,
|
||||
LokiAnnotationsQueryCtrl as AnnotationsQueryCtrl,
|
||||
};
|
||||
export const plugin = new DataSourcePlugin(Datasource)
|
||||
.setQueryEditor(LokiQueryEditor)
|
||||
.setConfigEditor(ConfigEditor)
|
||||
.setExploreQueryField(LokiQueryField)
|
||||
.setExploreStartPage(LokiCheatSheet)
|
||||
.setAnnotationQueryCtrl(LokiAnnotationsQueryCtrl);
|
||||
|
||||
Reference in New Issue
Block a user