Page MenuHomePhabricator

WikiLambda: Track function-evaluation requests
Closed, ResolvedPublic

Description

Description

Create Metrics Platform instruments that log events for:

  • Number of clicks on Run Function button, broken down by:
    • Function page
    • Implementation page
    • Special evaluation function page
    • Testing page
  • Number of successful calls to functions
  • Number of all calls to functions
  • Completion rate (successful calls divided by all calls)

(See comments below for event content for each of the checkboxes above.)

Desired behavior/Acceptance criteria


Completion checklist

Related Objects

StatusSubtypeAssignedTask
OpenBUG REPORTNone
ResolvedJdforrester-WMF
ResolvedBTullis
ResolvedJdforrester-WMF
ResolvedDVrandecic
Resolvedcmassaro
ResolvedClement_Goubert
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedori
Resolvedsbassett
Resolvedakosiaris
ResolvedJdforrester-WMF
ResolvedRequest CCoxwell-WMF
ResolvedRequestgengh
ResolvedRequestArnoldokoth
Resolvedcmassaro
ResolvedQuiddity
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedBUG REPORTgengh
ResolvedBUG REPORTgengh
Resolvedgengh
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTDVrandecic
ResolvedBUG REPORTcmassaro
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTAAlhazwani-WMF
DuplicateBUG REPORTNone
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTDVrandecic
Resolvedgengh
ResolvedBUG REPORTcmassaro
ResolvedBUG REPORTgengh
Resolvedgengh
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolved CCoxwell-WMF
Resolved CCoxwell-WMF
ResolvedAAlhazwani-WMF
ResolvedLadsgroup
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolvedcmassaro
ResolvedJdforrester-WMF
ResolvedDVrandecic
Resolvedgengh
ResolvedBUG REPORTJdforrester-WMF
ResolvedDMartin-WMF
ResolvedDMartin-WMF
ResolvedQuiddity
ResolvedQuiddity
ResolvedQuiddity
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedQuiddity

Event Timeline

Change 936766 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Add instrument to log uses of function evaluator component

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

Change 936766 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add instrument to log uses of function evaluator component

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

Change 937204 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Metrics custom data: pass undefined as null & update 2 names

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

Change 937204 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Metrics custom data: pass undefined as null & update 2 names

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

  • Number of clicks on Run Function button, broken down by ...

There will be exactly one event named wf.ui.callFunction created for each Run Function. Each such event will have custom data element zobjecttype, with string/null values as follows:

    • Function page: Z8
    • Implementation page: Z14
    • Special evaluation function page: null
    • Testing page: Z20
  • Number of successful calls to functions

wf.ui.callFunction events for successful calls will have custom data resulthaserror = false

  • Number of all calls to functions

Total number of events named wf.ui.callFunction

  • Completion rate (successful calls divided by all calls)

Change 938928 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] WikiLambda metrics: Allow false custom data values to get through

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

Change 938928 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] WikiLambda metrics: Allow false custom data values to get through

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