gitlab-org--gitlab-foss/config
Yorick Peterse dec3e4ce64 Added Sherlock, a custom profiling tool for GitLab
Sherlock will be a new GitLab specific tool for measuring the
performance of Rails requests (and SideKiq jobs at some point). Some of
the things that are currently tracked:

* SQL queries along with their timings, backtraces and query plans
  (using "EXPLAIN ANALYZE" for PostgreSQL and regular "EXPLAIN" for
  MySQL)
* Timings of application files (including views) on a per line basis
* Some meta data such as the request method, path, total duration, etc

More tracking (e.g. Rugged or gitlab-shell timings) might be added in
the future.

Sherlock will replace any existing tools we have used so far (e.g.
active_record_query_trace and rack-mini-profiler), hence the
corresponding Gems have been removed from the Gemfile.

Sherlock can be enabled by starting Rails as following:

    ENABLE_SHERLOCK=1 bundle exec rails s

Recorded transactions can be found at `/sherlock/transactions`.
2015-11-09 14:29:10 +01:00
..
environments Added rack-lineprof for development 2015-10-15 12:05:01 +02:00
initializers Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
locales Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
application.rb Use methods: :any in our rack-cors configuration 2015-10-07 22:08:37 -04:00
aws.yml.example Add a note that changing example configuration files requires changing omnibus-gitlab. 2015-06-11 15:11:37 +02:00
boot.rb
database.yml.mysql set the collation to utf8_general_ci 2014-08-13 14:45:23 +01:00
database.yml.postgresql Remove 'socket' example PostgreSQL parameter 2014-07-01 18:27:50 +02:00
environment.rb
gitlab.teatro.yml Revert "Allow to configure smtp and sendmail in gitlab.yml" 2015-05-06 17:39:18 +03:00
gitlab.yml.example Add Facebook authentication 2015-11-03 17:59:07 +01:00
mail_room.yml Make Reply by email easier to configure 2015-10-13 13:10:49 +02:00
newrelic.yml Add dormant New Relic gem 2014-09-16 17:31:20 +02:00
resque.yml.example Add a note that changing example configuration files requires changing omnibus-gitlab. 2015-06-11 15:11:37 +02:00
routes.rb Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
schedule.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
secrets.yml.example Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
sidekiq.yml.example Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
unicorn.rb.example Add a note that changing example configuration files requires changing omnibus-gitlab. 2015-06-11 15:11:37 +02:00
unicorn.rb.example.development Increase unicorn timeout to 60 seconds 2014-09-23 17:11:16 +03:00