diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-30 16:48:33 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-14 15:20:55 +0200 |
commit | 81022d76671a3c8961f6969542f8968901668a5f (patch) | |
tree | b04fd6d53e7118357a45fbab3de1937799fe13e7 /config | |
parent | 73c57fd3b0c6f4e66147f5eb0360ce99d26123b1 (diff) | |
download | gitlab-ce-81022d76671a3c8961f6969542f8968901668a5f.tar.gz |
Add user cohorts table to admin area
This table shows the percentage of users who registered in the last
twelve months, who last signed in during or later than each of those
twelve months, by month.
It is only enabled when the usage ping is enabled, and the page also
shows pretty-printed usage ping data.
The cohorts table is generated in Ruby from some basic SQL queries,
because performing the gap-filling and running sums needed in both MySQL
and Postgres is painful.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/admin.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb index 3c1c2ce2582..5b44d449b2b 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -106,6 +106,8 @@ namespace :admin do end end + resources :user_cohorts, only: :index + resources :builds, only: :index do collection do post :cancel_all |