grafana/public/app/plugins/datasource/graphite/module.ts
Brendan O'Handley 6c3efb0c88
Graphite Plugin: Remove angular dependencies for graphite annotations (#52261)
* fix merge conflict

* fix betterer

* handle new creating annotations

* add h5 'or' tag to annotation editor

* fix annotation regression looking for tags before target

* remove angular annotation partial

* change ann tags type to string[] and use TagsInput to create ann

* remove GraphiteEventsType, return annotations targets setting 'textEditor': true

* fix yarn typecheck errors

* add dateTime for yarn fix to tests

* fix incorrect merge conflict resolution

* fix betterer

* making changes for PR approval resolutions

* fix prettier issue

* fix prettier
2022-07-27 16:27:42 -04:00

14 lines
629 B
TypeScript

import { DataSourcePlugin } from '@grafana/data';
import { GraphiteQueryEditor } from './components/GraphiteQueryEditor';
import { GraphiteVariableEditor } from './components/GraphiteVariableEditor';
import { MetricTankMetaInspector } from './components/MetricTankMetaInspector';
import { ConfigEditor } from './configuration/ConfigEditor';
import { GraphiteDatasource } from './datasource';
export const plugin = new DataSourcePlugin(GraphiteDatasource)
.setQueryEditor(GraphiteQueryEditor)
.setConfigEditor(ConfigEditor)
.setVariableQueryEditor(GraphiteVariableEditor)
.setMetadataInspector(MetricTankMetaInspector);