Commit 3423ef86 by Domas Committed by GitHub

respect fronted-logging.enabled flag (#29107)

parent 4430ca23
...@@ -206,13 +206,15 @@ export class GrafanaApp { ...@@ -206,13 +206,15 @@ export class GrafanaApp {
}); });
registerEchoBackend(new PerformanceBackend({})); registerEchoBackend(new PerformanceBackend({}));
registerEchoBackend( if (config.sentry.enabled) {
new SentryEchoBackend({ registerEchoBackend(
...config.sentry, new SentryEchoBackend({
user: config.bootData.user, ...config.sentry,
buildInfo: config.buildInfo, user: config.bootData.user,
}) 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