Преглед изворни кода

increase sentry sample rate to 100%

Brian Gough пре 12 година
родитељ
комит
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
 						/metrics\.itunes\.apple\.com\.edgesuite\.net\//i
 					],
 					],
 					shouldSendCallback: function(data) {
 					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);
 						return (Math.random() <= sampleRate);
 					}
 					}
 					// we highly recommend restricting exceptions to a domain in order to filter out clutter
 					// we highly recommend restricting exceptions to a domain in order to filter out clutter