Page MenuHomePhabricator

Create chart showing the amount of total items/properties on Platform Summary Dashboard
Open, Needs TriagePublic

Description

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:

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

Event Timeline

Evelien_WMDE set the point value for this task to 8.
Evelien_WMDE renamed this task from Create dashboard with charts showing the amount of total items/properties to Create chart showing the amount of total items/properties on Platform Summary Dashboard.Sep 8 2022, 2:12 PM
Evelien_WMDE updated the task description. (Show Details)

After inspecting this we believe that there is a necessity for a common api that returns wiki metrics for use here as well as in T324099 and whatever "discovery platform we build"

Tarrow removed the point value for this task.Aug 3 2023, 1:10 PM
Tarrow added a subscriber: Evelien_WMDE.

@Evelien_WMDE We talked about if we should revisit the possibility for public readability of these graphs

@dang Hey! We noticed you licked this cookie and so wanted to flag up that we've stuck the ticket about trying out SuperSet (T358230) ahead of this ticket. We could imagine that the outcome of that would drive the work on this ticket or T343719.

We think this should involve something like the following steps:

  • count of pages in the item namespace using an API call to each wikibase
  • count of pages in the property namespace using an API call to each wikibase
  • save these into the WikiStats object for each wiki
  • export these to google managed prometheus for we end up with a nice timeseries graph