forked from couchbase/healthchecker
/
cluster_stats.py
executable file
·667 lines (649 loc) · 26.5 KB
/
cluster_stats.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
import stats_buffer
import util_cli as util
class BucketSummary:
def run(self, accessor):
return stats_buffer.bucket_info
class DGMRatio:
def run(self, accessor, threshold=None):
result = []
hdd_total = 0
ram_total = 0
for node, nodeinfo in stats_buffer.nodes.iteritems():
if nodeinfo["status"] != "healthy":
continue
if nodeinfo["StorageInfo"].has_key("hdd"):
hdd_total += nodeinfo['StorageInfo']['hdd']['usedByData']
if nodeinfo["StorageInfo"].has_key("ram"):
ram_total += nodeinfo['StorageInfo']['ram']['usedByData']
if ram_total > 0:
ratio = hdd_total * 100.0 / ram_total
else:
ratio = 0
return util.pretty_float(ratio) + "%"
class ARRatio:
def run(self, accessor, threshold=None):
result = {}
cluster = 0
if threshold.has_key("ActiveReplicaResidentRatio"):
threshold_val = threshold["ActiveReplicaResidentRatio"]["activeReplicaResidentRatio"]
else:
threshold_val = accessor["threshold"]
for bucket, stats_info in stats_buffer.buckets.iteritems():
item_avg = {
"curr_items": [],
"vb_replica_curr_items": [],
}
num_error = []
for counter in accessor["counter"]:
values = stats_info[accessor["scale"]][counter]
nodeStats = values["nodeStats"]
samplesCount = values["samplesCount"]
for node, vals in nodeStats.iteritems():
if samplesCount > 0:
avg = sum(vals) / samplesCount
else:
avg = 0
item_avg[counter].append((node, avg))
res = []
active_total = replica_total = 0
for active, replica in zip(item_avg['curr_items'], item_avg['vb_replica_curr_items']):
if replica[1] == 0:
if active[1] == 0:
res.append((active[0], "No active items"))
else:
res.append((active[0], "No replica"))
else:
ratio = 100.0 * active[1] / replica[1]
res.append((active[0], util.pretty_float(ratio) + "%"))
active_total += active[1]
replica_total += replica[1]
if active_total == 0:
res.append(("total", "no active items"))
elif replica_total == 0:
res.append(("total", "no replica items"))
if stats_buffer.bucket_info[bucket]["bucketType"] != 'memcached':
num_error.append({"node":"total", "value": "No replica items"})
else:
ratio = active_total * 100.0 / replica_total
cluster += ratio
res.append(("total", util.pretty_float(ratio) + "%"))
delta = abs(100 - ratio)
if delta > threshold_val:
symptom = accessor["symptom"].format(util.pretty_float(delta), util.pretty_float(threshold_val))
num_error.append({"node":"total", "value": symptom})
if len(num_error) > 0:
res.append(("error", num_error))
result[bucket] = res
if len(stats_buffer.buckets) > 0:
result["cluster"] = util.pretty_float(cluster / len(stats_buffer.buckets)) + "%"
return result
class OpsRatio:
def run(self, accessor, threshold=None):
result = {}
read_cluster = write_cluster = del_cluster = 0
for bucket, stats_info in stats_buffer.buckets.iteritems():
ops_avg = {
"cmd_get": [],
"cmd_set": [],
"delete_hits" : [],
}
for counter in accessor["counter"]:
values = stats_info[accessor["scale"]][counter]
nodeStats = values["nodeStats"]
samplesCount = values["samplesCount"]
for node, vals in nodeStats.iteritems():
if samplesCount > 0:
avg = sum(vals) / samplesCount
else:
avg = 0
ops_avg[counter].append((node, avg))
res = []
read_total = write_total = del_total = 0
for read, write, delete in zip(ops_avg['cmd_get'], ops_avg['cmd_set'], ops_avg['delete_hits']):
count = read[1] + write[1] + delete[1]
if count == 0:
res.append((read[0], "0% reads : 0% writes : 0% deletes"))
else:
read_ratio = read[1] *100.0 / count
read_total += read_ratio
write_ratio = write[1] * 100.0 / count
write_total += write_ratio
del_ratio = delete[1] * 100.0 / count
del_total += del_ratio
res.append((read[0], "{0}% reads : {1}% writes : {2}% deletes".format(int(read_ratio+.5), int(write_ratio+.5), int(del_ratio+.5))))
read_cluster += read[1]
write_cluster += write[1]
del_cluster += delete[1]
if len(ops_avg['cmd_get']) > 0:
read_total /= len(ops_avg['cmd_get'])
if len(ops_avg['cmd_set']) > 0:
write_total /= len(ops_avg['cmd_set'])
if len(ops_avg['delete_hits']) > 0:
del_total /= len(ops_avg['delete_hits'])
res.append(("total", "{0}% reads : {1}% writes : {2}% deletes".format(int(read_total+.5), int(write_total+.5), int(del_total+.5))))
result[bucket] = res
count = read_cluster + write_cluster + del_cluster
if count == 0:
read_ratio = write_ratio = del_ratio = 0
else:
read_ratio = read_cluster * 100.0 / count + .5
write_ratio = write_cluster * 100.0 / count + .5
del_ratio = del_cluster * 100 / count + .5
result["cluster"] = "{0}% reads : {1}% writes : {2}% deletes".format(int(read_ratio), int(write_ratio), int(del_ratio))
return result
class CacheMissRatio:
def run(self, accessor, threshold=None):
result = {}
cluster = 0
thresholdval = accessor["threshold"]
if threshold.has_key("CacheMissRatio"):
thresholdval = threshold["CacheMissRatio"]
for bucket, stats_info in stats_buffer.buckets.iteritems():
values = stats_info[accessor["scale"]][accessor["counter"]]
timestamps = values["timestamp"]
timestamps = [x - timestamps[0] for x in timestamps]
nodeStats = values["nodeStats"]
samplesCount = values["samplesCount"]
trend = []
total = 0
data = []
num_error = []
for node, vals in nodeStats.iteritems():
#a, b = util.linreg(timestamps, vals)
if samplesCount > 0:
value = sum(vals) / samplesCount
else:
value = 0
total += value
if value > thresholdval:
symptom = accessor["symptom"].format(value, thresholdval)
num_error.append({"node":node, "value":symptom})
trend.append((node, util.pretty_float(value) + "%"))
data.append(value)
if len(nodeStats) > 0:
total /= len(nodeStats)
trend.append(("total", util.pretty_float(total) + "%"))
trend.append(("variance", util.two_pass_variance(data)))
if len(num_error) > 0:
trend.append(("error", num_error))
cluster += total
result[bucket] = trend
if len(stats_buffer.buckets) > 0:
result["cluster"] = util.pretty_float(cluster / len(stats_buffer.buckets)) + "%"
return result
class ResidentItemRatio:
def run(self, accessor, threshold=None):
result = {}
cluster = 0
if threshold.has_key("ActiveReplicaResidentRatio"):
threshold_val = threshold["ActiveReplicaResidentRatio"][accessor["name"]]
else:
threshold_val = accessor["threshold"]
for bucket, stats_info in stats_buffer.buckets.iteritems():
values = stats_info[accessor["scale"]][accessor["counter"]]
timestamps = values["timestamp"]
timestamps = [x - timestamps[0] for x in timestamps]
nodeStats = values["nodeStats"]
samplesCount = values["samplesCount"]
trend = []
total = 0
data = []
num_error = []
for node, vals in nodeStats.iteritems():
#a, b = util.linreg(timestamps, vals)
if samplesCount > 0:
value = sum(vals) / samplesCount
else:
value = 0
total += value
if value > 0 and value < threshold_val:
symptom = accessor["symptom"].format(util.pretty_float(value) + "%", util.pretty_float(threshold_val) + "%")
num_error.append({"node":node, "value":symptom})
trend.append((node, util.pretty_float(value) + "%"))
data.append(value)
if len(nodeStats) > 0:
total /= len(nodeStats)
trend.append(("total", util.pretty_float(total) + "%"))
if total > 0 and total < threshold_val:
symptom = accessor["symptom"].format(util.pretty_float(total) + "%", util.pretty_float(threshold_val) + "%")
num_error.append({"node": "total", "value":symptom})
trend.append(("variance", util.two_pass_variance(data)))
if len(num_error) > 0:
trend.append(("error", num_error))
cluster += total
result[bucket] = trend
if len(stats_buffer.buckets) > 0:
result["cluster"] = util.pretty_float(cluster / len(stats_buffer.buckets)) + "%"
return result
class MemUsed:
def run(self, accessor, threshold=None):
result = {}
cluster = 0
for bucket, stats_info in stats_buffer.buckets.iteritems():
values = stats_info[accessor["scale"]][accessor["counter"]]
timestamps = values["timestamp"]
timestamps = [x - timestamps[0] for x in timestamps]
nodeStats = values["nodeStats"]
samplesCount = values["samplesCount"]
trend = []
total = 0
data = []
for node, vals in nodeStats.iteritems():
if samplesCount > 0:
avg = sum(vals) / samplesCount
else:
avg = 0
trend.append((node, util.size_label(avg)))
data.append(avg)
#print data
trend.append(("variance", util.two_pass_variance(data)))
result[bucket] = trend
return result
class ItemGrowth:
def run(self, accessor, threshold=None):
result = {}
start_cluster = 0
end_cluster = 0
for bucket, stats_info in stats_buffer.buckets.iteritems():
trend = []
values = stats_info[accessor["scale"]][accessor["counter"]]
timestamps = values["timestamp"]
timestamps = [x - timestamps[0] for x in timestamps]
nodeStats = values["nodeStats"]
samplesCount = values["samplesCount"]
for node, vals in nodeStats.iteritems():
a, b = util.linreg(timestamps, vals)
if b < 1:
trend.append((node, 0))
else:
start_val = b
start_cluster += b
end_val = a * timestamps[-1] + b
end_cluster += end_val
if b > 0:
rate = (end_val * 1.0 / b - 1.0) * 100
else:
rate = 0
trend.append((node, util.pretty_float(rate) + "%"))
result[bucket] = trend
if len(stats_buffer.buckets) > 0:
if start_cluster > 0:
rate = (end_cluster * 1.0 / start_cluster - 1.0) * 100
else:
rate = 0
result["cluster"] = util.pretty_float(rate) + "%"
return result
class NumVbuckt:
def run(self, accessor, threshold=None):
result = {}
if threshold.has_key("VBucketNumber"):
threshold_val = threshold["VBucketNumber"][accessor["name"]]
else:
threshold_val = accessor["threshold"]
num_node = len(stats_buffer.nodes)
if num_node == 0:
return result
avg_threshold = threshold_val / num_node
for bucket, stats_info in stats_buffer.buckets.iteritems():
num_error = []
values = stats_info[accessor["scale"]][accessor["counter"]]
nodeStats = values["nodeStats"]
for node, vals in nodeStats.iteritems():
if vals[-1] > 0 and vals[-1] < avg_threshold:
symptom = accessor["symptom"].format(vals[-1], avg_threshold)
num_error.append({"node":node, "value": symptom})
if len(num_error) > 0:
result[bucket] = {"error" : num_error}
return result
class RebalanceStuck:
def run(self, accessor, threshold=None):
result = {}
if threshold.has_key("RebalancePerformance"):
threshold_val = threshold["RebalancePerformance"][accessor["name"]]
else:
threshold_val = accessor["threshold"]
for bucket, bucket_stats in stats_buffer.node_stats.iteritems():
num_error = []
for node, stats_info in bucket_stats.iteritems():
for key, value in stats_info.iteritems():
if key.find(accessor["counter"]) >= 0:
if int(value) > threshold_val:
symptom = accessor["symptom"].format(int(value), threshold_val)
num_error.append({"node":node, "value": symptom})
if len(num_error) > 0:
result[bucket] = {"error" : num_error}
return result
class MemoryFramentation:
def run(self, accessor, threshold=None):
result = {}
if threshold.has_key("MemoryFragmentation"):
threshold_val = threshold["MemoryFragmentation"][accessor["name"]]
else:
threshold_val = accessor["threshold"]
for bucket, bucket_stats in stats_buffer.node_stats.iteritems():
num_error = []
for node, stats_info in bucket_stats.iteritems():
for key, value in stats_info.iteritems():
if key.find(accessor["counter"]) >= 0:
if accessor.has_key("threshold"):
if int(value) > threshold_val:
if accessor.has_key("unit"):
if accessor["unit"] == "time":
symptom = accessor["symptom"].format(util.time_label(value), util.time_label(threshold_val))
num_error.append({"node":node, "value": symptom})
elif accessor["unit"] == "size":
symptom = accessor["symptom"].format(util.size_label(value), util.size_label(threshold_val))
num_error.append({"node":node, "value": symptom})
else:
symptom = accessor["symptom"].format(value, threshold_val)
num_error.append({"node":node, "value": symptom})
else:
symptom = accessor["symptom"].format(value, threshold_val)
num_error.append({"node":node, "value": symptom})
if len(num_error) > 0:
result[bucket] = {"error" : num_error}
return result
class EPEnginePerformance:
def run(self, accessor, threshold=None):
result = {}
if threshold.has_key("EPEnginePerformance"):
threshold_val = threshold["EPEnginePerformance"][accessor["name"]]
else:
threshold_val = accessor["threshold"]
for bucket, bucket_stats in stats_buffer.node_stats.iteritems():
num_error = []
for node, stats_info in bucket_stats.iteritems():
for key, value in stats_info.iteritems():
if key.find(accessor["counter"]) >= 0:
if accessor.has_key("threshold"):
if accessor["counter"] == "flusherState" and value != threshold_val:
num_error.append({"node":node, "value": accessor["symptom"]})
elif accessor["counter"] == "flusherCompleted" and value == threshold_val:
num_error.append({"node":node, "value": accessor["symptom"]})
else:
if value > threshold_val:
symptom = accessor["symptom"].format(value, threshold_val)
num_error.append({"node":node, "value": symptom})
if len(num_error) > 0:
result[bucket] = {"error" : num_error}
return result
class TotalDataSize:
def run(self, accessor, threshold=None):
total = 0
for node, nodeinfo in stats_buffer.nodes.iteritems():
if nodeinfo["status"] != "healthy":
continue
if nodeinfo["StorageInfo"].has_key("hdd"):
total += nodeinfo['StorageInfo']['hdd']['usedByData']
return util.size_label(total)
class AvailableDiskSpace:
def run(self, accessor, threshold=None):
result = []
total = 0
for node, nodeinfo in stats_buffer.nodes.iteritems():
if nodeinfo["status"] != "healthy":
continue
if nodeinfo["StorageInfo"].has_key("hdd"):
total += nodeinfo['StorageInfo']['hdd']['free']
return util.size_label(total)
ClusterCapsule = [
{"name" : "TotalDataSize",
"ingredients" : [
{
"name" : "totalDataSize",
"description" : "Total data size across cluster",
"code" : "TotalDataSize",
}
],
"clusterwise" : True,
"perNode" : False,
"perBucket" : False,
},
{"name" : "AvailableDiskSpace",
"ingredients" : [
{
"name" : "availableDiskSpace",
"description" : "Available disk space",
"code" : "AvailableDiskSpace",
}
],
"clusterwise" : True,
"perNode" : False,
"perBucket" : False,
},
{"name" : "CacheMissRatio",
"ingredients" : [
{
"name" : "cacheMissRatio",
"description" : "Cache miss ratio",
"symptom" : "Cache miss ratio '{0}' is higher than threshold '{1}'",
"counter" : "ep_cache_miss_rate",
"scale" : "hour",
"code" : "CacheMissRatio",
"threshold" : 2,
},
],
"clusterwise" : True,
"perNode" : True,
"perBucket" : True,
"indicator" : True,
"nodeDisparate" : True,
},
{"name" : "DGM",
"ingredients" : [
{
"name" : "dgm",
"description" : "Disk to memory ratio",
"code" : "DGMRatio"
},
],
"clusterwise" : True,
"perNode" : False,
"perBucket" : False,
},
{"name" : "ActiveReplicaResidentRatio",
"ingredients" : [
{
"name" : "activeReplicaResidentRatio",
"description" : "Active to replica resident ratio",
"counter" : ["curr_items", "vb_replica_curr_items"],
"scale" : "minute",
"code" : "ARRatio",
"threshold" : 5,
"symptom" : "Active to replica resident ratio difference'{0}%' is bigger than '{1}%'",
},
{
"name" : "activeResidentRatio",
"description" : "Active resident ratio",
"counter" : "vb_active_resident_items_ratio",
"scale" : "minute",
"code" : "ResidentItemRatio",
"threshold" : 30,
"symptom" : "Active resident item ratio '{0}' is less than '{1}'",
},
{
"name" : "replicaResidentRatio",
"description" : "Replica resident ratio",
"counter" : "vb_replica_resident_items_ratio",
"scale" : "minute",
"code" : "ResidentItemRatio",
"threshold" : 20,
"symptom" : "Replica resident item ratio '{0}' is less than '{1}'",
},
],
"clusterwise" : True,
"perNode" : True,
"perBucket" : True,
"indicator" : True,
},
{"name" : "OPSPerformance",
"ingredients" : [
{
"name" : "opsPerformance",
"description" : "Read/Write/Delete ops ratio",
"scale" : "week",
"counter" : ["cmd_get", "cmd_set", "delete_hits"],
"code" : "OpsRatio",
},
],
"perBucket" : True,
"clusterwise" : True,
},
{"name" : "GrowthRate",
"ingredients" : [
{
"name" : "dataGrowthRateForItems",
"description" : "Data growth rate for items",
"counter" : "curr_items",
"scale" : "day",
"code" : "ItemGrowth",
"unit" : "percentage",
},
],
"clusterwise" : True,
},
{"name" : "VBucketNumber",
"ingredients" : [
{
"name" : "activeVbucketNumber",
"description" : "Active VBucket number is less than expected",
"counter" : "vb_active_num",
"scale" : "hour",
"code" : "NumVbuckt",
"threshold" : 1024,
"symptom" : "Number of active vBuckets '{0}' is less than '{1}'",
},
{
"name" : "replicaVBucketNumber",
"description" : "Replica VBucket number is less than expected",
"counter" : "vb_replica_num",
"scale" : "hour",
"code" : "NumVbuckt",
"threshold" : 1024,
"symptom" : "Number of replica vBuckets '{0}' is less than '{1}'",
},
],
"indicator" : True,
},
{"name" : "MemoryUsage",
"ingredients" : [
{
"name" : "memoryUsage",
"description" : "Check memory usage",
"counter" : "mem_used",
"scale" : "hour",
"code" : "MemUsed",
},
],
"nodeDisparate" : True,
},
{"name" : "RebalancePerformance",
"ingredients" : [
{
"name" : "highBackfillRemaing",
"description" : "Tap queue backfill remaining is too high",
"counter" : "ep_tap_queue_backfillremaining",
"code" : "RebalanceStuck",
"threshold" : 1000,
"symptom" : "Tap queue backfill remaining '{0}' is higher than threshold '{1}'"
},
{
"name" : "tapNack",
"description" : "Number of nacks",
"counter" : "num_tap_nack",
"code" : "RebalanceStuck",
"threshold" : 5,
"symptom" : "Number of negative tap acks received '{0}' is above threshold '{1}'",
},
],
"indicator" : True,
},
{"name" : "MemoryFragmentation",
"ingredients" : [
{
"name" : "totalFragmentation",
"description" : "Total memory fragmentation",
"counter" : "total_fragmentation_bytes",
"code" : "MemoryFramentation",
"unit" : "size",
"threshold" : 1073741824, # 1GB
"symptom" : "Total memory fragmentation '{0}' is larger than '{1}'",
},
{
"name" : "diskDelete",
"description" : "Average disk delete time",
"counter" : "disk_del",
"code" : "MemoryFramentation",
"unit" : "time",
"threshold" : 1000, #1ms
"symptom" : "Average disk delete time '{0}' is slower than '{1}'",
},
{
"name" : "diskUpdate",
"description" : "Average disk update time",
"counter" : "disk_update",
"code" : "MemoryFramentation",
"unit" : "time",
"threshold" : 1000, #1ms
"symptom" : "Average disk update time '{0}' is slower than '{1}'",
},
{
"name" : "diskInsert",
"description" : "Average disk insert time",
"type" : "python",
"counter" : "disk_insert",
"code" : "MemoryFramentation",
"unit" : "time",
"threshold" : 1000, #1ms
"symptom" : "Average disk insert time '{0}' is slower than '{1}'",
},
{
"name" : "diskCommit",
"description" : "Average disk commit time",
"counter" : "disk_commit",
"code" : "MemoryFramentation",
"unit" : "time",
"threshold" : 5000000, #10s
"symptom" : "Average disk commit time '{0}' is slower than '{1}'",
},
],
"indicator" : True,
},
{"name" : "EPEnginePerformance",
"ingredients" : [
{
"name" : "flusherState",
"description" : "Engine flusher state",
"counter" : "ep_flusher_state",
"code" : "EPEnginePerformance",
"threshold" : "running",
"symptom" : "The flusher is not running",
},
{
"name" : "flusherCompleted",
"description" : "Flusher completed",
"counter" : "ep_flusher_num_completed",
"code" : "EPEnginePerformance",
"threshold" : 0,
"symptom" : "The flusher is not persisting any items"
},
{
"name" : "avgItemLoadTime",
"description" : "Average item loaded time",
"counter" : "ep_bg_load_avg",
"code" : "EPEnginePerformance",
"threshold" : 100,
"symptom" : "Average time '{0}' for items to be loaded is slower than '{1}'",
},
{
"name" : "avgItemWaitTime",
"description" : "Average item waited time",
"counter" : "ep_bg_wait_avg",
"code" : "EPEnginePerformance",
"threshold" : 100,
"symptom" : "Average wait time '{0}' for items to be serviced by dispatcher is slower than '{1}'",
},
],
"indicator" : True,
},
]