/doc/administration/monitoring/performance/request_profiling.md
https://gitlab.com/visay/gitlab-ce · Markdown · 16 lines · 14 code · 2 blank · 0 comment · 0 complexity · bab43ce178dfee35cdc29626a52a1d0b MD5 · raw file
- # Request Profiling
- ## Procedure
- 1. Grab the profiling token from `Monitoring > Requests Profiles` admin page
- (highlighted in a blue in the image below).
- 
- 1. Pass the header `X-Profile-Token: <token>` to the request you want to profile. You can use any of these tools
- * [ModHeader](https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj) Chrome extension
- * [Modify Headers](https://addons.mozilla.org/en-US/firefox/addon/modify-headers/) Firefox extension
- * `curl --header 'X-Profile-Token: <token>' https://gitlab.example.com/group/project`
- 1. Once request is finished (which will take a little longer than usual), you can
- view the profiling output from `Monitoring > Requests Profiles` admin page.
- 
- ## Cleaning up
- Profiling output will be cleared out every day via a Sidekiq worker.