Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-03-07 14:06:12 +0300
committerSean McGivern <sean@gitlab.com>2019-03-07 14:06:12 +0300
commit7798cd874b6a21dcee7a6314241738353c9e3945 (patch)
treecc4352723e2453bae98c9d46642fc87a49e566ae
parent5c59ff3df2c50696cbffffe38a82c8767d3e2a88 (diff)
Profiler only works with absolute URLs and paths
-rw-r--r--doc/development/profiling.md4
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.