Commit 3423ef86 by Domas Committed by GitHub

respect fronted-logging.enabled flag (#29107)

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