Summary
The BlockNotices dashboard is very useful for being able to evaluate impacts of blocks on block notices. Since it is mobile only, we have an incomplete picture of how users are impacted. This task proposes to more-or-less revert the patches in T214214: Disable block notice tracking.
Background
- Having a Grafana chart showing 1) count of users seeing block notices and 2) interactions on those block notices (e.g. clicking a CTA link) is very useful for understanding the impacts of IP blocks made on wikis
- We previously had tracking for multiple editing interfaces, but removed all but MobileFrontend's (it was reinstated in T260218: Add logging for measuring impact of our work on improving the mobile block messages)
User story
As a WMF staff member, I want to be able to quickly see data about block notices shown to users in editing and account creation contexts.
Technical notes
- The patches in T214214: Disable block notice tracking cannot just be reverted, because of the StatsLib migration (T350592: EPIC: migrate in use metrics and dashboards to statslib)
- We'll likely need a new config flag or to reuse the one that was added in T260218: Add logging for measuring impact of our work on improving the mobile block messages
- We should also include block notices seen on Special:CreateAccount
- We should make sure we track link clicks in the block notice, as these are useful potential indicators of whether a human was affected by the block
- We should also include DiscussionTools in the instrumentation
Acceptance criteria
The BlockNotices dashboard has:
- been updated to use Prometheus, and instrumentation is using StatsLib
- Data for mobile/desktop VisualEditor, mobile/desktop wikitext edior, mobile/desktop DiscussionTools
- Data for block notices on account creation
- Additional data points for CTAs clicked on in the block notice, if applicable