Tune referencePreviews sampling from 1:1000 to 1:10

We've logged zero events after 12hr of deployment, so it should be
safe to increase sampling by 100x.

Bug: T214493
Change-Id: Icd67aed448269f603dd4465f7e46eac9a64bd1ab
This commit is contained in:
Adam Wight 2019-10-11 10:52:43 +02:00
parent 95c80dcb3e
commit f6defd5fbc
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -46,7 +46,7 @@ export function renderReferencePreview(
url = escapeHTML( model.url ),
linkMsg = escapeHTML( mw.msg( 'popups-refpreview-jump-to-reference' ) );
const isTracking = navigator.sendBeacon && mw.eventLog && mw.eventLog.eventInSample( 1000 );
const isTracking = navigator.sendBeacon && mw.eventLog && mw.eventLog.eventInSample( 10 );
const $el = renderPopup( model.type,
`