mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #15301 from grafana/azure-monitor-autocomplete
Azure Monitor: improve autocomplete for Log Analytics and App Insights editor
This commit is contained in:
@@ -12,6 +12,7 @@ import appEvents from 'app/core/app_events';
|
||||
import { BackendSrv, setBackendSrv } from 'app/core/services/backend_srv';
|
||||
import { TimeSrv, setTimeSrv } from 'app/features/dashboard/services/TimeSrv';
|
||||
import { DatasourceSrv, setDatasourceSrv } from 'app/features/plugins/datasource_srv';
|
||||
import { KeybindingSrv, setKeybindingSrv } from 'app/core/services/keybindingSrv';
|
||||
import { AngularLoader, setAngularLoader } from 'app/core/services/AngularLoader';
|
||||
import { configureStore } from 'app/store/configureStore';
|
||||
|
||||
@@ -30,6 +31,7 @@ export class GrafanaCtrl {
|
||||
backendSrv: BackendSrv,
|
||||
timeSrv: TimeSrv,
|
||||
datasourceSrv: DatasourceSrv,
|
||||
keybindingSrv: KeybindingSrv,
|
||||
angularLoader: AngularLoader
|
||||
) {
|
||||
// make angular loader service available to react components
|
||||
@@ -37,6 +39,7 @@ export class GrafanaCtrl {
|
||||
setBackendSrv(backendSrv);
|
||||
setDatasourceSrv(datasourceSrv);
|
||||
setTimeSrv(timeSrv);
|
||||
setKeybindingSrv(keybindingSrv);
|
||||
configureStore();
|
||||
|
||||
$scope.init = () => {
|
||||
|
||||
Reference in New Issue
Block a user