Commit 141d3eb9 authored by Evan Read's avatar Evan Read

Remove broken link and fix markdown formatting

parent fc0258ae
# Request Profiling # Request Profiling
## Procedure ## Procedure
1. Grab the profiling token from `Monitoring > Requests Profiles` admin page 1. Grab the profiling token from `Monitoring > Requests Profiles` admin page
(highlighted in a blue in the image below). (highlighted in a blue in the image below).
![Profile token](img/request_profiling_token.png) ![Profile token](img/request_profiling_token.png)
1. Pass the header `X-Profile-Token: <token>` to the request you want to profile. You can use any of these tools 1. Pass the header `X-Profile-Token: <token>` to the request you want to profile. You can use:
* [ModHeader](https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj) Chrome extension - Browser extensions. For example, [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`. For example, `curl --header 'X-Profile-Token: <token>' https://gitlab.example.com/group/project`.
* `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 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. view the profiling output from `Monitoring > Requests Profiles` admin page.
![Profiling output](img/request_profile_result.png) ![Profiling output](img/request_profile_result.png)
## Cleaning up ## Cleaning up
Profiling output will be cleared out every day via a Sidekiq worker. Profiling output will be cleared out every day via a Sidekiq worker.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment