-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
False
-
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
When enabled (through report_traffic: true in settings.yml), ReportTrafficWorker reports the usage of the system APIs to backend.
However, reporting Analytics API might not be exactly correct. There is a condition for reporting this API:
after_action :report_traffic, :if => :api_request?
Which only evaluates to true when params[:provider_key].present?, but nowadays all API calls are supposed to be sent with Service Tokens, so this condition will not be satisfied in most of cases, and the usage for Analytics API would be underreported, or not reported at all.