From cd4ab35fbc198e242e4043b6531989eb35f99a86 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Tue, 8 Dec 2015 11:34:11 +0000 Subject: [PATCH] only send a 5% sample of sentry errors --- services/web/app/views/sentry.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/sentry.jade b/services/web/app/views/sentry.jade index d1c6115030..3544ab71b6 100644 --- a/services/web/app/views/sentry.jade +++ b/services/web/app/views/sentry.jade @@ -57,7 +57,7 @@ ], shouldSendCallback: function(data) { // only send a fraction of errors - var sampleRate = 1.00; + var sampleRate = 0.05; return (Math.random() <= sampleRate); }, dataCallback: function(data) {