-
- Downloads
There was an error fetching the commit references. Please try again later.
Add profile mode to extend request profiling
Extend the support for "X-Profile-Token: <token>" to have an additional header that defines type of profile we are looking for, like: X-Profile-Mode: execution X-Profile-Mode: memory
Showing
- app/controllers/admin/requests_profiles_controller.rb 4 additions, 4 deletionsapp/controllers/admin/requests_profiles_controller.rb
- app/views/admin/requests_profiles/index.html.haml 2 additions, 1 deletionapp/views/admin/requests_profiles/index.html.haml
- config/routes/admin.rb 1 addition, 1 deletionconfig/routes/admin.rb
- doc/administration/monitoring/performance/img/request_profile_result.png 0 additions, 0 deletions...ion/monitoring/performance/img/request_profile_result.png
- doc/administration/monitoring/performance/request_profiling.md 2 additions, 2 deletions...dministration/monitoring/performance/request_profiling.md
- lib/gitlab/request_profiler/middleware.rb 57 additions, 5 deletionslib/gitlab/request_profiler/middleware.rb
- lib/gitlab/request_profiler/profile.rb 17 additions, 8 deletionslib/gitlab/request_profiler/profile.rb
- spec/controllers/admin/requests_profiles_controller_spec.rb 44 additions, 19 deletionsspec/controllers/admin/requests_profiles_controller_spec.rb
- spec/features/admin/admin_requests_profiles_spec.rb 79 additions, 24 deletionsspec/features/admin/admin_requests_profiles_spec.rb
- spec/requests/request_profiler_spec.rb 15 additions, 5 deletionsspec/requests/request_profiler_spec.rb

| W: | H:
| W: | H:

