parent
28913f733e
commit
c9900a01d1
|
@ -20,7 +20,7 @@
|
|||
<h2>{{type}}</h2>
|
||||
<div class="container">
|
||||
<div class="col-md-6">
|
||||
<h3>Requests ({{numbers.ops}} ops)</h3>
|
||||
<h3>Requests ({{numbers.ops || numbers.total}} ops)</h3>
|
||||
<nvd3 options="$ctrl.graphOptions"
|
||||
data="numbers.all"></nvd3>
|
||||
</div>
|
||||
|
|
|
@ -76,7 +76,8 @@
|
|||
var failed = numericalStatistic[3];
|
||||
groupedMetrics.nums[type] = groupedMetrics.nums[type] || {
|
||||
failures: [],
|
||||
all: []
|
||||
all: [],
|
||||
total: 0,
|
||||
};
|
||||
if (failed) {
|
||||
groupedMetrics.nums[type].failures.push({
|
||||
|
@ -87,6 +88,7 @@
|
|||
if (name == "Ops") {
|
||||
groupedMetrics.nums[type].ops = metrics[key]
|
||||
} else {
|
||||
groupedMetrics.nums[type].total += metrics[key];
|
||||
groupedMetrics.nums[type].all.push({
|
||||
key: name,
|
||||
value: metrics[key]
|
||||
|
|
Loading…
Reference in New Issue