(cherry picked from commit ce513e4637)
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
co-authored by
Torkel Ödegaard
parent
94e9c0ea48
commit
df42e49d06
+4
-1
@@ -45,6 +45,7 @@ import { QueryRunner } from './features/query/state/QueryRunner';
|
||||
import { getTimeSrv } from './features/dashboard/services/TimeSrv';
|
||||
import { getVariablesUrlParams } from './features/variables/getAllVariableValuesForUrl';
|
||||
import getDefaultMonacoLanguages from '../lib/monaco-languages';
|
||||
import { contextSrv } from './core/services/context_srv';
|
||||
|
||||
// add move to lodash for backward compatabilty with plugins
|
||||
// @ts-ignore
|
||||
@@ -146,7 +147,9 @@ function initEchoSrv() {
|
||||
}
|
||||
});
|
||||
|
||||
registerEchoBackend(new PerformanceBackend({}));
|
||||
if (contextSrv.user.orgRole !== '') {
|
||||
registerEchoBackend(new PerformanceBackend({}));
|
||||
}
|
||||
|
||||
if (config.sentry.enabled) {
|
||||
registerEchoBackend(
|
||||
|
||||
Reference in New Issue
Block a user