Commit 3423ef86 by Domas Committed by GitHub

respect fronted-logging.enabled flag (#29107)

parent 4430ca23
......@@ -206,6 +206,7 @@ export class GrafanaApp {
});
registerEchoBackend(new PerformanceBackend({}));
if (config.sentry.enabled) {
registerEchoBackend(
new SentryEchoBackend({
...config.sentry,
......@@ -213,6 +214,7 @@ export class GrafanaApp {
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