funktor 0.7.18 → 0.7.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/funktor-testapp/app/workers/audit_worker.rb +3 -0
- data/funktor-testapp/funktor_config/resources/cloudwatch_dashboard.yml +284 -159
- data/lib/funktor/cli/templates/funktor_config/resources/cloudwatch_dashboard.yml +94 -34
- data/lib/funktor/version.rb +1 -1
- metadata +2 -2
@@ -35,7 +35,7 @@ Resources:
|
|
35
35
|
|
36
36
|
|
37
37
|
{
|
38
|
-
"height":
|
38
|
+
"height": 7,
|
39
39
|
"width": 4,
|
40
40
|
"y": 4,
|
41
41
|
"x": 0,
|
@@ -43,9 +43,26 @@ Resources:
|
|
43
43
|
"properties": {
|
44
44
|
"metrics": [
|
45
45
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "HelloWorker", { "color": "#2ca02c" } ],
|
46
|
-
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "HelloWorker", { "color": "#d62728" } ],
|
47
46
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
48
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "
|
47
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
48
|
+
],
|
49
|
+
"view": "singleValue",
|
50
|
+
"region": "us-east-1",
|
51
|
+
"stat": "Sum",
|
52
|
+
"period": 60,
|
53
|
+
"sparkline": true,
|
54
|
+
"title": "HelloWorker"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"height": 3,
|
59
|
+
"width": 4,
|
60
|
+
"y": 11,
|
61
|
+
"x": 0,
|
62
|
+
"type": "metric",
|
63
|
+
"properties": {
|
64
|
+
"metrics": [
|
65
|
+
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "HelloWorker", { "color": "#d62728" } ]
|
49
66
|
],
|
50
67
|
"view": "singleValue",
|
51
68
|
"region": "us-east-1",
|
@@ -57,7 +74,7 @@ Resources:
|
|
57
74
|
},
|
58
75
|
|
59
76
|
{
|
60
|
-
"height":
|
77
|
+
"height": 7,
|
61
78
|
"width": 4,
|
62
79
|
"y": 4,
|
63
80
|
"x": 4,
|
@@ -65,9 +82,26 @@ Resources:
|
|
65
82
|
"properties": {
|
66
83
|
"metrics": [
|
67
84
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "AuditWorker", { "color": "#2ca02c" } ],
|
68
|
-
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "AuditWorker", { "color": "#d62728" } ],
|
69
85
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
70
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
86
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
87
|
+
],
|
88
|
+
"view": "singleValue",
|
89
|
+
"region": "us-east-1",
|
90
|
+
"stat": "Sum",
|
91
|
+
"period": 60,
|
92
|
+
"sparkline": true,
|
93
|
+
"title": "AuditWorker"
|
94
|
+
}
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"height": 3,
|
98
|
+
"width": 4,
|
99
|
+
"y": 11,
|
100
|
+
"x": 4,
|
101
|
+
"type": "metric",
|
102
|
+
"properties": {
|
103
|
+
"metrics": [
|
104
|
+
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "AuditWorker", { "color": "#d62728" } ]
|
71
105
|
],
|
72
106
|
"view": "singleValue",
|
73
107
|
"region": "us-east-1",
|
@@ -79,7 +113,7 @@ Resources:
|
|
79
113
|
},
|
80
114
|
|
81
115
|
{
|
82
|
-
"height":
|
116
|
+
"height": 7,
|
83
117
|
"width": 4,
|
84
118
|
"y": 4,
|
85
119
|
"x": 8,
|
@@ -87,9 +121,26 @@ Resources:
|
|
87
121
|
"properties": {
|
88
122
|
"metrics": [
|
89
123
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "GreetingsWorker", { "color": "#2ca02c" } ],
|
90
|
-
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "GreetingsWorker", { "color": "#d62728" } ],
|
91
124
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
92
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
125
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
126
|
+
],
|
127
|
+
"view": "singleValue",
|
128
|
+
"region": "us-east-1",
|
129
|
+
"stat": "Sum",
|
130
|
+
"period": 60,
|
131
|
+
"sparkline": true,
|
132
|
+
"title": "GreetingsWorker"
|
133
|
+
}
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"height": 3,
|
137
|
+
"width": 4,
|
138
|
+
"y": 11,
|
139
|
+
"x": 8,
|
140
|
+
"type": "metric",
|
141
|
+
"properties": {
|
142
|
+
"metrics": [
|
143
|
+
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "GreetingsWorker", { "color": "#d62728" } ]
|
93
144
|
],
|
94
145
|
"view": "singleValue",
|
95
146
|
"region": "us-east-1",
|
@@ -101,7 +152,7 @@ Resources:
|
|
101
152
|
},
|
102
153
|
|
103
154
|
{
|
104
|
-
"height":
|
155
|
+
"height": 7,
|
105
156
|
"width": 4,
|
106
157
|
"y": 4,
|
107
158
|
"x": 12,
|
@@ -109,9 +160,26 @@ Resources:
|
|
109
160
|
"properties": {
|
110
161
|
"metrics": [
|
111
162
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "SingleThreadAuditWorker", { "color": "#2ca02c" } ],
|
112
|
-
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "SingleThreadAuditWorker", { "color": "#d62728" } ],
|
113
163
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
114
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
164
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
165
|
+
],
|
166
|
+
"view": "singleValue",
|
167
|
+
"region": "us-east-1",
|
168
|
+
"stat": "Sum",
|
169
|
+
"period": 60,
|
170
|
+
"sparkline": true,
|
171
|
+
"title": "SingleThreadAuditWorker"
|
172
|
+
}
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"height": 3,
|
176
|
+
"width": 4,
|
177
|
+
"y": 11,
|
178
|
+
"x": 12,
|
179
|
+
"type": "metric",
|
180
|
+
"properties": {
|
181
|
+
"metrics": [
|
182
|
+
[ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "SingleThreadAuditWorker", { "color": "#d62728" } ]
|
115
183
|
],
|
116
184
|
"view": "singleValue",
|
117
185
|
"region": "us-east-1",
|
@@ -127,7 +195,7 @@ Resources:
|
|
127
195
|
{
|
128
196
|
"height": 1,
|
129
197
|
"width": 24,
|
130
|
-
"y":
|
198
|
+
"y": 14,
|
131
199
|
"x": 0,
|
132
200
|
"type": "text",
|
133
201
|
"properties": {
|
@@ -139,7 +207,7 @@ Resources:
|
|
139
207
|
{
|
140
208
|
"height": 3,
|
141
209
|
"width": 3,
|
142
|
-
"y":
|
210
|
+
"y": 15,
|
143
211
|
"x": 0,
|
144
212
|
"type": "metric",
|
145
213
|
"properties": {
|
@@ -157,7 +225,7 @@ Resources:
|
|
157
225
|
{
|
158
226
|
"height": 3,
|
159
227
|
"width": 3,
|
160
|
-
"y":
|
228
|
+
"y": 15,
|
161
229
|
"x": 3,
|
162
230
|
"type": "metric",
|
163
231
|
"properties": {
|
@@ -175,43 +243,43 @@ Resources:
|
|
175
243
|
{
|
176
244
|
"height": 3,
|
177
245
|
"width": 3,
|
178
|
-
"y":
|
246
|
+
"y": 15,
|
179
247
|
"x": 6,
|
180
248
|
"type": "metric",
|
181
249
|
"properties": {
|
182
250
|
"metrics": [
|
183
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "
|
251
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p20", "color": "#1f77b4" } ]
|
184
252
|
],
|
185
253
|
"view": "singleValue",
|
186
254
|
"region": "us-east-1",
|
187
|
-
"stat": "
|
255
|
+
"stat": "p20",
|
188
256
|
"period": 60,
|
189
257
|
"sparkline": true,
|
190
|
-
"title": "HelloWorker
|
258
|
+
"title": "HelloWorker p20"
|
191
259
|
}
|
192
260
|
},
|
193
261
|
{
|
194
262
|
"height": 3,
|
195
263
|
"width": 3,
|
196
|
-
"y":
|
264
|
+
"y": 15,
|
197
265
|
"x": 9,
|
198
266
|
"type": "metric",
|
199
267
|
"properties": {
|
200
268
|
"metrics": [
|
201
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "
|
269
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
202
270
|
],
|
203
271
|
"view": "singleValue",
|
204
272
|
"region": "us-east-1",
|
205
|
-
"stat": "
|
273
|
+
"stat": "p50",
|
206
274
|
"period": 60,
|
207
275
|
"sparkline": true,
|
208
|
-
"title": "HelloWorker
|
276
|
+
"title": "HelloWorker p50"
|
209
277
|
}
|
210
278
|
},
|
211
279
|
{
|
212
280
|
"height": 3,
|
213
281
|
"width": 3,
|
214
|
-
"y":
|
282
|
+
"y": 15,
|
215
283
|
"x": 12,
|
216
284
|
"type": "metric",
|
217
285
|
"properties": {
|
@@ -229,7 +297,7 @@ Resources:
|
|
229
297
|
{
|
230
298
|
"height": 3,
|
231
299
|
"width": 3,
|
232
|
-
"y":
|
300
|
+
"y": 15,
|
233
301
|
"x": 15,
|
234
302
|
"type": "metric",
|
235
303
|
"properties": {
|
@@ -247,7 +315,7 @@ Resources:
|
|
247
315
|
{
|
248
316
|
"height": 3,
|
249
317
|
"width": 3,
|
250
|
-
"y":
|
318
|
+
"y": 15,
|
251
319
|
"x": 18,
|
252
320
|
"type": "metric",
|
253
321
|
"properties": {
|
@@ -265,7 +333,7 @@ Resources:
|
|
265
333
|
{
|
266
334
|
"height": 3,
|
267
335
|
"width": 3,
|
268
|
-
"y":
|
336
|
+
"y": 15,
|
269
337
|
"x": 21,
|
270
338
|
"type": "metric",
|
271
339
|
"properties": {
|
@@ -288,7 +356,7 @@ Resources:
|
|
288
356
|
{
|
289
357
|
"height": 3,
|
290
358
|
"width": 3,
|
291
|
-
"y":
|
359
|
+
"y": 18,
|
292
360
|
"x": 0,
|
293
361
|
"type": "metric",
|
294
362
|
"properties": {
|
@@ -309,7 +377,7 @@ Resources:
|
|
309
377
|
{
|
310
378
|
"height": 3,
|
311
379
|
"width": 3,
|
312
|
-
"y":
|
380
|
+
"y": 18,
|
313
381
|
"x": 3,
|
314
382
|
"type": "metric",
|
315
383
|
"properties": {
|
@@ -330,20 +398,20 @@ Resources:
|
|
330
398
|
{
|
331
399
|
"height": 3,
|
332
400
|
"width": 12,
|
333
|
-
"y":
|
401
|
+
"y": 18,
|
334
402
|
"x": 6,
|
335
403
|
"type": "metric",
|
336
404
|
"properties": {
|
337
405
|
"metrics": [
|
338
406
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "stat": "p90", "color": "#d62728" } ],
|
339
407
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
340
|
-
[ "...", { "stat": "
|
408
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
341
409
|
[ "...", { "color": "#1f77b4" } ]
|
342
410
|
],
|
343
411
|
"view": "timeSeries",
|
344
412
|
"stacked": false,
|
345
413
|
"region": "us-east-1",
|
346
|
-
"stat": "
|
414
|
+
"stat": "p20",
|
347
415
|
"period": 60,
|
348
416
|
"title": "HelloWorker Duration Percentiles",
|
349
417
|
"legend": {
|
@@ -354,7 +422,7 @@ Resources:
|
|
354
422
|
{
|
355
423
|
"height": 3,
|
356
424
|
"width": 3,
|
357
|
-
"y":
|
425
|
+
"y": 18,
|
358
426
|
"x": 18,
|
359
427
|
"type": "metric",
|
360
428
|
"properties": {
|
@@ -375,7 +443,7 @@ Resources:
|
|
375
443
|
{
|
376
444
|
"height": 3,
|
377
445
|
"width": 3,
|
378
|
-
"y":
|
446
|
+
"y": 18,
|
379
447
|
"x": 21,
|
380
448
|
"type": "metric",
|
381
449
|
"properties": {
|
@@ -397,7 +465,7 @@ Resources:
|
|
397
465
|
{
|
398
466
|
"height": 1,
|
399
467
|
"width": 24,
|
400
|
-
"y":
|
468
|
+
"y": 24,
|
401
469
|
"x": 0,
|
402
470
|
"type": "text",
|
403
471
|
"properties": {
|
@@ -409,7 +477,7 @@ Resources:
|
|
409
477
|
{
|
410
478
|
"height": 3,
|
411
479
|
"width": 3,
|
412
|
-
"y":
|
480
|
+
"y": 25,
|
413
481
|
"x": 0,
|
414
482
|
"type": "metric",
|
415
483
|
"properties": {
|
@@ -427,7 +495,7 @@ Resources:
|
|
427
495
|
{
|
428
496
|
"height": 3,
|
429
497
|
"width": 3,
|
430
|
-
"y":
|
498
|
+
"y": 25,
|
431
499
|
"x": 3,
|
432
500
|
"type": "metric",
|
433
501
|
"properties": {
|
@@ -445,43 +513,43 @@ Resources:
|
|
445
513
|
{
|
446
514
|
"height": 3,
|
447
515
|
"width": 3,
|
448
|
-
"y":
|
516
|
+
"y": 25,
|
449
517
|
"x": 6,
|
450
518
|
"type": "metric",
|
451
519
|
"properties": {
|
452
520
|
"metrics": [
|
453
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
521
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p20", "color": "#1f77b4" } ]
|
454
522
|
],
|
455
523
|
"view": "singleValue",
|
456
524
|
"region": "us-east-1",
|
457
|
-
"stat": "
|
525
|
+
"stat": "p20",
|
458
526
|
"period": 60,
|
459
527
|
"sparkline": true,
|
460
|
-
"title": "AuditWorker
|
528
|
+
"title": "AuditWorker p20"
|
461
529
|
}
|
462
530
|
},
|
463
531
|
{
|
464
532
|
"height": 3,
|
465
533
|
"width": 3,
|
466
|
-
"y":
|
534
|
+
"y": 25,
|
467
535
|
"x": 9,
|
468
536
|
"type": "metric",
|
469
537
|
"properties": {
|
470
538
|
"metrics": [
|
471
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
539
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
472
540
|
],
|
473
541
|
"view": "singleValue",
|
474
542
|
"region": "us-east-1",
|
475
|
-
"stat": "
|
543
|
+
"stat": "p50",
|
476
544
|
"period": 60,
|
477
545
|
"sparkline": true,
|
478
|
-
"title": "AuditWorker
|
546
|
+
"title": "AuditWorker p50"
|
479
547
|
}
|
480
548
|
},
|
481
549
|
{
|
482
550
|
"height": 3,
|
483
551
|
"width": 3,
|
484
|
-
"y":
|
552
|
+
"y": 25,
|
485
553
|
"x": 12,
|
486
554
|
"type": "metric",
|
487
555
|
"properties": {
|
@@ -499,7 +567,7 @@ Resources:
|
|
499
567
|
{
|
500
568
|
"height": 3,
|
501
569
|
"width": 3,
|
502
|
-
"y":
|
570
|
+
"y": 25,
|
503
571
|
"x": 15,
|
504
572
|
"type": "metric",
|
505
573
|
"properties": {
|
@@ -517,7 +585,7 @@ Resources:
|
|
517
585
|
{
|
518
586
|
"height": 3,
|
519
587
|
"width": 3,
|
520
|
-
"y":
|
588
|
+
"y": 25,
|
521
589
|
"x": 18,
|
522
590
|
"type": "metric",
|
523
591
|
"properties": {
|
@@ -535,7 +603,7 @@ Resources:
|
|
535
603
|
{
|
536
604
|
"height": 3,
|
537
605
|
"width": 3,
|
538
|
-
"y":
|
606
|
+
"y": 25,
|
539
607
|
"x": 21,
|
540
608
|
"type": "metric",
|
541
609
|
"properties": {
|
@@ -558,7 +626,7 @@ Resources:
|
|
558
626
|
{
|
559
627
|
"height": 3,
|
560
628
|
"width": 3,
|
561
|
-
"y":
|
629
|
+
"y": 28,
|
562
630
|
"x": 0,
|
563
631
|
"type": "metric",
|
564
632
|
"properties": {
|
@@ -579,7 +647,7 @@ Resources:
|
|
579
647
|
{
|
580
648
|
"height": 3,
|
581
649
|
"width": 3,
|
582
|
-
"y":
|
650
|
+
"y": 28,
|
583
651
|
"x": 3,
|
584
652
|
"type": "metric",
|
585
653
|
"properties": {
|
@@ -600,20 +668,20 @@ Resources:
|
|
600
668
|
{
|
601
669
|
"height": 3,
|
602
670
|
"width": 12,
|
603
|
-
"y":
|
671
|
+
"y": 28,
|
604
672
|
"x": 6,
|
605
673
|
"type": "metric",
|
606
674
|
"properties": {
|
607
675
|
"metrics": [
|
608
676
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "stat": "p90", "color": "#d62728" } ],
|
609
677
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
610
|
-
[ "...", { "stat": "
|
678
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
611
679
|
[ "...", { "color": "#1f77b4" } ]
|
612
680
|
],
|
613
681
|
"view": "timeSeries",
|
614
682
|
"stacked": false,
|
615
683
|
"region": "us-east-1",
|
616
|
-
"stat": "
|
684
|
+
"stat": "p20",
|
617
685
|
"period": 60,
|
618
686
|
"title": "AuditWorker Duration Percentiles",
|
619
687
|
"legend": {
|
@@ -624,7 +692,7 @@ Resources:
|
|
624
692
|
{
|
625
693
|
"height": 3,
|
626
694
|
"width": 3,
|
627
|
-
"y":
|
695
|
+
"y": 28,
|
628
696
|
"x": 18,
|
629
697
|
"type": "metric",
|
630
698
|
"properties": {
|
@@ -645,7 +713,7 @@ Resources:
|
|
645
713
|
{
|
646
714
|
"height": 3,
|
647
715
|
"width": 3,
|
648
|
-
"y":
|
716
|
+
"y": 28,
|
649
717
|
"x": 21,
|
650
718
|
"type": "metric",
|
651
719
|
"properties": {
|
@@ -667,7 +735,7 @@ Resources:
|
|
667
735
|
{
|
668
736
|
"height": 1,
|
669
737
|
"width": 24,
|
670
|
-
"y":
|
738
|
+
"y": 34,
|
671
739
|
"x": 0,
|
672
740
|
"type": "text",
|
673
741
|
"properties": {
|
@@ -679,7 +747,7 @@ Resources:
|
|
679
747
|
{
|
680
748
|
"height": 3,
|
681
749
|
"width": 3,
|
682
|
-
"y":
|
750
|
+
"y": 35,
|
683
751
|
"x": 0,
|
684
752
|
"type": "metric",
|
685
753
|
"properties": {
|
@@ -697,7 +765,7 @@ Resources:
|
|
697
765
|
{
|
698
766
|
"height": 3,
|
699
767
|
"width": 3,
|
700
|
-
"y":
|
768
|
+
"y": 35,
|
701
769
|
"x": 3,
|
702
770
|
"type": "metric",
|
703
771
|
"properties": {
|
@@ -715,43 +783,43 @@ Resources:
|
|
715
783
|
{
|
716
784
|
"height": 3,
|
717
785
|
"width": 3,
|
718
|
-
"y":
|
786
|
+
"y": 35,
|
719
787
|
"x": 6,
|
720
788
|
"type": "metric",
|
721
789
|
"properties": {
|
722
790
|
"metrics": [
|
723
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
791
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p20", "color": "#1f77b4" } ]
|
724
792
|
],
|
725
793
|
"view": "singleValue",
|
726
794
|
"region": "us-east-1",
|
727
|
-
"stat": "
|
795
|
+
"stat": "p20",
|
728
796
|
"period": 60,
|
729
797
|
"sparkline": true,
|
730
|
-
"title": "GreetingsWorker
|
798
|
+
"title": "GreetingsWorker p20"
|
731
799
|
}
|
732
800
|
},
|
733
801
|
{
|
734
802
|
"height": 3,
|
735
803
|
"width": 3,
|
736
|
-
"y":
|
804
|
+
"y": 35,
|
737
805
|
"x": 9,
|
738
806
|
"type": "metric",
|
739
807
|
"properties": {
|
740
808
|
"metrics": [
|
741
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
809
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
742
810
|
],
|
743
811
|
"view": "singleValue",
|
744
812
|
"region": "us-east-1",
|
745
|
-
"stat": "
|
813
|
+
"stat": "p50",
|
746
814
|
"period": 60,
|
747
815
|
"sparkline": true,
|
748
|
-
"title": "GreetingsWorker
|
816
|
+
"title": "GreetingsWorker p50"
|
749
817
|
}
|
750
818
|
},
|
751
819
|
{
|
752
820
|
"height": 3,
|
753
821
|
"width": 3,
|
754
|
-
"y":
|
822
|
+
"y": 35,
|
755
823
|
"x": 12,
|
756
824
|
"type": "metric",
|
757
825
|
"properties": {
|
@@ -769,7 +837,7 @@ Resources:
|
|
769
837
|
{
|
770
838
|
"height": 3,
|
771
839
|
"width": 3,
|
772
|
-
"y":
|
840
|
+
"y": 35,
|
773
841
|
"x": 15,
|
774
842
|
"type": "metric",
|
775
843
|
"properties": {
|
@@ -787,7 +855,7 @@ Resources:
|
|
787
855
|
{
|
788
856
|
"height": 3,
|
789
857
|
"width": 3,
|
790
|
-
"y":
|
858
|
+
"y": 35,
|
791
859
|
"x": 18,
|
792
860
|
"type": "metric",
|
793
861
|
"properties": {
|
@@ -805,7 +873,7 @@ Resources:
|
|
805
873
|
{
|
806
874
|
"height": 3,
|
807
875
|
"width": 3,
|
808
|
-
"y":
|
876
|
+
"y": 35,
|
809
877
|
"x": 21,
|
810
878
|
"type": "metric",
|
811
879
|
"properties": {
|
@@ -828,7 +896,7 @@ Resources:
|
|
828
896
|
{
|
829
897
|
"height": 3,
|
830
898
|
"width": 3,
|
831
|
-
"y":
|
899
|
+
"y": 38,
|
832
900
|
"x": 0,
|
833
901
|
"type": "metric",
|
834
902
|
"properties": {
|
@@ -849,7 +917,7 @@ Resources:
|
|
849
917
|
{
|
850
918
|
"height": 3,
|
851
919
|
"width": 3,
|
852
|
-
"y":
|
920
|
+
"y": 38,
|
853
921
|
"x": 3,
|
854
922
|
"type": "metric",
|
855
923
|
"properties": {
|
@@ -870,20 +938,20 @@ Resources:
|
|
870
938
|
{
|
871
939
|
"height": 3,
|
872
940
|
"width": 12,
|
873
|
-
"y":
|
941
|
+
"y": 38,
|
874
942
|
"x": 6,
|
875
943
|
"type": "metric",
|
876
944
|
"properties": {
|
877
945
|
"metrics": [
|
878
946
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "stat": "p90", "color": "#d62728" } ],
|
879
947
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
880
|
-
[ "...", { "stat": "
|
948
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
881
949
|
[ "...", { "color": "#1f77b4" } ]
|
882
950
|
],
|
883
951
|
"view": "timeSeries",
|
884
952
|
"stacked": false,
|
885
953
|
"region": "us-east-1",
|
886
|
-
"stat": "
|
954
|
+
"stat": "p20",
|
887
955
|
"period": 60,
|
888
956
|
"title": "GreetingsWorker Duration Percentiles",
|
889
957
|
"legend": {
|
@@ -894,7 +962,7 @@ Resources:
|
|
894
962
|
{
|
895
963
|
"height": 3,
|
896
964
|
"width": 3,
|
897
|
-
"y":
|
965
|
+
"y": 38,
|
898
966
|
"x": 18,
|
899
967
|
"type": "metric",
|
900
968
|
"properties": {
|
@@ -915,7 +983,7 @@ Resources:
|
|
915
983
|
{
|
916
984
|
"height": 3,
|
917
985
|
"width": 3,
|
918
|
-
"y":
|
986
|
+
"y": 38,
|
919
987
|
"x": 21,
|
920
988
|
"type": "metric",
|
921
989
|
"properties": {
|
@@ -937,7 +1005,7 @@ Resources:
|
|
937
1005
|
{
|
938
1006
|
"height": 1,
|
939
1007
|
"width": 24,
|
940
|
-
"y":
|
1008
|
+
"y": 44,
|
941
1009
|
"x": 0,
|
942
1010
|
"type": "text",
|
943
1011
|
"properties": {
|
@@ -949,7 +1017,7 @@ Resources:
|
|
949
1017
|
{
|
950
1018
|
"height": 3,
|
951
1019
|
"width": 3,
|
952
|
-
"y":
|
1020
|
+
"y": 45,
|
953
1021
|
"x": 0,
|
954
1022
|
"type": "metric",
|
955
1023
|
"properties": {
|
@@ -967,7 +1035,7 @@ Resources:
|
|
967
1035
|
{
|
968
1036
|
"height": 3,
|
969
1037
|
"width": 3,
|
970
|
-
"y":
|
1038
|
+
"y": 45,
|
971
1039
|
"x": 3,
|
972
1040
|
"type": "metric",
|
973
1041
|
"properties": {
|
@@ -985,43 +1053,43 @@ Resources:
|
|
985
1053
|
{
|
986
1054
|
"height": 3,
|
987
1055
|
"width": 3,
|
988
|
-
"y":
|
1056
|
+
"y": 45,
|
989
1057
|
"x": 6,
|
990
1058
|
"type": "metric",
|
991
1059
|
"properties": {
|
992
1060
|
"metrics": [
|
993
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
1061
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p20", "color": "#1f77b4" } ]
|
994
1062
|
],
|
995
1063
|
"view": "singleValue",
|
996
1064
|
"region": "us-east-1",
|
997
|
-
"stat": "
|
1065
|
+
"stat": "p20",
|
998
1066
|
"period": 60,
|
999
1067
|
"sparkline": true,
|
1000
|
-
"title": "SingleThreadAuditWorker
|
1068
|
+
"title": "SingleThreadAuditWorker p20"
|
1001
1069
|
}
|
1002
1070
|
},
|
1003
1071
|
{
|
1004
1072
|
"height": 3,
|
1005
1073
|
"width": 3,
|
1006
|
-
"y":
|
1074
|
+
"y": 45,
|
1007
1075
|
"x": 9,
|
1008
1076
|
"type": "metric",
|
1009
1077
|
"properties": {
|
1010
1078
|
"metrics": [
|
1011
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
1079
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
1012
1080
|
],
|
1013
1081
|
"view": "singleValue",
|
1014
1082
|
"region": "us-east-1",
|
1015
|
-
"stat": "
|
1083
|
+
"stat": "p50",
|
1016
1084
|
"period": 60,
|
1017
1085
|
"sparkline": true,
|
1018
|
-
"title": "SingleThreadAuditWorker
|
1086
|
+
"title": "SingleThreadAuditWorker p50"
|
1019
1087
|
}
|
1020
1088
|
},
|
1021
1089
|
{
|
1022
1090
|
"height": 3,
|
1023
1091
|
"width": 3,
|
1024
|
-
"y":
|
1092
|
+
"y": 45,
|
1025
1093
|
"x": 12,
|
1026
1094
|
"type": "metric",
|
1027
1095
|
"properties": {
|
@@ -1039,7 +1107,7 @@ Resources:
|
|
1039
1107
|
{
|
1040
1108
|
"height": 3,
|
1041
1109
|
"width": 3,
|
1042
|
-
"y":
|
1110
|
+
"y": 45,
|
1043
1111
|
"x": 15,
|
1044
1112
|
"type": "metric",
|
1045
1113
|
"properties": {
|
@@ -1057,7 +1125,7 @@ Resources:
|
|
1057
1125
|
{
|
1058
1126
|
"height": 3,
|
1059
1127
|
"width": 3,
|
1060
|
-
"y":
|
1128
|
+
"y": 45,
|
1061
1129
|
"x": 18,
|
1062
1130
|
"type": "metric",
|
1063
1131
|
"properties": {
|
@@ -1075,7 +1143,7 @@ Resources:
|
|
1075
1143
|
{
|
1076
1144
|
"height": 3,
|
1077
1145
|
"width": 3,
|
1078
|
-
"y":
|
1146
|
+
"y": 45,
|
1079
1147
|
"x": 21,
|
1080
1148
|
"type": "metric",
|
1081
1149
|
"properties": {
|
@@ -1098,7 +1166,7 @@ Resources:
|
|
1098
1166
|
{
|
1099
1167
|
"height": 3,
|
1100
1168
|
"width": 3,
|
1101
|
-
"y":
|
1169
|
+
"y": 48,
|
1102
1170
|
"x": 0,
|
1103
1171
|
"type": "metric",
|
1104
1172
|
"properties": {
|
@@ -1119,7 +1187,7 @@ Resources:
|
|
1119
1187
|
{
|
1120
1188
|
"height": 3,
|
1121
1189
|
"width": 3,
|
1122
|
-
"y":
|
1190
|
+
"y": 48,
|
1123
1191
|
"x": 3,
|
1124
1192
|
"type": "metric",
|
1125
1193
|
"properties": {
|
@@ -1140,20 +1208,20 @@ Resources:
|
|
1140
1208
|
{
|
1141
1209
|
"height": 3,
|
1142
1210
|
"width": 12,
|
1143
|
-
"y":
|
1211
|
+
"y": 48,
|
1144
1212
|
"x": 6,
|
1145
1213
|
"type": "metric",
|
1146
1214
|
"properties": {
|
1147
1215
|
"metrics": [
|
1148
1216
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "stat": "p90", "color": "#d62728" } ],
|
1149
1217
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
1150
|
-
[ "...", { "stat": "
|
1218
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
1151
1219
|
[ "...", { "color": "#1f77b4" } ]
|
1152
1220
|
],
|
1153
1221
|
"view": "timeSeries",
|
1154
1222
|
"stacked": false,
|
1155
1223
|
"region": "us-east-1",
|
1156
|
-
"stat": "
|
1224
|
+
"stat": "p20",
|
1157
1225
|
"period": 60,
|
1158
1226
|
"title": "SingleThreadAuditWorker Duration Percentiles",
|
1159
1227
|
"legend": {
|
@@ -1164,7 +1232,7 @@ Resources:
|
|
1164
1232
|
{
|
1165
1233
|
"height": 3,
|
1166
1234
|
"width": 3,
|
1167
|
-
"y":
|
1235
|
+
"y": 48,
|
1168
1236
|
"x": 18,
|
1169
1237
|
"type": "metric",
|
1170
1238
|
"properties": {
|
@@ -1185,7 +1253,7 @@ Resources:
|
|
1185
1253
|
{
|
1186
1254
|
"height": 3,
|
1187
1255
|
"width": 3,
|
1188
|
-
"y":
|
1256
|
+
"y": 48,
|
1189
1257
|
"x": 21,
|
1190
1258
|
"type": "metric",
|
1191
1259
|
"properties": {
|
@@ -1208,7 +1276,7 @@ Resources:
|
|
1208
1276
|
{
|
1209
1277
|
"height": 3,
|
1210
1278
|
"width": 24,
|
1211
|
-
"y":
|
1279
|
+
"y": 54,
|
1212
1280
|
"x": 0,
|
1213
1281
|
"type": "text",
|
1214
1282
|
"properties": {
|
@@ -1221,7 +1289,7 @@ Resources:
|
|
1221
1289
|
{
|
1222
1290
|
"height": 3,
|
1223
1291
|
"width": 6,
|
1224
|
-
"y":
|
1292
|
+
"y": 60,
|
1225
1293
|
"x": 0,
|
1226
1294
|
"type": "text",
|
1227
1295
|
"properties": {
|
@@ -1231,7 +1299,7 @@ Resources:
|
|
1231
1299
|
{
|
1232
1300
|
"height": 3,
|
1233
1301
|
"width": 3,
|
1234
|
-
"y":
|
1302
|
+
"y": 60,
|
1235
1303
|
"x": 6,
|
1236
1304
|
"type": "metric",
|
1237
1305
|
"properties": {
|
@@ -1249,19 +1317,19 @@ Resources:
|
|
1249
1317
|
{
|
1250
1318
|
"height": 3,
|
1251
1319
|
"width": 15,
|
1252
|
-
"y":
|
1320
|
+
"y": 60,
|
1253
1321
|
"x": 9,
|
1254
1322
|
"type": "metric",
|
1255
1323
|
"properties": {
|
1256
1324
|
"metrics": [
|
1257
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "
|
1258
|
-
[ "...", { "label": "
|
1325
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "p20" } ],
|
1326
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1259
1327
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1260
1328
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1261
1329
|
],
|
1262
1330
|
"view": "singleValue",
|
1263
1331
|
"region": "us-east-1",
|
1264
|
-
"stat": "
|
1332
|
+
"stat": "p20",
|
1265
1333
|
"period": 60,
|
1266
1334
|
"sparkline": true,
|
1267
1335
|
"title": "Handler Duration Percentiles"
|
@@ -1271,9 +1339,9 @@ Resources:
|
|
1271
1339
|
|
1272
1340
|
|
1273
1341
|
{
|
1274
|
-
"height":
|
1342
|
+
"height": 3,
|
1275
1343
|
"width": 9,
|
1276
|
-
"y":
|
1344
|
+
"y": 63,
|
1277
1345
|
"x": 0,
|
1278
1346
|
"type": "metric",
|
1279
1347
|
"properties": {
|
@@ -1296,17 +1364,31 @@ Resources:
|
|
1296
1364
|
"liveData": true
|
1297
1365
|
}
|
1298
1366
|
},
|
1367
|
+
{
|
1368
|
+
"type": "log",
|
1369
|
+
"x": 0,
|
1370
|
+
"y": 66,
|
1371
|
+
"width": 9,
|
1372
|
+
"height": 3,
|
1373
|
+
"properties": {
|
1374
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.IncomingJobHandlerName}' | fields @initDuration\n| filter ispresent(@initDuration)\n| stats pct(@initDuration, 5) as p5,\n\n\n\n pct(@initDuration, 50) as p50,\n\n\n\n pct(@initDuration, 95) as p95,\n\n\n\n pct(@initDuration, 99) as p99\n\n\n\n by bin(1h)\n",
|
1375
|
+
"region": "us-east-1",
|
1376
|
+
"stacked": false,
|
1377
|
+
"view": "timeSeries",
|
1378
|
+
"title": "Incoming Job Handler Init Duration"
|
1379
|
+
}
|
1380
|
+
},
|
1299
1381
|
{
|
1300
1382
|
"height": 6,
|
1301
1383
|
"width": 9,
|
1302
|
-
"y":
|
1384
|
+
"y": 63,
|
1303
1385
|
"x": 9,
|
1304
1386
|
"type": "metric",
|
1305
1387
|
"properties": {
|
1306
1388
|
"period": 60,
|
1307
1389
|
"metrics": [
|
1308
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "
|
1309
|
-
[ "...", { "stat": "
|
1390
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "p20" } ],
|
1391
|
+
[ "...", { "stat": "p50" } ],
|
1310
1392
|
[ "...", { "stat": "p80" } ],
|
1311
1393
|
[ "...", { "stat": "p90" } ]
|
1312
1394
|
],
|
@@ -1320,7 +1402,7 @@ Resources:
|
|
1320
1402
|
{
|
1321
1403
|
"height": 3,
|
1322
1404
|
"width": 6,
|
1323
|
-
"y":
|
1405
|
+
"y": 63,
|
1324
1406
|
"x": 18,
|
1325
1407
|
"type": "metric",
|
1326
1408
|
"properties": {
|
@@ -1347,7 +1429,7 @@ Resources:
|
|
1347
1429
|
{
|
1348
1430
|
"height": 3,
|
1349
1431
|
"width": 6,
|
1350
|
-
"y":
|
1432
|
+
"y": 66,
|
1351
1433
|
"x": 18,
|
1352
1434
|
"type": "metric",
|
1353
1435
|
"properties": {
|
@@ -1362,14 +1444,15 @@ Resources:
|
|
1362
1444
|
"liveData": true
|
1363
1445
|
}
|
1364
1446
|
},
|
1447
|
+
|
1365
1448
|
|
1449
|
+
|
1366
1450
|
|
1367
1451
|
|
1368
|
-
|
1369
1452
|
{
|
1370
1453
|
"height": 3,
|
1371
1454
|
"width": 6,
|
1372
|
-
"y":
|
1455
|
+
"y": 69,
|
1373
1456
|
"x": 0,
|
1374
1457
|
"type": "text",
|
1375
1458
|
"properties": {
|
@@ -1379,7 +1462,7 @@ Resources:
|
|
1379
1462
|
{
|
1380
1463
|
"height": 3,
|
1381
1464
|
"width": 3,
|
1382
|
-
"y":
|
1465
|
+
"y": 69,
|
1383
1466
|
"x": 6,
|
1384
1467
|
"type": "metric",
|
1385
1468
|
"properties": {
|
@@ -1398,30 +1481,30 @@ Resources:
|
|
1398
1481
|
{
|
1399
1482
|
"height": 3,
|
1400
1483
|
"width": 15,
|
1401
|
-
"y":
|
1484
|
+
"y": 69,
|
1402
1485
|
"x": 9,
|
1403
1486
|
"type": "metric",
|
1404
1487
|
"properties": {
|
1405
1488
|
"metrics": [
|
1406
1489
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
1407
1490
|
"${self:custom.funktor.DefaultQueueHandlerName}", "Resource",
|
1408
|
-
"${self:custom.funktor.DefaultQueueHandlerName}", { "label": "
|
1409
|
-
[ "...", { "label": "
|
1491
|
+
"${self:custom.funktor.DefaultQueueHandlerName}", { "label": "p20" } ],
|
1492
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1410
1493
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1411
1494
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1412
1495
|
],
|
1413
1496
|
"view": "singleValue",
|
1414
1497
|
"region": "us-east-1",
|
1415
|
-
"stat": "
|
1498
|
+
"stat": "p20",
|
1416
1499
|
"period": 60,
|
1417
1500
|
"sparkline": true,
|
1418
1501
|
"title": "Handler Duration"
|
1419
1502
|
}
|
1420
1503
|
},
|
1421
1504
|
{
|
1422
|
-
"height":
|
1505
|
+
"height": 3,
|
1423
1506
|
"width": 9,
|
1424
|
-
"y":
|
1507
|
+
"y": 72,
|
1425
1508
|
"x": 0,
|
1426
1509
|
"type": "metric",
|
1427
1510
|
"properties": {
|
@@ -1448,17 +1531,31 @@ Resources:
|
|
1448
1531
|
"liveData": true
|
1449
1532
|
}
|
1450
1533
|
},
|
1534
|
+
{
|
1535
|
+
"type": "log",
|
1536
|
+
"x": 0,
|
1537
|
+
"y": 72,
|
1538
|
+
"width": 9,
|
1539
|
+
"height": 3,
|
1540
|
+
"properties": {
|
1541
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.DefaultQueueHandlerName}' | fields @initDuration\n| filter ispresent(@initDuration)\n| stats pct(@initDuration, 5) as p5,\n\n\n\n pct(@initDuration, 50) as p50,\n\n\n\n pct(@initDuration, 95) as p95,\n\n\n\n pct(@initDuration, 99) as p99\n\n\n\n by bin(1h)\n",
|
1542
|
+
"region": "us-east-1",
|
1543
|
+
"stacked": false,
|
1544
|
+
"view": "timeSeries",
|
1545
|
+
"title": "Handler Init Duration"
|
1546
|
+
}
|
1547
|
+
},
|
1451
1548
|
{
|
1452
1549
|
"height": 6,
|
1453
1550
|
"width": 9,
|
1454
|
-
"y":
|
1551
|
+
"y": 72,
|
1455
1552
|
"x": 9,
|
1456
1553
|
"type": "metric",
|
1457
1554
|
"properties": {
|
1458
1555
|
"period": 60,
|
1459
1556
|
"metrics": [
|
1460
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "stat": "
|
1461
|
-
[ "...", { "stat": "
|
1557
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "stat": "p20" } ],
|
1558
|
+
[ "...", { "stat": "p50" } ],
|
1462
1559
|
[ "...", { "stat": "p80" } ],
|
1463
1560
|
[ "...", { "stat": "p90" } ]
|
1464
1561
|
],
|
@@ -1472,7 +1569,7 @@ Resources:
|
|
1472
1569
|
{
|
1473
1570
|
"height": 3,
|
1474
1571
|
"width": 6,
|
1475
|
-
"y":
|
1572
|
+
"y": 72,
|
1476
1573
|
"x": 18,
|
1477
1574
|
"type": "metric",
|
1478
1575
|
"properties": {
|
@@ -1498,7 +1595,7 @@ Resources:
|
|
1498
1595
|
{
|
1499
1596
|
"height": 3,
|
1500
1597
|
"width": 6,
|
1501
|
-
"y":
|
1598
|
+
"y": 75,
|
1502
1599
|
"x": 18,
|
1503
1600
|
"type": "metric",
|
1504
1601
|
"properties": {
|
@@ -1519,7 +1616,7 @@ Resources:
|
|
1519
1616
|
{
|
1520
1617
|
"height": 3,
|
1521
1618
|
"width": 6,
|
1522
|
-
"y":
|
1619
|
+
"y": 78,
|
1523
1620
|
"x": 0,
|
1524
1621
|
"type": "text",
|
1525
1622
|
"properties": {
|
@@ -1529,7 +1626,7 @@ Resources:
|
|
1529
1626
|
{
|
1530
1627
|
"height": 3,
|
1531
1628
|
"width": 3,
|
1532
|
-
"y":
|
1629
|
+
"y": 78,
|
1533
1630
|
"x": 6,
|
1534
1631
|
"type": "metric",
|
1535
1632
|
"properties": {
|
@@ -1548,30 +1645,30 @@ Resources:
|
|
1548
1645
|
{
|
1549
1646
|
"height": 3,
|
1550
1647
|
"width": 15,
|
1551
|
-
"y":
|
1648
|
+
"y": 78,
|
1552
1649
|
"x": 9,
|
1553
1650
|
"type": "metric",
|
1554
1651
|
"properties": {
|
1555
1652
|
"metrics": [
|
1556
1653
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
1557
1654
|
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", "Resource",
|
1558
|
-
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "label": "
|
1559
|
-
[ "...", { "label": "
|
1655
|
+
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "label": "p20" } ],
|
1656
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1560
1657
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1561
1658
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1562
1659
|
],
|
1563
1660
|
"view": "singleValue",
|
1564
1661
|
"region": "us-east-1",
|
1565
|
-
"stat": "
|
1662
|
+
"stat": "p20",
|
1566
1663
|
"period": 60,
|
1567
1664
|
"sparkline": true,
|
1568
1665
|
"title": "Handler Duration"
|
1569
1666
|
}
|
1570
1667
|
},
|
1571
1668
|
{
|
1572
|
-
"height":
|
1669
|
+
"height": 3,
|
1573
1670
|
"width": 9,
|
1574
|
-
"y":
|
1671
|
+
"y": 81,
|
1575
1672
|
"x": 0,
|
1576
1673
|
"type": "metric",
|
1577
1674
|
"properties": {
|
@@ -1598,17 +1695,31 @@ Resources:
|
|
1598
1695
|
"liveData": true
|
1599
1696
|
}
|
1600
1697
|
},
|
1698
|
+
{
|
1699
|
+
"type": "log",
|
1700
|
+
"x": 0,
|
1701
|
+
"y": 81,
|
1702
|
+
"width": 9,
|
1703
|
+
"height": 3,
|
1704
|
+
"properties": {
|
1705
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.LowConcurrencyQueueHandlerName}' | fields @initDuration\n| filter ispresent(@initDuration)\n| stats pct(@initDuration, 5) as p5,\n\n\n\n pct(@initDuration, 50) as p50,\n\n\n\n pct(@initDuration, 95) as p95,\n\n\n\n pct(@initDuration, 99) as p99\n\n\n\n by bin(1h)\n",
|
1706
|
+
"region": "us-east-1",
|
1707
|
+
"stacked": false,
|
1708
|
+
"view": "timeSeries",
|
1709
|
+
"title": "Handler Init Duration"
|
1710
|
+
}
|
1711
|
+
},
|
1601
1712
|
{
|
1602
1713
|
"height": 6,
|
1603
1714
|
"width": 9,
|
1604
|
-
"y":
|
1715
|
+
"y": 81,
|
1605
1716
|
"x": 9,
|
1606
1717
|
"type": "metric",
|
1607
1718
|
"properties": {
|
1608
1719
|
"period": 60,
|
1609
1720
|
"metrics": [
|
1610
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "stat": "
|
1611
|
-
[ "...", { "stat": "
|
1721
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "stat": "p20" } ],
|
1722
|
+
[ "...", { "stat": "p50" } ],
|
1612
1723
|
[ "...", { "stat": "p80" } ],
|
1613
1724
|
[ "...", { "stat": "p90" } ]
|
1614
1725
|
],
|
@@ -1622,7 +1733,7 @@ Resources:
|
|
1622
1733
|
{
|
1623
1734
|
"height": 3,
|
1624
1735
|
"width": 6,
|
1625
|
-
"y":
|
1736
|
+
"y": 81,
|
1626
1737
|
"x": 18,
|
1627
1738
|
"type": "metric",
|
1628
1739
|
"properties": {
|
@@ -1648,7 +1759,7 @@ Resources:
|
|
1648
1759
|
{
|
1649
1760
|
"height": 3,
|
1650
1761
|
"width": 6,
|
1651
|
-
"y":
|
1762
|
+
"y": 84,
|
1652
1763
|
"x": 18,
|
1653
1764
|
"type": "metric",
|
1654
1765
|
"properties": {
|
@@ -1672,7 +1783,7 @@ Resources:
|
|
1672
1783
|
{
|
1673
1784
|
"height": 3,
|
1674
1785
|
"width": 6,
|
1675
|
-
"y":
|
1786
|
+
"y": 87,
|
1676
1787
|
"x": 0,
|
1677
1788
|
"type": "text",
|
1678
1789
|
"properties": {
|
@@ -1682,7 +1793,7 @@ Resources:
|
|
1682
1793
|
{
|
1683
1794
|
"height": 3,
|
1684
1795
|
"width": 3,
|
1685
|
-
"y":
|
1796
|
+
"y": 87,
|
1686
1797
|
"x": 6,
|
1687
1798
|
"type": "metric",
|
1688
1799
|
"properties": {
|
@@ -1700,19 +1811,19 @@ Resources:
|
|
1700
1811
|
{
|
1701
1812
|
"height": 3,
|
1702
1813
|
"width": 15,
|
1703
|
-
"y":
|
1814
|
+
"y": 87,
|
1704
1815
|
"x": 9,
|
1705
1816
|
"type": "metric",
|
1706
1817
|
"properties": {
|
1707
1818
|
"metrics": [
|
1708
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "
|
1709
|
-
[ "...", { "label": "
|
1819
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "p20" } ],
|
1820
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1710
1821
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1711
1822
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1712
1823
|
],
|
1713
1824
|
"view": "singleValue",
|
1714
1825
|
"region": "us-east-1",
|
1715
|
-
"stat": "
|
1826
|
+
"stat": "p20",
|
1716
1827
|
"period": 60,
|
1717
1828
|
"sparkline": true,
|
1718
1829
|
"title": "Handler Duration"
|
@@ -1725,7 +1836,7 @@ Resources:
|
|
1725
1836
|
{
|
1726
1837
|
"height": 3,
|
1727
1838
|
"width": 6,
|
1728
|
-
"y":
|
1839
|
+
"y": 90,
|
1729
1840
|
"x": 18,
|
1730
1841
|
"type": "metric",
|
1731
1842
|
"properties": {
|
@@ -1750,14 +1861,14 @@ Resources:
|
|
1750
1861
|
{
|
1751
1862
|
"height": 3,
|
1752
1863
|
"width": 9,
|
1753
|
-
"y":
|
1864
|
+
"y": 90,
|
1754
1865
|
"x": 9,
|
1755
1866
|
"type": "metric",
|
1756
1867
|
"properties": {
|
1757
1868
|
"period": 60,
|
1758
1869
|
"metrics": [
|
1759
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "
|
1760
|
-
[ "...", { "stat": "
|
1870
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "p20" } ],
|
1871
|
+
[ "...", { "stat": "p50" } ],
|
1761
1872
|
[ "...", { "stat": "p80" } ],
|
1762
1873
|
[ "...", { "stat": "p90" } ]
|
1763
1874
|
],
|
@@ -1771,7 +1882,7 @@ Resources:
|
|
1771
1882
|
{
|
1772
1883
|
"height": 3,
|
1773
1884
|
"width": 9,
|
1774
|
-
"y":
|
1885
|
+
"y": 90,
|
1775
1886
|
"x": 0,
|
1776
1887
|
"type": "metric",
|
1777
1888
|
"properties": {
|
@@ -1793,7 +1904,7 @@ Resources:
|
|
1793
1904
|
{
|
1794
1905
|
"height": 3,
|
1795
1906
|
"width": 9,
|
1796
|
-
"y":
|
1907
|
+
"y": 93,
|
1797
1908
|
"x": 0,
|
1798
1909
|
"type": "metric",
|
1799
1910
|
"properties": {
|
@@ -1815,7 +1926,7 @@ Resources:
|
|
1815
1926
|
{
|
1816
1927
|
"height": 3,
|
1817
1928
|
"width": 6,
|
1818
|
-
"y":
|
1929
|
+
"y": 93,
|
1819
1930
|
"x": 18,
|
1820
1931
|
"type": "metric",
|
1821
1932
|
"properties": {
|
@@ -1833,7 +1944,7 @@ Resources:
|
|
1833
1944
|
{
|
1834
1945
|
"height": 3,
|
1835
1946
|
"width": 9,
|
1836
|
-
"y":
|
1947
|
+
"y": 93,
|
1837
1948
|
"x": 9,
|
1838
1949
|
"type": "metric",
|
1839
1950
|
"properties": {
|
@@ -1856,11 +1967,25 @@ Resources:
|
|
1856
1967
|
|
1857
1968
|
|
1858
1969
|
|
1970
|
+
{
|
1971
|
+
"type": "log",
|
1972
|
+
"x": 0,
|
1973
|
+
"y": 96,
|
1974
|
+
"width": 9,
|
1975
|
+
"height": 3,
|
1976
|
+
"properties": {
|
1977
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.JobActivatorName}' | fields @initDuration\n| filter ispresent(@initDuration)\n| stats pct(@initDuration, 5) as p5,\n\n\n\n pct(@initDuration, 50) as p50,\n\n\n\n pct(@initDuration, 95) as p95,\n\n\n\n pct(@initDuration, 99) as p99\n\n\n\n by bin(1h)\n",
|
1978
|
+
"region": "us-east-1",
|
1979
|
+
"stacked": false,
|
1980
|
+
"view": "timeSeries",
|
1981
|
+
"title": "Handler Init Duration"
|
1982
|
+
}
|
1983
|
+
},
|
1859
1984
|
{
|
1860
1985
|
"height": 3,
|
1861
|
-
"width":
|
1862
|
-
"y":
|
1863
|
-
"x":
|
1986
|
+
"width": 9,
|
1987
|
+
"y": 96,
|
1988
|
+
"x": 9,
|
1864
1989
|
"type": "metric",
|
1865
1990
|
"properties": {
|
1866
1991
|
"metrics": [
|
@@ -1883,7 +2008,7 @@ Resources:
|
|
1883
2008
|
{
|
1884
2009
|
"height": 3,
|
1885
2010
|
"width": 6,
|
1886
|
-
"y":
|
2011
|
+
"y": 96,
|
1887
2012
|
"x": 18,
|
1888
2013
|
"type": "metric",
|
1889
2014
|
"properties": {
|