Просмотр исходного кода

increase sentry sample rate to 100%

Brian Gough 12 лет назад
Родитель
Сommit
505675803b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/app/views/layout.jade

+ 2 - 2
services/web/app/views/layout.jade

@@ -97,8 +97,8 @@ html(itemscope, itemtype='http://schema.org/Product')
 						/metrics\.itunes\.apple\.com\.edgesuite\.net\//i
 					],
 					shouldSendCallback: function(data) {
-						// only send a percentage of errors
-						var sampleRate = 0.01;
+						// only send a fraction of errors
+						var sampleRate = 1.00;
 						return (Math.random() <= sampleRate);
 					}
 					// we highly recommend restricting exceptions to a domain in order to filter out clutter