Commit 6a71eea9 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'sh-remove-token-from-profiling-docs' into 'master'

Remove requirement for personal access token in profiling

See merge request gitlab-org/gitlab-ce!29972
parents 0e6e924b 22cfb858
......@@ -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.
......
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