You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`Slowing ${(span.probabilityOfBeingBottleneck*100).toFixed(0)}% of the requests (~${span.avgDurationWhenBeingBottleneck.value}${span.avgDurationWhenBeingBottleneck.unit})`;
224
+
}
225
+
else// Obsolete
226
+
{
227
+
if(span.p50.fraction>0.4)
228
+
return`50% of the users by up to ${span.p50.maxDuration.value}${span.p50.maxDuration.unit}`;
229
+
if(span.p95.fraction>0.4)
230
+
return`5% of the users by up to ${span.p95.maxDuration.value}${span.p95.maxDuration.unit}`;
231
+
return`1% of the users by up to ${span.p99.maxDuration.value}${span.p99.maxDuration.unit}`;
return`Slowing ${(span.probabilityOfBeingBottleneck*100).toFixed(0)}% of the requests (~${span.avgDurationWhenBeingBottleneck.value}${span.avgDurationWhenBeingBottleneck.unit})`;
433
+
}
434
+
else{// Obsolete
435
+
if(span.p95){
436
+
return`Up to ~${(span.p95.fraction*100.0).toFixed(3)}% of the entire request time (${span.p95.maxDuration.value}${span.p95.maxDuration.unit}).`;
429
437
438
+
}
439
+
return`Up to ~${(span.p50.fraction*100.0).toFixed(3)}% of the entire request time (${span.p50.maxDuration.value}${span.p50.maxDuration.unit}).`;
430
440
}
431
-
return`Up to ~${(span.p50.fraction*100.0).toFixed(3)}% of the entire request time (${span.p50.maxDuration.value}${span.p50.maxDuration.unit}).`;
0 commit comments