forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
639 B
15 lines
639 B
import { GraphiteDatasource } from './datasource';
|
|
import { DataSourcePlugin } from '@grafana/data';
|
|
import { ConfigEditor } from './configuration/ConfigEditor';
|
|
import { MetricTankMetaInspector } from './components/MetricTankMetaInspector';
|
|
import { GraphiteQueryEditor } from './components/GraphiteQueryEditor';
|
|
|
|
class AnnotationsQueryCtrl {
|
|
static templateUrl = 'partials/annotations.editor.html';
|
|
}
|
|
|
|
export const plugin = new DataSourcePlugin(GraphiteDatasource)
|
|
.setQueryEditor(GraphiteQueryEditor)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setMetadataInspector(MetricTankMetaInspector)
|
|
.setAnnotationQueryCtrl(AnnotationsQueryCtrl);
|
|
|