module.ts 423 B

1234567891011
  1. import { DataSourcePlugin } from '@grafana/data';
  2. import CheatSheet from './CheatSheet';
  3. import { TempoQueryField } from './QueryEditor/QueryField';
  4. import { ConfigEditor } from './configuration/ConfigEditor';
  5. import { TempoDatasource } from './datasource';
  6. export const plugin = new DataSourcePlugin(TempoDatasource)
  7. .setQueryEditor(TempoQueryField)
  8. .setConfigEditor(ConfigEditor)
  9. .setQueryEditorHelp(CheatSheet);