[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

QA Search preview instrumentation
Closed, ResolvedPublic

Description

Structured data team deployed the instrumentation to track search previews (T307572).
The instrumentation spec has been defined in this document.

Instrumentation note

The related events will be stored in mediawiki_searchpreview schema.

QA summary

Schema QA in betalabs (T321069#8462307 by @Etonkovidova)

What has been checkedStatusNote
wiki✅ passrecorded
action✅ passsee the comment for the examples of recorded events
platform✅ pass2 types of source are captured: mobile and desktop
result_display_position✅ passfixed - go to other search page (next 20 search results for example), get result_display_position: -1
session_idfixed - null on mobile (it's always not null on desktop)
meta✅ passrecorded
dt✅ passrecorded

Schema QA on production

Event Timeline

cchen triaged this task as Medium priority.Dec 7 2022, 8:44 PM
cchen created this task.
cchen moved this task from Triage to Upcoming Quarter on the Product-Analytics board.

Examples of click-article-section and click-interwiki-commons events:

$schema: /analytics/mediawiki/searchpreview/1.0.0
action: click-article-section
result_display_position: 0
wiki_id: enwiki
platform: desktop
session_id: e10ed74a0f372fad0deelbvfs3l3
meta:
  stream: mediawiki.searchpreview
  domain: en.wikipedia.beta.wmflabs.org
  id: 2f1ea285-d1d6-4d56-9a44-1a22b144b510
  dt: '2022-12-19T23:38:43.931Z'
$schema: /analytics/mediawiki/searchpreview/1.0.0
action: click-interwiki-commons
result_display_position: 0
wiki_id: enwiki
platform: desktop
session_id: e10ed74a0f372fad0deelbvfs3l3
meta:
  stream: mediawiki.searchpreview
  domain: en.wikipedia.beta.wmflabs.org
  id: ac0c8561-95f6-4d14-a12c-5abcf0de4eb4
  dt: '2022-12-19T23:39:09.457Z'

Example of Mobile session_id is recorded:

$schema: "/analytics/mediawiki/searchpreview/1.0.0"
action: "open-searchpreview"
dt: "2022-12-20T00:21:44.082Z"
meta: {stream: 'mediawiki.searchpreview', domain: 'en.wikipedia.beta.wmflabs.org'}
platform: "mobile"
result_display_position: 2
session_id: null
wiki_id: "enwiki"


$schema: "/analytics/mediawiki/searchpreview/1.0.0"
action: "click-image"
dt: "2022-12-20T00:19:37.176Z"
meta: {stream: 'mediawiki.searchpreview', domain: 'en.wikipedia.beta.wmflabs.org'}
platform: "mobile"
result_display_position: 1
session_id: null
wiki_id: "enwiki"

Re-tested in betalabs the presence of all actions based on mediwiki.searchpreview schema in betalabs :

actiondesktopmobile
open-searchpreview
close-searchpreview
click-image
click-snippet
click-article-section
click-interwiki-commons
click-interwiki-links
  • click-interwiki-links on Desktop was not recorded
  • did not see any events recorded from mobile

The data QA of the instrumentation in production done on 2023-01-31. See QA notebook for details.

What has been checkedStatusNote
date✅ passevents available on since 2023-01-05. Count of daily events and sessions significantly increase after new-session events added on 2023-01-26.
wiki✅ pass3 wikis recorded
action✅ pass7 types of events recorded: new-session (starting from 2023-01-26), open-searchpreview, close-searchpreview, click-image, click-snippet, click-article-section, click-interwiki-commons. click-interwiki-links on Desktop was not recorded (T321078)
is_anon✅ passTrue or False or Null ( less than 0.1% after isAnon is added to searchsatisfaction schema on 2023-01-27)
platform✅ passonly on desktop in January
result_display_position-1 for new-session events; >= 0 for all the other events. Some open-searchpreview and close-searchpreview events everyday has result_display_position = -1

@SimoneThisDot there are some open-searchpreview and close-searchpreview events everyday have result_display_position = -1. Are these events for refreshing pages?

Update data QA on 2023-03-15, see QA notebook for details.

What has been checkedStatusNote
action✅ pass8 types of events recorded: new-session (starting from 2023-01-26), open-searchpreview, close-searchpreview, click-image, click-snippet, click-article-section, click-interwiki-commons, click-interwiki-links (starting in March)
platform✅ passDesktop and mobile events recorded.