Hi,
On Mon, Jan 13, 2014 at 09:47:34PM +0100, Erik Zachte wrote:
API calls are indeed something we need to look into further.
Do you (or anyone else) happen to know which specific API parameters I should search for in the squid log?
As webstatscollector limits itself to /wiki/ requests, it does not see api requests.
Some documentation of the api actions can be found on https://en.wikipedia.org/w/api.php The most relevant actions are parse and mobileview (search for "action=parse", or "action=mobileview" on the page). But they (in sum) currently amount to ~10% of api requests. When I last checked API requests were ~8% of all requests.
So impact might be ~0.8% of requests.
However, when looking for potential page views, /w/index.php might be a better candidate. Webstatscollector never cared about it, but last time I checked, it was about 6% of requests, and it breaks down >90% into actions raw, view, and render. Documentation for the actions is available at https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php
So impact might be ~5% of requests.
Have fun, Christian