Description
- Instrument the existing (internal) function-call API to track the calls, and which functions are called.
- Make sure the metrics events distinguishable from the public wikifunctions_run API (T360369).
Notes:
- TBD: Can/should we track country, device type, and/or language of the caller?
- Not necessary to record the input arguments of the function calls.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist