Skip to content

Commit 975b53b

Browse files
committed
enable profiling in development mode
1 parent 2f5ae85 commit 975b53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/core/components/grafana_app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class GrafanaCtrl {
1717

1818
$scope._ = _;
1919

20-
$rootScope.profilingEnabled = store.getBool('profilingEnabled');
20+
$rootScope.profilingEnabled = store.getBool('profilingEnabled') || config.buildInfo.env === 'development';
2121
$rootScope.performance = { loadStart: new Date().getTime() };
2222
$rootScope.appSubUrl = config.appSubUrl;
2323

0 commit comments

Comments
 (0)