The API is super important for Wikidata and I'd like to see usage statistics for it. Ideally it'd be split by API module.
See also: https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/1490
The API is super important for Wikidata and I'd like to see usage statistics for it. Ideally it'd be split by API module.
See also: https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/1490
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T108931 [Epic] Improve metrics and statistics for wikidata | |||
Resolved | Addshore | T64873 [Story] Statistics for Wikidata API usage | |||
Resolved | Addshore | T160825 Grafana: "wikidata-api" doesn't update anymore |
bingle-admin wrote:
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/cards/1490
Do we not already have exactly this through graphite?
Which unfortunately we still do not have access to (well the UI anyway, although poking the URLs you can see everything you want to).
Also this only seems to go back 3 months
(Btw, mingle updated it's urls without keeping backwards compat, apparently. The new url of the mingle card for this is: https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/1490 *grumbles at mingle*)
What does that Mingle link actually tell us? All i see is a link back into Bugzilla and a lot of fields with "not set" value.
Well, I recently started adding some apifeature logging to certain areas of the wikibase api.
The question is should I bother doing this?
Hoo mentioned to me that all api calls are logged anyway and he and others can just grep through said logs.
(of course this requires a level of cluster access, whereas apifeature logs can be see by anyone in the NDA group through logstash)..
If noone has any further comments I may start adding more api feature logging to out api modules! :)
So I am a bit at a loss wrt the current state after these patches. Is there now a place where we can see stats for Wikidata's API usage? If so where? If not what is still needed?
Ahhh, I was unaware of this!
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'File does not exist: /a/mw-log/archive/api/api.log-20170317.gz' in /a/analytics-wmde/src/scripts/src/wikidata/apiLogScanner.php:117 Stack trace: #0 /a/analytics-wmde/src/scripts/src/wikidata/apiLogScanner.php(52): WikidataApiLogScanner->dieIfFilesDoNotExist() #1 /a/analytics-wmde/src/scripts/src/wikidata/apiLogScanner.php(22): WikidataApiLogScanner->execute() #2 {main} thrown in /a/analytics-wmde/src/scripts/src/wikidata/apiLogScanner.php on line 117