Lucas_Werkmeister_WMDE added a comment.
These metrics come from analytics-wmde-scripts dispatch.php <https://gerrit.wikimedia.org/g/analytics/wmde/scripts/+/e640deb38e54ef1b19d944d80bad417e174636d2/src/wikidata/dispatch.php>, and are read from action=query&meta=siteinfo&siprop=statistics <https://www.wikidata.org/w/api.php?action=query&meta=siteinfo&format=json&siprop=statistics>. The data is supposed to be added to those statistics in RepoHooks::onAPIQuerySiteInfoStatisticsInfo() <https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/c048d6e2365b979a71bcffd095f94930470dd767/repo/includes/RepoHooks.php#851>, but that no longer has statistics to add: since we migrated change dispatching to the job queue, the `wb_changes` table is now empty most of the time, so the statistics are missing from the API response, and `dispatch.php` probably calls `WikimediaGraphite::sendNow()` with a null `$value` (after triggering some warnings for accessing nonexistent array keys). We’re restoring a small amount of dispatch statistics in T291846: New Content for Special:DispatchStats <https://phabricator.wikimedia.org/T291846>, but I don’t know if we’ll add this to the API as well, and/or whether this will be worth tracking in Graphite at all. TASK DETAIL https://phabricator.wikimedia.org/T293329 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Michael, fgiunchedi, Addshore, Aklapper, karapayneWMDE, Invadibot, maantietaja, lmata, Akuckartz, Nandana, Lahi, Gq86, herron, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
