mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Annotations: Add annotations support to Loki (#18949)
This commit is contained in:
@@ -12,6 +12,7 @@ import { FunctionEditor } from 'app/plugins/datasource/graphite/FunctionEditor';
|
||||
import { SearchField } from './components/search/SearchField';
|
||||
import { GraphContextMenu } from 'app/plugins/panel/graph/GraphContextMenu';
|
||||
import ReactProfileWrapper from 'app/features/profile/ReactProfileWrapper';
|
||||
import { LokiAnnotationsQueryEditor } from '../plugins/datasource/loki/components/AnnotationsQueryEditor';
|
||||
|
||||
export function registerAngularDirectives() {
|
||||
react2AngularDirective('sidemenu', SideMenu, []);
|
||||
@@ -102,4 +103,10 @@ export function registerAngularDirectives() {
|
||||
]);
|
||||
|
||||
react2AngularDirective('reactProfileWrapper', ReactProfileWrapper, []);
|
||||
|
||||
react2AngularDirective('lokiAnnotationsQueryEditor', LokiAnnotationsQueryEditor, [
|
||||
'expr',
|
||||
'onChange',
|
||||
['datasource', { watchDepth: 'reference' }],
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user