funktor 0.7.10 → 0.7.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80be720c0e865556f5e19e57d67e75900dedfbef939dd8324dfd307fe7925f6b
4
- data.tar.gz: 1adf8c4735c7a4ddb7f56ba19a6074163b3ccc02e7a9ee2cadcf07957cc69dee
3
+ metadata.gz: 1f1a1ea2275385b7521ac1e7bda2523f3e0659475a2334fd68ef9316bb653bc1
4
+ data.tar.gz: 578e7ffa66dca0be6f09b1999bff5bc0709a7e303aa5a87d77e53a61c1bdbc28
5
5
  SHA512:
6
- metadata.gz: 765ac51a223256ec863c15754a02bf0699e7c60d8f065e177d83ace359ee5dc29ba5834f2cf1eb4d94d085fdb2f81916d70e24c3b829b733ed3a4c460af3f1cf
7
- data.tar.gz: 62a7045606b669e7dd0d5c663d7e337fe32fae85a12cd6936a642a09cc51f2ca267ffbd83a08ad7ec4a08a73bcd7da50d261485c4b2b1ee8a8746657fdd1e968
6
+ metadata.gz: acffad4a3df7d1e2ffd5d6a8ebeb8599c5079e3615d37d7afb88f856e508ed57eb9c918c7194b8a50f0a7a320342c235d4cbeb70a4e16195e888c445118065d4
7
+ data.tar.gz: f5efba8c4ceb681209f36be988d1693446ce16f722c375953ddffa8671cb86f0bec1ce35cc38a83c651f8808ff20c2f1b570c6b2490407ec797ab85e92c08866
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- funktor (0.7.10)
4
+ funktor (0.7.11)
5
5
  activesupport
6
6
  aws-sdk-dynamodb (~> 1.62)
7
7
  aws-sdk-sqs (~> 1.37)
@@ -21,13 +21,336 @@ Resources:
21
21
  },
22
22
 
23
23
 
24
-
25
24
  {
26
25
  "height": 1,
27
26
  "width": 24,
28
27
  "y": 3,
29
28
  "x": 0,
30
29
  "type": "text",
30
+ "properties": {
31
+ "markdown": "\n# Jobs Per Minute By Worker\n"
32
+ }
33
+ },
34
+
35
+
36
+
37
+
38
+ {
39
+ "height": 3,
40
+ "width": 4,
41
+ "y": 4,
42
+ "x": 0,
43
+ "type": "metric",
44
+ "properties": {
45
+ "metrics": [
46
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "AuditWorker" ]
47
+ ],
48
+ "view": "timeSeries",
49
+ "stacked": false,
50
+ "region": "us-east-1",
51
+ "title": "AuditWorker Jobs/Min",
52
+ "period": 60,
53
+ "stat": "Sum",
54
+ "legend": {
55
+ "position": "hidden"
56
+ }
57
+ }
58
+ },
59
+
60
+ {
61
+ "height": 3,
62
+ "width": 4,
63
+ "y": 4,
64
+ "x": 4,
65
+ "type": "metric",
66
+ "properties": {
67
+ "metrics": [
68
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "GreetingsWorker" ]
69
+ ],
70
+ "view": "timeSeries",
71
+ "stacked": false,
72
+ "region": "us-east-1",
73
+ "title": "GreetingsWorker Jobs/Min",
74
+ "period": 60,
75
+ "stat": "Sum",
76
+ "legend": {
77
+ "position": "hidden"
78
+ }
79
+ }
80
+ },
81
+
82
+ {
83
+ "height": 3,
84
+ "width": 4,
85
+ "y": 4,
86
+ "x": 8,
87
+ "type": "metric",
88
+ "properties": {
89
+ "metrics": [
90
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "HelloWorker" ]
91
+ ],
92
+ "view": "timeSeries",
93
+ "stacked": false,
94
+ "region": "us-east-1",
95
+ "title": "HelloWorker Jobs/Min",
96
+ "period": 60,
97
+ "stat": "Sum",
98
+ "legend": {
99
+ "position": "hidden"
100
+ }
101
+ }
102
+ },
103
+
104
+ {
105
+ "height": 3,
106
+ "width": 4,
107
+ "y": 4,
108
+ "x": 12,
109
+ "type": "metric",
110
+ "properties": {
111
+ "metrics": [
112
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "SingleThreadAuditWorker" ]
113
+ ],
114
+ "view": "timeSeries",
115
+ "stacked": false,
116
+ "region": "us-east-1",
117
+ "title": "SingleThreadAuditWorker Jobs/Min",
118
+ "period": 60,
119
+ "stat": "Sum",
120
+ "legend": {
121
+ "position": "hidden"
122
+ }
123
+ }
124
+ },
125
+
126
+
127
+
128
+ {
129
+ "height": 1,
130
+ "width": 24,
131
+ "y": 7,
132
+ "x": 0,
133
+ "type": "text",
134
+ "properties": {
135
+ "markdown": "\n# Failures Per Minute By Worker\n"
136
+ }
137
+ },
138
+
139
+
140
+
141
+
142
+ {
143
+ "height": 3,
144
+ "width": 4,
145
+ "y": 8,
146
+ "x": 0,
147
+ "type": "metric",
148
+ "properties": {
149
+ "metrics": [
150
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "AuditWorker", { "color": "#d62728" } ]
151
+ ],
152
+ "view": "timeSeries",
153
+ "stacked": false,
154
+ "region": "us-east-1",
155
+ "title": "AuditWorker Fails/Min",
156
+ "period": 60,
157
+ "stat": "Sum",
158
+ "legend": {
159
+ "position": "hidden"
160
+ }
161
+ }
162
+ },
163
+
164
+ {
165
+ "height": 3,
166
+ "width": 4,
167
+ "y": 8,
168
+ "x": 4,
169
+ "type": "metric",
170
+ "properties": {
171
+ "metrics": [
172
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "GreetingsWorker", { "color": "#d62728" } ]
173
+ ],
174
+ "view": "timeSeries",
175
+ "stacked": false,
176
+ "region": "us-east-1",
177
+ "title": "GreetingsWorker Fails/Min",
178
+ "period": 60,
179
+ "stat": "Sum",
180
+ "legend": {
181
+ "position": "hidden"
182
+ }
183
+ }
184
+ },
185
+
186
+ {
187
+ "height": 3,
188
+ "width": 4,
189
+ "y": 8,
190
+ "x": 8,
191
+ "type": "metric",
192
+ "properties": {
193
+ "metrics": [
194
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "HelloWorker", { "color": "#d62728" } ]
195
+ ],
196
+ "view": "timeSeries",
197
+ "stacked": false,
198
+ "region": "us-east-1",
199
+ "title": "HelloWorker Fails/Min",
200
+ "period": 60,
201
+ "stat": "Sum",
202
+ "legend": {
203
+ "position": "hidden"
204
+ }
205
+ }
206
+ },
207
+
208
+ {
209
+ "height": 3,
210
+ "width": 4,
211
+ "y": 8,
212
+ "x": 12,
213
+ "type": "metric",
214
+ "properties": {
215
+ "metrics": [
216
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "SingleThreadAuditWorker", { "color": "#d62728" } ]
217
+ ],
218
+ "view": "timeSeries",
219
+ "stacked": false,
220
+ "region": "us-east-1",
221
+ "title": "SingleThreadAuditWorker Fails/Min",
222
+ "period": 60,
223
+ "stat": "Sum",
224
+ "legend": {
225
+ "position": "hidden"
226
+ }
227
+ }
228
+ },
229
+
230
+
231
+
232
+ {
233
+ "height": 1,
234
+ "width": 24,
235
+ "y": 11,
236
+ "x": 0,
237
+ "type": "text",
238
+ "properties": {
239
+ "markdown": "\n# Duration Percentiles By Worker\n"
240
+ }
241
+ },
242
+
243
+
244
+
245
+
246
+ {
247
+ "height": 4,
248
+ "width": 4,
249
+ "y": 12,
250
+ "x": 0,
251
+ "type": "metric",
252
+ "properties": {
253
+ "metrics": [
254
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p90", "stat": "p90", "color": "#d62728" } ],
255
+ [ "...", { "label": "p80", "stat": "p80", "color": "#2ca02c" } ],
256
+ [ "...", { "label": "p70", "stat": "p70", "color": "#ff7f0e" } ],
257
+ [ "...", { "label": "p60", "color": "#1f77b4" } ]
258
+ ],
259
+ "view": "timeSeries",
260
+ "stacked": false,
261
+ "region": "us-east-1",
262
+ "stat": "p60",
263
+ "period": 60,
264
+ "title": "AuditWorker Duration Percentiles",
265
+ "legend": {
266
+ "position": "bottom"
267
+ }
268
+ }
269
+ },
270
+
271
+ {
272
+ "height": 4,
273
+ "width": 4,
274
+ "y": 12,
275
+ "x": 4,
276
+ "type": "metric",
277
+ "properties": {
278
+ "metrics": [
279
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p90", "stat": "p90", "color": "#d62728" } ],
280
+ [ "...", { "label": "p80", "stat": "p80", "color": "#2ca02c" } ],
281
+ [ "...", { "label": "p70", "stat": "p70", "color": "#ff7f0e" } ],
282
+ [ "...", { "label": "p60", "color": "#1f77b4" } ]
283
+ ],
284
+ "view": "timeSeries",
285
+ "stacked": false,
286
+ "region": "us-east-1",
287
+ "stat": "p60",
288
+ "period": 60,
289
+ "title": "GreetingsWorker Duration Percentiles",
290
+ "legend": {
291
+ "position": "bottom"
292
+ }
293
+ }
294
+ },
295
+
296
+ {
297
+ "height": 4,
298
+ "width": 4,
299
+ "y": 12,
300
+ "x": 8,
301
+ "type": "metric",
302
+ "properties": {
303
+ "metrics": [
304
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p90", "stat": "p90", "color": "#d62728" } ],
305
+ [ "...", { "label": "p80", "stat": "p80", "color": "#2ca02c" } ],
306
+ [ "...", { "label": "p70", "stat": "p70", "color": "#ff7f0e" } ],
307
+ [ "...", { "label": "p60", "color": "#1f77b4" } ]
308
+ ],
309
+ "view": "timeSeries",
310
+ "stacked": false,
311
+ "region": "us-east-1",
312
+ "stat": "p60",
313
+ "period": 60,
314
+ "title": "HelloWorker Duration Percentiles",
315
+ "legend": {
316
+ "position": "bottom"
317
+ }
318
+ }
319
+ },
320
+
321
+ {
322
+ "height": 4,
323
+ "width": 4,
324
+ "y": 12,
325
+ "x": 12,
326
+ "type": "metric",
327
+ "properties": {
328
+ "metrics": [
329
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p90", "stat": "p90", "color": "#d62728" } ],
330
+ [ "...", { "label": "p80", "stat": "p80", "color": "#2ca02c" } ],
331
+ [ "...", { "label": "p70", "stat": "p70", "color": "#ff7f0e" } ],
332
+ [ "...", { "label": "p60", "color": "#1f77b4" } ]
333
+ ],
334
+ "view": "timeSeries",
335
+ "stacked": false,
336
+ "region": "us-east-1",
337
+ "stat": "p60",
338
+ "period": 60,
339
+ "title": "SingleThreadAuditWorker Duration Percentiles",
340
+ "legend": {
341
+ "position": "bottom"
342
+ }
343
+ }
344
+ },
345
+
346
+
347
+
348
+ {
349
+ "height": 1,
350
+ "width": 24,
351
+ "y": 15,
352
+ "x": 0,
353
+ "type": "text",
31
354
  "properties": {
32
355
  "markdown": "\n# AuditWorker\n"
33
356
  }
@@ -37,7 +360,7 @@ Resources:
37
360
  {
38
361
  "height": 2,
39
362
  "width": 3,
40
- "y": 4,
363
+ "y": 16,
41
364
  "x": 0,
42
365
  "type": "metric",
43
366
  "properties": {
@@ -55,7 +378,7 @@ Resources:
55
378
  {
56
379
  "height": 2,
57
380
  "width": 3,
58
- "y": 4,
381
+ "y": 16,
59
382
  "x": 3,
60
383
  "type": "metric",
61
384
  "properties": {
@@ -73,7 +396,7 @@ Resources:
73
396
  {
74
397
  "height": 2,
75
398
  "width": 3,
76
- "y": 4,
399
+ "y": 16,
77
400
  "x": 6,
78
401
  "type": "metric",
79
402
  "properties": {
@@ -91,7 +414,7 @@ Resources:
91
414
  {
92
415
  "height": 2,
93
416
  "width": 3,
94
- "y": 4,
417
+ "y": 16,
95
418
  "x": 9,
96
419
  "type": "metric",
97
420
  "properties": {
@@ -109,7 +432,7 @@ Resources:
109
432
  {
110
433
  "height": 2,
111
434
  "width": 3,
112
- "y": 4,
435
+ "y": 16,
113
436
  "x": 12,
114
437
  "type": "metric",
115
438
  "properties": {
@@ -127,7 +450,7 @@ Resources:
127
450
  {
128
451
  "height": 2,
129
452
  "width": 3,
130
- "y": 4,
453
+ "y": 16,
131
454
  "x": 15,
132
455
  "type": "metric",
133
456
  "properties": {
@@ -145,7 +468,7 @@ Resources:
145
468
  {
146
469
  "height": 2,
147
470
  "width": 3,
148
- "y": 4,
471
+ "y": 16,
149
472
  "x": 18,
150
473
  "type": "metric",
151
474
  "properties": {
@@ -163,7 +486,7 @@ Resources:
163
486
  {
164
487
  "height": 2,
165
488
  "width": 3,
166
- "y": 4,
489
+ "y": 16,
167
490
  "x": 21,
168
491
  "type": "metric",
169
492
  "properties": {
@@ -186,7 +509,7 @@ Resources:
186
509
  {
187
510
  "height": 3,
188
511
  "width": 3,
189
- "y": 7,
512
+ "y": 19,
190
513
  "x": 0,
191
514
  "type": "metric",
192
515
  "properties": {
@@ -207,7 +530,7 @@ Resources:
207
530
  {
208
531
  "height": 3,
209
532
  "width": 3,
210
- "y": 7,
533
+ "y": 19,
211
534
  "x": 3,
212
535
  "type": "metric",
213
536
  "properties": {
@@ -228,7 +551,7 @@ Resources:
228
551
  {
229
552
  "height": 3,
230
553
  "width": 12,
231
- "y": 7,
554
+ "y": 19,
232
555
  "x": 6,
233
556
  "type": "metric",
234
557
  "properties": {
@@ -252,7 +575,7 @@ Resources:
252
575
  {
253
576
  "height": 3,
254
577
  "width": 3,
255
- "y": 7,
578
+ "y": 19,
256
579
  "x": 18,
257
580
  "type": "metric",
258
581
  "properties": {
@@ -273,7 +596,7 @@ Resources:
273
596
  {
274
597
  "height": 3,
275
598
  "width": 3,
276
- "y": 7,
599
+ "y": 19,
277
600
  "x": 21,
278
601
  "type": "metric",
279
602
  "properties": {
@@ -296,7 +619,7 @@ Resources:
296
619
  {
297
620
  "height": 1,
298
621
  "width": 24,
299
- "y": 13,
622
+ "y": 25,
300
623
  "x": 0,
301
624
  "type": "text",
302
625
  "properties": {
@@ -308,7 +631,7 @@ Resources:
308
631
  {
309
632
  "height": 2,
310
633
  "width": 3,
311
- "y": 14,
634
+ "y": 26,
312
635
  "x": 0,
313
636
  "type": "metric",
314
637
  "properties": {
@@ -326,7 +649,7 @@ Resources:
326
649
  {
327
650
  "height": 2,
328
651
  "width": 3,
329
- "y": 14,
652
+ "y": 26,
330
653
  "x": 3,
331
654
  "type": "metric",
332
655
  "properties": {
@@ -344,7 +667,7 @@ Resources:
344
667
  {
345
668
  "height": 2,
346
669
  "width": 3,
347
- "y": 14,
670
+ "y": 26,
348
671
  "x": 6,
349
672
  "type": "metric",
350
673
  "properties": {
@@ -362,7 +685,7 @@ Resources:
362
685
  {
363
686
  "height": 2,
364
687
  "width": 3,
365
- "y": 14,
688
+ "y": 26,
366
689
  "x": 9,
367
690
  "type": "metric",
368
691
  "properties": {
@@ -380,7 +703,7 @@ Resources:
380
703
  {
381
704
  "height": 2,
382
705
  "width": 3,
383
- "y": 14,
706
+ "y": 26,
384
707
  "x": 12,
385
708
  "type": "metric",
386
709
  "properties": {
@@ -398,7 +721,7 @@ Resources:
398
721
  {
399
722
  "height": 2,
400
723
  "width": 3,
401
- "y": 14,
724
+ "y": 26,
402
725
  "x": 15,
403
726
  "type": "metric",
404
727
  "properties": {
@@ -416,7 +739,7 @@ Resources:
416
739
  {
417
740
  "height": 2,
418
741
  "width": 3,
419
- "y": 14,
742
+ "y": 26,
420
743
  "x": 18,
421
744
  "type": "metric",
422
745
  "properties": {
@@ -434,7 +757,7 @@ Resources:
434
757
  {
435
758
  "height": 2,
436
759
  "width": 3,
437
- "y": 14,
760
+ "y": 26,
438
761
  "x": 21,
439
762
  "type": "metric",
440
763
  "properties": {
@@ -457,7 +780,7 @@ Resources:
457
780
  {
458
781
  "height": 3,
459
782
  "width": 3,
460
- "y": 17,
783
+ "y": 29,
461
784
  "x": 0,
462
785
  "type": "metric",
463
786
  "properties": {
@@ -478,7 +801,7 @@ Resources:
478
801
  {
479
802
  "height": 3,
480
803
  "width": 3,
481
- "y": 17,
804
+ "y": 29,
482
805
  "x": 3,
483
806
  "type": "metric",
484
807
  "properties": {
@@ -499,7 +822,7 @@ Resources:
499
822
  {
500
823
  "height": 3,
501
824
  "width": 12,
502
- "y": 17,
825
+ "y": 29,
503
826
  "x": 6,
504
827
  "type": "metric",
505
828
  "properties": {
@@ -523,7 +846,7 @@ Resources:
523
846
  {
524
847
  "height": 3,
525
848
  "width": 3,
526
- "y": 17,
849
+ "y": 29,
527
850
  "x": 18,
528
851
  "type": "metric",
529
852
  "properties": {
@@ -544,7 +867,7 @@ Resources:
544
867
  {
545
868
  "height": 3,
546
869
  "width": 3,
547
- "y": 17,
870
+ "y": 29,
548
871
  "x": 21,
549
872
  "type": "metric",
550
873
  "properties": {
@@ -567,7 +890,7 @@ Resources:
567
890
  {
568
891
  "height": 1,
569
892
  "width": 24,
570
- "y": 23,
893
+ "y": 35,
571
894
  "x": 0,
572
895
  "type": "text",
573
896
  "properties": {
@@ -579,7 +902,7 @@ Resources:
579
902
  {
580
903
  "height": 2,
581
904
  "width": 3,
582
- "y": 24,
905
+ "y": 36,
583
906
  "x": 0,
584
907
  "type": "metric",
585
908
  "properties": {
@@ -597,7 +920,7 @@ Resources:
597
920
  {
598
921
  "height": 2,
599
922
  "width": 3,
600
- "y": 24,
923
+ "y": 36,
601
924
  "x": 3,
602
925
  "type": "metric",
603
926
  "properties": {
@@ -615,7 +938,7 @@ Resources:
615
938
  {
616
939
  "height": 2,
617
940
  "width": 3,
618
- "y": 24,
941
+ "y": 36,
619
942
  "x": 6,
620
943
  "type": "metric",
621
944
  "properties": {
@@ -633,7 +956,7 @@ Resources:
633
956
  {
634
957
  "height": 2,
635
958
  "width": 3,
636
- "y": 24,
959
+ "y": 36,
637
960
  "x": 9,
638
961
  "type": "metric",
639
962
  "properties": {
@@ -651,7 +974,7 @@ Resources:
651
974
  {
652
975
  "height": 2,
653
976
  "width": 3,
654
- "y": 24,
977
+ "y": 36,
655
978
  "x": 12,
656
979
  "type": "metric",
657
980
  "properties": {
@@ -669,7 +992,7 @@ Resources:
669
992
  {
670
993
  "height": 2,
671
994
  "width": 3,
672
- "y": 24,
995
+ "y": 36,
673
996
  "x": 15,
674
997
  "type": "metric",
675
998
  "properties": {
@@ -687,7 +1010,7 @@ Resources:
687
1010
  {
688
1011
  "height": 2,
689
1012
  "width": 3,
690
- "y": 24,
1013
+ "y": 36,
691
1014
  "x": 18,
692
1015
  "type": "metric",
693
1016
  "properties": {
@@ -705,7 +1028,7 @@ Resources:
705
1028
  {
706
1029
  "height": 2,
707
1030
  "width": 3,
708
- "y": 24,
1031
+ "y": 36,
709
1032
  "x": 21,
710
1033
  "type": "metric",
711
1034
  "properties": {
@@ -728,7 +1051,7 @@ Resources:
728
1051
  {
729
1052
  "height": 3,
730
1053
  "width": 3,
731
- "y": 27,
1054
+ "y": 39,
732
1055
  "x": 0,
733
1056
  "type": "metric",
734
1057
  "properties": {
@@ -749,7 +1072,7 @@ Resources:
749
1072
  {
750
1073
  "height": 3,
751
1074
  "width": 3,
752
- "y": 27,
1075
+ "y": 39,
753
1076
  "x": 3,
754
1077
  "type": "metric",
755
1078
  "properties": {
@@ -770,7 +1093,7 @@ Resources:
770
1093
  {
771
1094
  "height": 3,
772
1095
  "width": 12,
773
- "y": 27,
1096
+ "y": 39,
774
1097
  "x": 6,
775
1098
  "type": "metric",
776
1099
  "properties": {
@@ -794,7 +1117,7 @@ Resources:
794
1117
  {
795
1118
  "height": 3,
796
1119
  "width": 3,
797
- "y": 27,
1120
+ "y": 39,
798
1121
  "x": 18,
799
1122
  "type": "metric",
800
1123
  "properties": {
@@ -815,7 +1138,7 @@ Resources:
815
1138
  {
816
1139
  "height": 3,
817
1140
  "width": 3,
818
- "y": 27,
1141
+ "y": 39,
819
1142
  "x": 21,
820
1143
  "type": "metric",
821
1144
  "properties": {
@@ -838,7 +1161,7 @@ Resources:
838
1161
  {
839
1162
  "height": 1,
840
1163
  "width": 24,
841
- "y": 33,
1164
+ "y": 45,
842
1165
  "x": 0,
843
1166
  "type": "text",
844
1167
  "properties": {
@@ -850,7 +1173,7 @@ Resources:
850
1173
  {
851
1174
  "height": 2,
852
1175
  "width": 3,
853
- "y": 34,
1176
+ "y": 46,
854
1177
  "x": 0,
855
1178
  "type": "metric",
856
1179
  "properties": {
@@ -868,7 +1191,7 @@ Resources:
868
1191
  {
869
1192
  "height": 2,
870
1193
  "width": 3,
871
- "y": 34,
1194
+ "y": 46,
872
1195
  "x": 3,
873
1196
  "type": "metric",
874
1197
  "properties": {
@@ -886,7 +1209,7 @@ Resources:
886
1209
  {
887
1210
  "height": 2,
888
1211
  "width": 3,
889
- "y": 34,
1212
+ "y": 46,
890
1213
  "x": 6,
891
1214
  "type": "metric",
892
1215
  "properties": {
@@ -904,7 +1227,7 @@ Resources:
904
1227
  {
905
1228
  "height": 2,
906
1229
  "width": 3,
907
- "y": 34,
1230
+ "y": 46,
908
1231
  "x": 9,
909
1232
  "type": "metric",
910
1233
  "properties": {
@@ -922,7 +1245,7 @@ Resources:
922
1245
  {
923
1246
  "height": 2,
924
1247
  "width": 3,
925
- "y": 34,
1248
+ "y": 46,
926
1249
  "x": 12,
927
1250
  "type": "metric",
928
1251
  "properties": {
@@ -940,7 +1263,7 @@ Resources:
940
1263
  {
941
1264
  "height": 2,
942
1265
  "width": 3,
943
- "y": 34,
1266
+ "y": 46,
944
1267
  "x": 15,
945
1268
  "type": "metric",
946
1269
  "properties": {
@@ -958,7 +1281,7 @@ Resources:
958
1281
  {
959
1282
  "height": 2,
960
1283
  "width": 3,
961
- "y": 34,
1284
+ "y": 46,
962
1285
  "x": 18,
963
1286
  "type": "metric",
964
1287
  "properties": {
@@ -976,7 +1299,7 @@ Resources:
976
1299
  {
977
1300
  "height": 2,
978
1301
  "width": 3,
979
- "y": 34,
1302
+ "y": 46,
980
1303
  "x": 21,
981
1304
  "type": "metric",
982
1305
  "properties": {
@@ -999,7 +1322,7 @@ Resources:
999
1322
  {
1000
1323
  "height": 3,
1001
1324
  "width": 3,
1002
- "y": 37,
1325
+ "y": 49,
1003
1326
  "x": 0,
1004
1327
  "type": "metric",
1005
1328
  "properties": {
@@ -1020,7 +1343,7 @@ Resources:
1020
1343
  {
1021
1344
  "height": 3,
1022
1345
  "width": 3,
1023
- "y": 37,
1346
+ "y": 49,
1024
1347
  "x": 3,
1025
1348
  "type": "metric",
1026
1349
  "properties": {
@@ -1041,7 +1364,7 @@ Resources:
1041
1364
  {
1042
1365
  "height": 3,
1043
1366
  "width": 12,
1044
- "y": 37,
1367
+ "y": 49,
1045
1368
  "x": 6,
1046
1369
  "type": "metric",
1047
1370
  "properties": {
@@ -1065,7 +1388,7 @@ Resources:
1065
1388
  {
1066
1389
  "height": 3,
1067
1390
  "width": 3,
1068
- "y": 37,
1391
+ "y": 49,
1069
1392
  "x": 18,
1070
1393
  "type": "metric",
1071
1394
  "properties": {
@@ -1086,7 +1409,7 @@ Resources:
1086
1409
  {
1087
1410
  "height": 3,
1088
1411
  "width": 3,
1089
- "y": 37,
1412
+ "y": 49,
1090
1413
  "x": 21,
1091
1414
  "type": "metric",
1092
1415
  "properties": {
@@ -1111,7 +1434,7 @@ Resources:
1111
1434
  {
1112
1435
  "height": 6,
1113
1436
  "width": 12,
1114
- "y": 43,
1437
+ "y": 55,
1115
1438
  "x": 12,
1116
1439
  "type": "metric",
1117
1440
  "properties": {
@@ -1137,7 +1460,7 @@ Resources:
1137
1460
  {
1138
1461
  "height": 6,
1139
1462
  "width": 12,
1140
- "y": 43,
1463
+ "y": 55,
1141
1464
  "x": 0,
1142
1465
  "type": "metric",
1143
1466
  "properties": {
@@ -1164,7 +1487,7 @@ Resources:
1164
1487
  {
1165
1488
  "height": 6,
1166
1489
  "width": 12,
1167
- "y": 49,
1490
+ "y": 61,
1168
1491
  "x": 12,
1169
1492
  "type": "metric",
1170
1493
  "properties": {
@@ -1185,7 +1508,7 @@ Resources:
1185
1508
  {
1186
1509
  "height": 6,
1187
1510
  "width": 12,
1188
- "y": 49,
1511
+ "y": 61,
1189
1512
  "x": 0,
1190
1513
  "type": "metric",
1191
1514
  "properties": {
@@ -1209,7 +1532,7 @@ Resources:
1209
1532
  {
1210
1533
  "height": 3,
1211
1534
  "width": 24,
1212
- "y": 52,
1535
+ "y": 64,
1213
1536
  "x": 0,
1214
1537
  "type": "text",
1215
1538
  "properties": {
@@ -1222,7 +1545,7 @@ Resources:
1222
1545
  {
1223
1546
  "height": 3,
1224
1547
  "width": 6,
1225
- "y": 58,
1548
+ "y": 70,
1226
1549
  "x": 0,
1227
1550
  "type": "text",
1228
1551
  "properties": {
@@ -1232,7 +1555,7 @@ Resources:
1232
1555
  {
1233
1556
  "height": 3,
1234
1557
  "width": 3,
1235
- "y": 58,
1558
+ "y": 70,
1236
1559
  "x": 6,
1237
1560
  "type": "metric",
1238
1561
  "properties": {
@@ -1250,7 +1573,7 @@ Resources:
1250
1573
  {
1251
1574
  "height": 3,
1252
1575
  "width": 15,
1253
- "y": 58,
1576
+ "y": 70,
1254
1577
  "x": 9,
1255
1578
  "type": "metric",
1256
1579
  "properties": {
@@ -1274,7 +1597,7 @@ Resources:
1274
1597
  {
1275
1598
  "height": 6,
1276
1599
  "width": 9,
1277
- "y": 61,
1600
+ "y": 73,
1278
1601
  "x": 0,
1279
1602
  "type": "metric",
1280
1603
  "properties": {
@@ -1300,7 +1623,7 @@ Resources:
1300
1623
  {
1301
1624
  "height": 6,
1302
1625
  "width": 9,
1303
- "y": 61,
1626
+ "y": 73,
1304
1627
  "x": 9,
1305
1628
  "type": "metric",
1306
1629
  "properties": {
@@ -1320,7 +1643,7 @@ Resources:
1320
1643
  {
1321
1644
  "height": 3,
1322
1645
  "width": 6,
1323
- "y": 61,
1646
+ "y": 73,
1324
1647
  "x": 18,
1325
1648
  "type": "metric",
1326
1649
  "properties": {
@@ -1347,7 +1670,7 @@ Resources:
1347
1670
  {
1348
1671
  "height": 3,
1349
1672
  "width": 6,
1350
- "y": 64,
1673
+ "y": 76,
1351
1674
  "x": 18,
1352
1675
  "type": "metric",
1353
1676
  "properties": {
@@ -1369,7 +1692,7 @@ Resources:
1369
1692
  {
1370
1693
  "height": 3,
1371
1694
  "width": 6,
1372
- "y": 67,
1695
+ "y": 79,
1373
1696
  "x": 0,
1374
1697
  "type": "text",
1375
1698
  "properties": {
@@ -1379,7 +1702,7 @@ Resources:
1379
1702
  {
1380
1703
  "height": 3,
1381
1704
  "width": 3,
1382
- "y": 67,
1705
+ "y": 79,
1383
1706
  "x": 6,
1384
1707
  "type": "metric",
1385
1708
  "properties": {
@@ -1398,7 +1721,7 @@ Resources:
1398
1721
  {
1399
1722
  "height": 3,
1400
1723
  "width": 15,
1401
- "y": 67,
1724
+ "y": 79,
1402
1725
  "x": 9,
1403
1726
  "type": "metric",
1404
1727
  "properties": {
@@ -1421,7 +1744,7 @@ Resources:
1421
1744
  {
1422
1745
  "height": 6,
1423
1746
  "width": 9,
1424
- "y": 70,
1747
+ "y": 82,
1425
1748
  "x": 0,
1426
1749
  "type": "metric",
1427
1750
  "properties": {
@@ -1451,7 +1774,7 @@ Resources:
1451
1774
  {
1452
1775
  "height": 6,
1453
1776
  "width": 9,
1454
- "y": 70,
1777
+ "y": 82,
1455
1778
  "x": 9,
1456
1779
  "type": "metric",
1457
1780
  "properties": {
@@ -1471,7 +1794,7 @@ Resources:
1471
1794
  {
1472
1795
  "height": 3,
1473
1796
  "width": 6,
1474
- "y": 70,
1797
+ "y": 82,
1475
1798
  "x": 18,
1476
1799
  "type": "metric",
1477
1800
  "properties": {
@@ -1497,7 +1820,7 @@ Resources:
1497
1820
  {
1498
1821
  "height": 3,
1499
1822
  "width": 6,
1500
- "y": 73,
1823
+ "y": 85,
1501
1824
  "x": 18,
1502
1825
  "type": "metric",
1503
1826
  "properties": {
@@ -1518,7 +1841,7 @@ Resources:
1518
1841
  {
1519
1842
  "height": 3,
1520
1843
  "width": 6,
1521
- "y": 76,
1844
+ "y": 88,
1522
1845
  "x": 0,
1523
1846
  "type": "text",
1524
1847
  "properties": {
@@ -1528,7 +1851,7 @@ Resources:
1528
1851
  {
1529
1852
  "height": 3,
1530
1853
  "width": 3,
1531
- "y": 76,
1854
+ "y": 88,
1532
1855
  "x": 6,
1533
1856
  "type": "metric",
1534
1857
  "properties": {
@@ -1547,7 +1870,7 @@ Resources:
1547
1870
  {
1548
1871
  "height": 3,
1549
1872
  "width": 15,
1550
- "y": 76,
1873
+ "y": 88,
1551
1874
  "x": 9,
1552
1875
  "type": "metric",
1553
1876
  "properties": {
@@ -1570,7 +1893,7 @@ Resources:
1570
1893
  {
1571
1894
  "height": 6,
1572
1895
  "width": 9,
1573
- "y": 79,
1896
+ "y": 91,
1574
1897
  "x": 0,
1575
1898
  "type": "metric",
1576
1899
  "properties": {
@@ -1600,7 +1923,7 @@ Resources:
1600
1923
  {
1601
1924
  "height": 6,
1602
1925
  "width": 9,
1603
- "y": 79,
1926
+ "y": 91,
1604
1927
  "x": 9,
1605
1928
  "type": "metric",
1606
1929
  "properties": {
@@ -1620,7 +1943,7 @@ Resources:
1620
1943
  {
1621
1944
  "height": 3,
1622
1945
  "width": 6,
1623
- "y": 79,
1946
+ "y": 91,
1624
1947
  "x": 18,
1625
1948
  "type": "metric",
1626
1949
  "properties": {
@@ -1646,7 +1969,7 @@ Resources:
1646
1969
  {
1647
1970
  "height": 3,
1648
1971
  "width": 6,
1649
- "y": 82,
1972
+ "y": 94,
1650
1973
  "x": 18,
1651
1974
  "type": "metric",
1652
1975
  "properties": {
@@ -1670,7 +1993,7 @@ Resources:
1670
1993
  {
1671
1994
  "height": 3,
1672
1995
  "width": 6,
1673
- "y": 85,
1996
+ "y": 97,
1674
1997
  "x": 0,
1675
1998
  "type": "text",
1676
1999
  "properties": {
@@ -1680,7 +2003,7 @@ Resources:
1680
2003
  {
1681
2004
  "height": 3,
1682
2005
  "width": 3,
1683
- "y": 85,
2006
+ "y": 97,
1684
2007
  "x": 6,
1685
2008
  "type": "metric",
1686
2009
  "properties": {
@@ -1698,7 +2021,7 @@ Resources:
1698
2021
  {
1699
2022
  "height": 3,
1700
2023
  "width": 15,
1701
- "y": 85,
2024
+ "y": 97,
1702
2025
  "x": 9,
1703
2026
  "type": "metric",
1704
2027
  "properties": {
@@ -1723,7 +2046,7 @@ Resources:
1723
2046
  {
1724
2047
  "height": 3,
1725
2048
  "width": 6,
1726
- "y": 88,
2049
+ "y": 100,
1727
2050
  "x": 18,
1728
2051
  "type": "metric",
1729
2052
  "properties": {
@@ -1748,7 +2071,7 @@ Resources:
1748
2071
  {
1749
2072
  "height": 3,
1750
2073
  "width": 9,
1751
- "y": 88,
2074
+ "y": 100,
1752
2075
  "x": 9,
1753
2076
  "type": "metric",
1754
2077
  "properties": {
@@ -1768,7 +2091,7 @@ Resources:
1768
2091
  {
1769
2092
  "height": 3,
1770
2093
  "width": 9,
1771
- "y": 88,
2094
+ "y": 100,
1772
2095
  "x": 0,
1773
2096
  "type": "metric",
1774
2097
  "properties": {
@@ -1790,7 +2113,7 @@ Resources:
1790
2113
  {
1791
2114
  "height": 3,
1792
2115
  "width": 9,
1793
- "y": 91,
2116
+ "y": 103,
1794
2117
  "x": 0,
1795
2118
  "type": "metric",
1796
2119
  "properties": {
@@ -1812,7 +2135,7 @@ Resources:
1812
2135
  {
1813
2136
  "height": 3,
1814
2137
  "width": 6,
1815
- "y": 91,
2138
+ "y": 103,
1816
2139
  "x": 18,
1817
2140
  "type": "metric",
1818
2141
  "properties": {
@@ -1830,7 +2153,7 @@ Resources:
1830
2153
  {
1831
2154
  "height": 3,
1832
2155
  "width": 9,
1833
- "y": 91,
2156
+ "y": 103,
1834
2157
  "x": 9,
1835
2158
  "type": "metric",
1836
2159
  "properties": {
@@ -1856,7 +2179,7 @@ Resources:
1856
2179
  {
1857
2180
  "height": 3,
1858
2181
  "width": 18,
1859
- "y": 94,
2182
+ "y": 106,
1860
2183
  "x": 0,
1861
2184
  "type": "metric",
1862
2185
  "properties": {
@@ -1880,7 +2203,7 @@ Resources:
1880
2203
  {
1881
2204
  "height": 3,
1882
2205
  "width": 6,
1883
- "y": 94,
2206
+ "y": 106,
1884
2207
  "x": 18,
1885
2208
  "type": "metric",
1886
2209
  "properties": {
@@ -21,6 +21,128 @@ Resources:
21
21
  },
22
22
  <% current_y += 3 %>
23
23
 
24
+ { <% "Jobs/Minute Section" %>
25
+ "height": 1,
26
+ "width": 24,
27
+ "y": <%= current_y %>,
28
+ "x": 0,
29
+ "type": "text",
30
+ "properties": {
31
+ "markdown": "\n# Jobs Per Minute By Worker\n"
32
+ }
33
+ },
34
+ <% current_y += 1 %>
35
+
36
+
37
+ <%- app_worker_names.each_with_index do |worker_name, index| -%>
38
+ <%- current_y += 3 if (index > 0 && (index % 6) == 0) %>
39
+ { <% "Processed Jobs By Worker" %>
40
+ "height": 3,
41
+ "width": 4,
42
+ "y": <%= current_y %>,
43
+ "x": <%= (index % 6) * 4 %>,
44
+ "type": "metric",
45
+ "properties": {
46
+ "metrics": [
47
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "<%= worker_name %>" ]
48
+ ],
49
+ "view": "timeSeries",
50
+ "stacked": false,
51
+ "region": "us-east-1",
52
+ "title": "<%= worker_name %> Jobs/Min",
53
+ "period": 60,
54
+ "stat": "Sum",
55
+ "legend": {
56
+ "position": "hidden"
57
+ }
58
+ }
59
+ },
60
+ <%- end -%>
61
+ <%- current_y += 3 if (app_worker_names.count - 1) % 6 != 0 %>
62
+
63
+
64
+ { <% "Failures/Minute Section" %>
65
+ "height": 1,
66
+ "width": 24,
67
+ "y": <%= current_y %>,
68
+ "x": 0,
69
+ "type": "text",
70
+ "properties": {
71
+ "markdown": "\n# Failures Per Minute By Worker\n"
72
+ }
73
+ },
74
+ <% current_y += 1 %>
75
+
76
+
77
+ <%- app_worker_names.each_with_index do |worker_name, index| -%>
78
+ <%- current_y += 3 if (index > 0 && (index % 6) == 0) %>
79
+ { <% "Failed Jobs By Worker" %>
80
+ "height": 3,
81
+ "width": 4,
82
+ "y": <%= current_y %>,
83
+ "x": <%= (index % 6) * 4 %>,
84
+ "type": "metric",
85
+ "properties": {
86
+ "metrics": [
87
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "<%= worker_name %>", { "color": "#d62728" } ]
88
+ ],
89
+ "view": "timeSeries",
90
+ "stacked": false,
91
+ "region": "us-east-1",
92
+ "title": "<%= worker_name %> Fails/Min",
93
+ "period": 60,
94
+ "stat": "Sum",
95
+ "legend": {
96
+ "position": "hidden"
97
+ }
98
+ }
99
+ },
100
+ <%- end -%>
101
+ <%- current_y += 3 if (app_worker_names.count - 1) % 6 != 0 %>
102
+
103
+
104
+ { <% "Duration Percentiles Section" %>
105
+ "height": 1,
106
+ "width": 24,
107
+ "y": <%= current_y %>,
108
+ "x": 0,
109
+ "type": "text",
110
+ "properties": {
111
+ "markdown": "\n# Duration Percentiles By Worker\n"
112
+ }
113
+ },
114
+ <% current_y += 1 %>
115
+
116
+
117
+ <%- app_worker_names.each_with_index do |worker_name, index| -%>
118
+ <%- current_y += 4 if (index > 0 && (index % 6) == 0) %>
119
+ { <% "Job Duration By Worker" %>
120
+ "height": 4,
121
+ "width": 4,
122
+ "y": <%= current_y %>,
123
+ "x": <%= (index % 6) * 4 %>,
124
+ "type": "metric",
125
+ "properties": {
126
+ "metrics": [
127
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p90", "stat": "p90", "color": "#d62728" } ],
128
+ [ "...", { "label": "p80", "stat": "p80", "color": "#2ca02c" } ],
129
+ [ "...", { "label": "p70", "stat": "p70", "color": "#ff7f0e" } ],
130
+ [ "...", { "label": "p60", "color": "#1f77b4" } ]
131
+ ],
132
+ "view": "timeSeries",
133
+ "stacked": false,
134
+ "region": "us-east-1",
135
+ "stat": "p60",
136
+ "period": 60,
137
+ "title": "<%= worker_name %> Duration Percentiles",
138
+ "legend": {
139
+ "position": "bottom"
140
+ }
141
+ }
142
+ },
143
+ <%- end -%>
144
+ <%- current_y += 3 if (app_worker_names.count - 1) % 6 != 0 %>
145
+
24
146
 
25
147
  <%- app_worker_names.each do |worker_name| -%>
26
148
  { <% "Worker" %>
@@ -1,3 +1,3 @@
1
1
  module Funktor
2
- VERSION = "0.7.10"
2
+ VERSION = "0.7.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funktor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.10
4
+ version: 0.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green