Page MenuHomePhabricator

Set up debug parameter for QA of page previews eventlogging
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

In order to debug the EventLogging instrumentation in production environments, we want to be able to bucket ourselves at will.

AC

  • When ?debug=true, the EventLogging instrumentation is enabled.
  • When ?debug=false or not specified, the user is bucketed as usual.
  • This happens regardless of whether the user is logged in/out.

Notes

  1. Developers: Use mw.config.get( 'debug' ).

Event Timeline

Jdlrobson set the point value for this task to 1.
phuedx removed the point value for this task.
phuedx set the point value for this task to 1.

^ Ugh.

Change 362434 had a related patch set uploaded (by Pmiazga; owner: Pmiazga):
[mediawiki/extensions/Popups@master] Override eventLogging to enabled when debug flag is on

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

Change 362434 merged by jenkins-bot:
[mediawiki/extensions/Popups@master] Override eventLogging to enabled when debug flag is on

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

pmiazga removed a project: Patch-For-Review.
pmiazga added a subscriber: pmiazga.

Change 362977 had a related patch set uploaded (by Phuedx; owner: Phuedx):
[mediawiki/extensions/Popups@master] Hygiene: i13n: Return false over not sampling

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

rEPOP9303d03ee305: Hygiene: i13n: Return false over not sampling doesn't block signoff. It's just something I noticed during code review that's somewhat related to this task.

phuedx updated the task description. (Show Details)
Jdlrobson claimed this task.
Jdlrobson added a subscriber: Jdlrobson.

Signing off.
When visiting https://en.wikipedia.beta.wmflabs.org/wiki/Albert_Einstein?debug=true I can see events for page previews. great!

Change 362977 merged by jenkins-bot:
[mediawiki/extensions/Popups@master] Hygiene: i13n: Return false over not sampling

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