diff options
author | Sean McGivern <sean@gitlab.com> | 2019-03-07 11:06:12 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-03-07 11:06:12 +0000 |
commit | 7798cd874b6a21dcee7a6314241738353c9e3945 (patch) | |
tree | cc4352723e2453bae98c9d46642fc87a49e566ae /doc/development/profiling.md | |
parent | 5c59ff3df2c50696cbffffe38a82c8767d3e2a88 (diff) | |
download | gitlab-ce-7798cd874b6a21dcee7a6314241738353c9e3945.tar.gz |
Profiler only works with absolute URLs and paths
Diffstat (limited to 'doc/development/profiling.md')
-rw-r--r-- | doc/development/profiling.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/development/profiling.md b/doc/development/profiling.md index be13485ff78..b2f3a105b23 100644 --- a/doc/development/profiling.md +++ b/doc/development/profiling.md @@ -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 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 arguments. |