Fixes to omsimulator scenario

This commit is contained in:
Ilya Shakhat 2016-03-24 16:42:53 +03:00
parent 67c1957349
commit 526a1ea35d
2 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ depending on number of concurrent threads.
y2: "$msg_received_per_sec"
y3: "$msg_round_trip_per_sec"
y4: { $multiply: [ "$latency", 1000 ] }
y5: { $multiply: [ { $sum: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
y5: { $multiply: [ { $add: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
''' | chart_and_table
}}
@ -215,7 +215,7 @@ depending on number of concurrent threads.
y: "$msg_sent_per_sec"
y2: "$msg_received_per_sec"
y3: { $multiply: [ "$latency", 1000 ] }
y4: { $multiply: [ { $sum: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
y4: { $multiply: [ { $add: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
''' | chart_and_table
}}
@ -351,7 +351,7 @@ depending on number of concurrent threads.
y: "$msg_sent_per_sec"
y2: "$msg_received_per_sec"
y3: { $multiply: [ "$latency", 1000 ] }
y4: { $multiply: [ { $sum: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
y4: { $multiply: [ { $add: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
''' | chart_and_table
}}

View File

@ -123,7 +123,7 @@ aggregation:
values:
pipeline:
- $match: { task: atop, status: OK, label: PRM, name: { $regex: beam.* }, host: {{ rabbit_hosts[1] }} }
- $group: { _id: null, rabbit_resident_0: { $avg: "$resident" } }
- $group: { _id: null, rabbit_resident_1: { $avg: "$resident" } }
{% endif %}
{% if rabbit_hosts[2] %}
@ -142,7 +142,7 @@ aggregation:
values:
pipeline:
- $match: { task: atop, status: OK, label: PRM, name: { $regex: beam.* }, host: {{ rabbit_hosts[2] }} }
- $group: { _id: null, rabbit_resident_0: { $avg: "$resident" } }
- $group: { _id: null, rabbit_resident_2: { $avg: "$resident" } }
{% endif %}
report: