mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
* Remove unused code * Remove test * Remove Builder mode and simplify the code * Fix step mapping * Fix import * change placeholder
12 lines
471 B
TypeScript
12 lines
471 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
|
|
import PromCheatSheet from './components/PromCheatSheet';
|
|
import PromQueryEditorByApp from './components/PromQueryEditorByApp';
|
|
import { ConfigEditor } from './configuration/ConfigEditor';
|
|
import { PrometheusDatasource } from './datasource';
|
|
|
|
export const plugin = new DataSourcePlugin(PrometheusDatasource)
|
|
.setQueryEditor(PromQueryEditorByApp)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setQueryEditorHelp(PromCheatSheet);
|