mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 14:04:36 +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:
@ -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,
|
||||
|
Reference in New Issue
Block a user