mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
improve metrics gathered using in our traffic section
this also pulls out the middleware into its own home and inserts in front
This commit is contained in:
parent
ebc2ad7c81
commit
08b790b3c2
14 changed files with 188 additions and 104 deletions
|
@ -16,12 +16,8 @@ class AdminDashboardData
|
|||
'system_private_messages',
|
||||
'moderator_warning_private_messages',
|
||||
'notify_moderators_private_messages',
|
||||
'notify_user_private_messages',
|
||||
'anon_reqs',
|
||||
'crawler_reqs',
|
||||
'logged_in_reqs',
|
||||
'total_reqs'
|
||||
]
|
||||
'notify_user_private_messages'
|
||||
] + ApplicationRequest.req_types.keys.map{|r| r + "_reqs"}
|
||||
|
||||
def problems
|
||||
[ rails_env_check,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue