summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-06-23 23:48:52 -0700
committerStan Hu <stanhu@gmail.com>2019-06-23 23:48:52 -0700
commit22cfb8588ce0752c11397eae158a935709fe533d (patch)
tree6921d87590ea3d86b77e3fb24adc32de4a4c05cf
parent97e8f494427582251af55056d25459bf038dabbc (diff)
downloadgitlab-ce-sh-remove-token-from-profiling-docs.tar.gz
Remove requirement for personal access token in profilingsh-remove-token-from-profiling-docs
Since https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23320, personal access tokens are no longer needed for profiling an endpoint since users are stubbed directly.
-rw-r--r--doc/development/profiling.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/development/profiling.md b/doc/development/profiling.md
index b2f3a105b23..795523b82aa 100644
--- a/doc/development/profiling.md
+++ b/doc/development/profiling.md
@@ -38,10 +38,6 @@ For routes that require authorization you will need to provide a user to
Gitlab::Profiler.profile('/gitlab-org/gitlab-test', user: User.first)
```
-The user you provide will need to have a [personal access
-token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) in
-the GitLab instance.
-
Passing a `logger:` keyword argument to `Gitlab::Profiler.profile` will send
ActiveRecord and ActionController log output to that logger. Further options are
documented with the method source.