We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d2b0e8 commit fdfb222Copy full SHA for fdfb222
1 file changed
lib/providers/httpTransaction/index.js
@@ -153,7 +153,7 @@ HttpTransaction.prototype.onServerSend = function (data) {
153
154
var isSampled = trace.isSampled || (1 / this.sampleRate) > Math.random();
155
if (data.mustCollect || isSampled) {
156
- trace.isForceSampled = !!trace.isSampled;
+ trace.isForceSampled = !!data.mustCollect;
157
delete trace.isSampled;
158
159
this.traces.push(trace);
0 commit comments