Browse Source

Fixes to omsimulator scenario

Ilya Shakhat 3 years ago
parent
commit
526a1ea35d
2 changed files with 5 additions and 5 deletions
  1. 3
    3
      performa/scenarios/mq/omsimulator.rst
  2. 2
    2
      performa/scenarios/mq/omsimulator.yaml

+ 3
- 3
performa/scenarios/mq/omsimulator.rst View File

@@ -78,7 +78,7 @@ depending on number of concurrent threads.
78 78
         y2: "$msg_received_per_sec"
79 79
         y3: "$msg_round_trip_per_sec"
80 80
         y4: { $multiply: [ "$latency", 1000 ] }
81
-        y5: { $multiply: [ { $sum: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
81
+        y5: { $multiply: [ { $add: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
82 82
 ''' | chart_and_table
83 83
 }}
84 84
 
@@ -215,7 +215,7 @@ depending on number of concurrent threads.
215 215
         y: "$msg_sent_per_sec"
216 216
         y2: "$msg_received_per_sec"
217 217
         y3: { $multiply: [ "$latency", 1000 ] }
218
-        y4: { $multiply: [ { $sum: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
218
+        y4: { $multiply: [ { $add: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
219 219
 ''' | chart_and_table
220 220
 }}
221 221
 
@@ -351,7 +351,7 @@ depending on number of concurrent threads.
351 351
         y: "$msg_sent_per_sec"
352 352
         y2: "$msg_received_per_sec"
353 353
         y3: { $multiply: [ "$latency", 1000 ] }
354
-        y4: { $multiply: [ { $sum: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
354
+        y4: { $multiply: [ { $add: ["$rabbit_total_0", "$rabbit_total_1", "$rabbit_total_2"] }, 100 ] }
355 355
 ''' | chart_and_table
356 356
 }}
357 357
 

+ 2
- 2
performa/scenarios/mq/omsimulator.yaml View File

@@ -123,7 +123,7 @@ aggregation:
123 123
       values:
124 124
         pipeline:
125 125
         - $match: { task: atop, status: OK, label: PRM, name: { $regex: beam.* }, host: {{ rabbit_hosts[1] }} }
126
-        - $group: { _id: null, rabbit_resident_0: { $avg: "$resident" } }
126
+        - $group: { _id: null, rabbit_resident_1: { $avg: "$resident" } }
127 127
 {% endif %}
128 128
 
129 129
 {% if rabbit_hosts[2] %}
@@ -142,7 +142,7 @@ aggregation:
142 142
       values:
143 143
         pipeline:
144 144
         - $match: { task: atop, status: OK, label: PRM, name: { $regex: beam.* }, host: {{ rabbit_hosts[2] }} }
145
-        - $group: { _id: null, rabbit_resident_0: { $avg: "$resident" } }
145
+        - $group: { _id: null, rabbit_resident_2: { $avg: "$resident" } }
146 146
 {% endif %}
147 147
 
148 148
 report:

Loading…
Cancel
Save