Page MenuHomePhabricator

[Analytics] Public dashboard pilot
Closed, ResolvedPublic

Description

Wikidata Analytics Request

This task was generated using the Wikidata Analytics request form. Please use the task template linked on our project page to create issues for the team. Thank you!

Purpose

Please provide as much context as possible as well as what the produced insights or services will be used for.

In T341330: [Analytics] Airflow implementation of unique IPs accessing Wikidata's REST API metrics we implemented our first Airflow-based data job. We now want our team members and the Wikidata community to be able to access the metric. For this we need to find a suitable public dashboarding tool.

Specific Results

Please detail the specific results that the task should deliver.

  • We know how to do this and have documented it
  • Publicly accessible dashboard that shows the data from T341330

Desired Outputs

Please list the desired outputs of this task.

  • Output

Information below this point is filled out by the task assignee.

Assignee Planning

Sub Tasks

A full breakdown of the steps to complete this task.

  • Subtask

Estimation

Estimate:
Actual:

Data

The tables that will be referenced in this task.

  • link_to_table

Notes

Things that came up during the completion of this task, questions to be answered and follow up tasks.

Event Timeline

Manuel renamed this task from [Analytics] Please add a descriptive title for the task! to [Analytics] Public Superset dashboard pilot.Mar 18 2024, 12:03 PM
Manuel updated the task description. (Show Details)
Manuel edited projects, added: WMDE Analytics (Kanban); removed: WMDE Analytics.

Note that from the most recent discussions with WMF data engineering, there isn't a set workflow for getting information into a place where it can be accessed via the Public Superset instance. We would need to edit the DAG such that we include an export step for the data getting to a place where the public instance can access it. This would require some more research.

Maybe another thing to consider is whether we'd prefer to have Graphite be the end export location for the data and then make a Grafana dashboard for this? Grafana does serve as the current public facing data dashboards for Wikidata, so it might make sense to leverage it more.

Further checks on this: the dashboarding process for the public Superset seems to be based on a few preset databases that have the data from Wikimedia projects (see SQL Lab). As of now I'm doubting whether we'd be able to have active rights over one of these such that tables we'd generate in Airflow could be added to one and used for visualizations. I've asked in the WMDE data channel if there are people with domain knowledge for Prometheus that could help with setting up a process where it would be one of the targets of the Airflow jobs. This to me seems more simple, with the end situation being that we use the main Superset instance for data processes that rely on the data lake/private data access, and then use Prometheus/Grafana for dashboards that are meant to be public facing.

I'll wait for further word on people who can assist with this, but I'd suggest that we keep this task and switch it over to one based on Prometheus if we decide to go in that direction :)

Post a large discussion about this in the data-engineering-collab channel on Slack, the general findings for this are:

This sounds like a good way forward, but the question of setting up the Turnilo instance and maintaining it then comes to mind. A big question is: how often are data pipelines supposed to be public, and would putting it all on a single Turnilo instance work well for our requirements?

AndrewTavis_WMDE renamed this task from [Analytics] Public Superset dashboard pilot to [Analytics] Public dashboard pilot.Mar 27 2024, 4:34 PM
AndrewTavis_WMDE updated the task description. (Show Details)

Note that I've made T361214: Data Platform - Public dashboard support to explain our use case of a standardized public dashboard process :)

AndrewTavis_WMDE changed the task status from Open to Stalled.Aug 13 2024, 3:05 PM
AndrewTavis_WMDE updated the task description. (Show Details)

@karapayneWMDE, @Ifrahkhanyaree_WMDE: I'd say given the adoption of Superset that we're good to close this task. If and when WMF adds public metrics, we'll then be able to make a new task for this, and T361214: Data Platform - Public dashboard support that I made covers the requirements for this on our end :)