Commit d0588225 authored by Stan Hu's avatar Stan Hu

Merge branch 'docs-profiler-absolute-url' into 'master'

Profiler only works with absolute URLs and paths

Closes #43388

See merge request gitlab-org/gitlab-ce!25861
parents 6cfa5ee5 7798cd87
...@@ -10,6 +10,10 @@ There is a `Gitlab::Profiler.profile` method, and corresponding ...@@ -10,6 +10,10 @@ There is a `Gitlab::Profiler.profile` method, and corresponding
`bin/profile-url` script, that enable profiling a GET or POST request to a `bin/profile-url` script, that enable profiling a GET or POST request to a
specific URL, either as an anonymous user (the default) or as a specific user. specific URL, either as an anonymous user (the default) or as a specific user.
NOTE: **Note:** The first argument to the profiler is either a full URL
(including the instance hostname) or an absolute path, including the
leading slash.
When using the script, command-line documentation is available by passing no When using the script, command-line documentation is available by passing no
arguments. arguments.
......
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