diff options
author | Evan Read <eread@gitlab.com> | 2018-11-30 09:07:14 +1000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2018-11-30 09:07:14 +1000 |
commit | 141d3eb997d3acf9d5e1157a4bddf9389899701c (patch) | |
tree | db7adff815ba486751f5b4e8fca614ef184a0bd2 /doc/administration/monitoring | |
parent | fc0258aec12d6bf697274028208d76a6c05307ca (diff) | |
download | gitlab-ce-141d3eb997d3acf9d5e1157a4bddf9389899701c.tar.gz |
Remove broken link and fix markdown formatting
Diffstat (limited to 'doc/administration/monitoring')
-rw-r--r-- | doc/administration/monitoring/performance/request_profiling.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/administration/monitoring/performance/request_profiling.md b/doc/administration/monitoring/performance/request_profiling.md index c358dfbead2..dfd9be3d04c 100644 --- a/doc/administration/monitoring/performance/request_profiling.md +++ b/doc/administration/monitoring/performance/request_profiling.md @@ -1,16 +1,17 @@ # Request Profiling ## Procedure + 1. Grab the profiling token from `Monitoring > Requests Profiles` admin page -(highlighted in a blue in the image below). -![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 - * [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` + (highlighted in a blue in the image below). + ![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: + - Browser extensions. For example, [ModHeader](https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj) Chrome extension. + - `curl`. For example, `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. -![Profiling output](img/request_profile_result.png) + view the profiling output from `Monitoring > Requests Profiles` admin page. + ![Profiling output](img/request_profile_result.png) ## Cleaning up + Profiling output will be cleared out every day via a Sidekiq worker. |