mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* adding configeditor * fix method signature and add state for metrictankhelper * fix onChangeHandler * prettier fix * remove config and fix autoversion * adding optional parameter to make this build * set default version if none specified * Graphite: removed version detection
14 lines
484 B
TypeScript
14 lines
484 B
TypeScript
import { GraphiteDatasource } from './datasource';
|
|
import { GraphiteQueryCtrl } from './query_ctrl';
|
|
import { DataSourcePlugin } from '@grafana/data';
|
|
import { ConfigEditor } from './configuration/ConfigEditor';
|
|
|
|
class AnnotationsQueryCtrl {
|
|
static templateUrl = 'partials/annotations.editor.html';
|
|
}
|
|
|
|
export const plugin = new DataSourcePlugin(GraphiteDatasource)
|
|
.setQueryCtrl(GraphiteQueryCtrl)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setAnnotationQueryCtrl(AnnotationsQueryCtrl);
|