Phuedx has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/340095 )

Change subject: wme: Set ReadingDepth sampling rate to 0.1%
......................................................................

wme: Set ReadingDepth sampling rate to 0.1%

The current sampling rate, 0.5% (the default), results in a peak rate of
~2500 events/minute [0].

Since the ReadingDepth instrumentation will remain active while it's
being fully defined and vetted [1], reduce the sampling rate to 0.1% to
reduce the load on the EventLogging pipeline but still log a
statistically significant number of events.

N.B. The sampling rate for the NavigationTiming instrumentation is 0.1%
[2].

[0] 
https://grafana.wikimedia.org/dashboard/db/eventlogging-schema?var-schema=ReadingDepth&from=1487808000000&to=1487980799999
[1] https://phabricator.wikimedia.org/T155639#3046288
[2] 
https://phabricator.wikimedia.org/rOMWC965747fa07afcde2da014f24a16b774b9ce78795

Bug: T155639
Change-Id: I37d4b11f8a4691984364c72e6fa5799782e179f5
---
M wmf-config/InitialiseSettings.php
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/95/340095/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 3ce0dde..cb124a6 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -18075,6 +18075,16 @@
        'wikipedia' => true,
 ],
 
+'wgWMEReadingDepthSamplingRate' => [
+       'default' => 0,
+
+       // Careful! This value should not be increased without coordination 
with the
+       // Operations and/or Analytics teams. At the very least, be mindful of 
the
+       // current rate of ReadingDepth events being logged:
+       // 
https://grafana.wikimedia.org/dashboard/db/eventlogging-schema?var-schema=ReadingDepth
+       'wikipedia' => 0.001,
+],
+
 ];
 
 ### WMF Labs override #####

-- 
To view, visit https://gerrit.wikimedia.org/r/340095
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I37d4b11f8a4691984364c72e6fa5799782e179f5
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Phuedx <samsm...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to