mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
enable profiling in development mode
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user