Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
141d3eb9
Commit
141d3eb9
authored
Nov 30, 2018
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove broken link and fix markdown formatting
parent
fc0258ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
doc/administration/monitoring/performance/request_profiling.md
...dministration/monitoring/performance/request_profiling.md
+9
-8
No files found.
doc/administration/monitoring/performance/request_profiling.md
View file @
141d3eb9
# 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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment