Commit 3423ef86 by Domas Committed by GitHub

respect fronted-logging.enabled flag (#29107)

parent 4430ca23
...@@ -206,6 +206,7 @@ export class GrafanaApp { ...@@ -206,6 +206,7 @@ export class GrafanaApp {
}); });
registerEchoBackend(new PerformanceBackend({})); registerEchoBackend(new PerformanceBackend({}));
if (config.sentry.enabled) {
registerEchoBackend( registerEchoBackend(
new SentryEchoBackend({ new SentryEchoBackend({
...config.sentry, ...config.sentry,
...@@ -213,6 +214,7 @@ export class GrafanaApp { ...@@ -213,6 +214,7 @@ export class GrafanaApp {
buildInfo: config.buildInfo, buildInfo: config.buildInfo,
}) })
); );
}
window.addEventListener('DOMContentLoaded', () => { window.addEventListener('DOMContentLoaded', () => {
reportPerformance('dcl', Math.round(performance.now())); reportPerformance('dcl', Math.round(performance.now()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment