2 Data Revision Requests:
Engineers - can we check authorization events being sent to product_metrics_apps_base that are showing NULL values for the mediawiki.database column. **Data**
This wasn't stated in the instrumentation docs because it was when I thought this value was tracked automatically - we later found out it needs to be mapped explicitly, so this isn't technically a 'bug' but a 'need to add' . This will be important when we want to monitor Captcha errors by wiki which is coming up next week. We are seeing some events with the value but most without (see data at bottom of ticket).
While we are changing code can we also rename the element_id value to create_account_button instead of submit_button where:
action = click
action_source = create_account_form
funnel_name = create_account
See Instrumentation deck
Mediawiki.database Data:
I did check all actions/mediawiki.database values for all live versions and see we are showing a mediawiki.database for 114 different wikis - so I can't pinpoint it to one missing wiki, that could be happening but the counts being so high indicate this might be a bug that's affecting all actions. I checked both funnel_names create_account and login_account.
Counts below are from funnel_name = create_account App version 6052 only (wanted to make sure this affected the latest version)
| action | Count NULL Database events (Fix) | Count NOT NULL Database events (Good) |
|---|---|---|
| type | 136752 | 1729 |
| error | 26832 | 226 |
| click | 22008 | 221 |
| fancy_captcha_show | 15630 | 120 |
| impression | 13750 | 295 |
| fancy_captcha_success | 6861 | 6 |
| success | 6605 | 6 |
| fancy_captcha_error | 2013 | 5 |
Test Steps
Fixes are in 8.2.0 (6066) and later builds.
Enable dev settings toggle "Send analytics to wmflabs".
Go to https://stream.wikimedia.beta.wmflabs.org/v2/ui/#/
Watch for events with Stream: "product_metrics.app_base", Instrument name: "apps-authentication"