Page MenuHomePhabricator

Create Prometheus-backed dashboard for BlockNotices
Closed, ResolvedPublic

Description

Follow the migration process as outlined below.

Secure/Conduct code review(s).
Deploy the changes to production via the train (https://wikitech.wikimedia.org/wiki/Deployments/Train).
Verify that the changes have been successfully implemented.
Update the relevant dashboard(s) by replacing the old Graphite metric(s) with the new Prometheus metric(s).
Please follow the guidelines and standards outlined in the provided documentation:

https://www.mediawiki.org/wiki/Manual:Stats for detailed guidance on the conversion process.
https://drive.google.com/file/d/12yQEuOapkML1vb9MgCaX1QzbLBdXE6X2/view for a video tutorial on the conversion process.
https://docs.google.com/presentation/d/1SZWf_D3mWNX-XHN8PHYI84LDZr6GUQC2AMhZ9mQXCI0/edit#slide=id.g2795460c956_0_23 for slides on the best practices for converting metrics to statslib.

  • MediaWiki.BlockNotices.*
  • MediaWiki.BlockNotices.$wiki.*
  • MediaWiki.BlockNotices.$wiki.$source.returned.count
  • MediaWiki.BlockNotices.$wiki.$source.shown.count
  • MediaWiki.BlockNotices.$wiki.MediaWikiApi.returned.count
  • MediaWiki.BlockNotices.$wiki.MobileFrontend.ctaClicked.count
  • MediaWiki.BlockNotices.$wiki.MobileFrontend.shown.count
  • MediaWiki.BlockNotices.$wiki.VisualEditor.returned.count
  • MediaWiki.BlockNotices.$wiki.VisualEditor.shown.count
  • MediaWiki.BlockNotices.$wiki.WikitextEditor
  • MediaWiki.BlockNotices.*.MobileFrontend.cta*.sum
  • MediaWiki.BlockNotices.*.MobileFrontend.reasonShown.sum
  • MediaWiki.BlockNotices.*.MobileFrontend.shown.rate
  • MediaWiki.BlockNotices.*.MobileFrontend.shown.sum
  • MediaWiki.BlockNotices.*.*.*.rate

Event Timeline

colewhite renamed this task from Migrate MediaWiki.BlockNotices.* to statslib to (mw.track) Migrate MediaWiki.BlockNotices.* to statslib.Apr 29 2024, 8:56 PM

Change #1112120 had a related patch set uploaded (by Cwhite; author: Cwhite):

[mediawiki/extensions/MobileFrontend@master] track block notices in Prometheus

https://gerrit.wikimedia.org/r/1112120

Change #1112120 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] BlockNotices: Track block notices in Prometheus

https://gerrit.wikimedia.org/r/1112120

kostajh added subscribers: colewhite, kostajh.

I see data in the BlockNotices dashboard on grafana: https://grafana.wikimedia.org/d/000000618/blocknotices

This dashboard is still using the Graphite, we need to build a new one using Prometheus. Moving this back to "Ready" to reflect that.

kostajh renamed this task from (mw.track) Migrate MediaWiki.BlockNotices.* to statslib to (mw.track) Migrate MediaWiki.BlockNotices.* to statslib and create new dashboard.Feb 5 2025, 2:39 PM
kostajh renamed this task from (mw.track) Migrate MediaWiki.BlockNotices.* to statslib and create new dashboard to Create Prometheus-backed dashboard for BlockNotices.Mar 12 2025, 12:27 PM
colewhite claimed this task.
colewhite updated the task description. (Show Details)

Dashboards migrated.