FEATURE: Track API and user API requests (#19186)

Adds stats for API and user API requests similar to regular page views.
This comes with a new report to visualize API requests per day like the
consolidated page views one.
This commit is contained in:
Bianca Nenciu
2022-11-29 13:07:42 +02:00
committed by GitHub
parent c139767055
commit 3048d3d07d
8 changed files with 187 additions and 5 deletions

View File

@ -11,7 +11,9 @@ class ApplicationRequest < ActiveRecord::Base
page_view_logged_in
page_view_anon
page_view_logged_in_mobile
page_view_anon_mobile)
page_view_anon_mobile
api
user_api)
include CachedCounting