viberadar 0.3.230 → 0.3.231
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/dashboard.html +4 -1
- package/package.json +1 -1
package/dist/ui/dashboard.html
CHANGED
|
@@ -8503,8 +8503,11 @@ function getLoadPromptAggregate(summary) {
|
|
|
8503
8503
|
const values = endpoints.map(endpoint => numberOrNull(endpoint[field])).filter(v => v != null);
|
|
8504
8504
|
return values.length ? Math.max(...values) : null;
|
|
8505
8505
|
};
|
|
8506
|
+
const totalRequests = numberOrNull(summary?.totalRequests)
|
|
8507
|
+
?? numberOrNull(loadState?.totalRequests)
|
|
8508
|
+
?? (totalFromEndpoints || null);
|
|
8506
8509
|
return {
|
|
8507
|
-
totalRequests
|
|
8510
|
+
totalRequests,
|
|
8508
8511
|
rps: numberOrNull(summary?.rps),
|
|
8509
8512
|
avgDuration: numberOrNull(summary?.avgDuration) ?? weightedAvg,
|
|
8510
8513
|
p90Duration: numberOrNull(summary?.p90Duration) ?? maxEndpoint('p90Duration'),
|