From 975b53b31845e596ab2f7093f2362901797197c9 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Mon, 6 Jun 2016 13:49:49 +0900 Subject: [PATCH] enable profiling in development mode --- public/app/core/components/grafana_app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/grafana_app.ts b/public/app/core/components/grafana_app.ts index 0a2e49e5d72..bfa0720fd71 100644 --- a/public/app/core/components/grafana_app.ts +++ b/public/app/core/components/grafana_app.ts @@ -17,7 +17,7 @@ export class GrafanaCtrl { $scope._ = _; - $rootScope.profilingEnabled = store.getBool('profilingEnabled'); + $rootScope.profilingEnabled = store.getBool('profilingEnabled') || config.buildInfo.env === 'development'; $rootScope.performance = { loadStart: new Date().getTime() }; $rootScope.appSubUrl = config.appSubUrl;