We want to create a chart in the Google Cloud Console "Platform Summary" dashboard for:
- total count of items over all Wikibases we host
- total count of properties over all Wikibases we host
(total as aggregrations across the whole platform)
useful links:
- items/properties namespaces: https://github.com/wbstack/mediawiki/blob/main/dist-persist/wbstack/src/Settings/LocalSettings.php#L518
- Platform Stats Job: https://github.com/wbstack/api/blob/main/app/Jobs/PlatformStatsSummaryJob.php
- wikidata example: https://gerrit.wikimedia.org/g/analytics/wmde/scripts/+/3c0f9791912774bae41546412a048d2019b74b4b/src/wikidata/site_stats/pages_by_namespace.php
Possible direction to work in:
- We think this could be done by adding content to the public wiki api we're using for the discovery feature.
- We could add additional WikiStats fields for these entities
- These wiki stats fields could be populated by another api call
A/C:
- 2 charts exist for both staging and production cluster
- Need to be able to analyze trends over time, with at least a 2 month ongoing history
- Charts are shown in the Platform Summary dashboard