funktor 0.7.20 → 0.7.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/funktor-testapp/funktor_config/funktor.yml +4 -4
- data/funktor-testapp/funktor_config/resources/cloudwatch_dashboard.yml +329 -278
- data/lib/funktor/cli/templates/funktor_config/resources/cloudwatch_dashboard.yml +234 -191
- data/lib/funktor/version.rb +1 -1
- metadata +2 -2
@@ -44,7 +44,7 @@ Resources:
|
|
44
44
|
"metrics": [
|
45
45
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "HelloWorker", { "color": "#2ca02c" } ],
|
46
46
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
47
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "
|
47
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
48
48
|
],
|
49
49
|
"view": "singleValue",
|
50
50
|
"region": "us-east-1",
|
@@ -83,7 +83,7 @@ Resources:
|
|
83
83
|
"metrics": [
|
84
84
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "AuditWorker", { "color": "#2ca02c" } ],
|
85
85
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
86
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
86
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
87
87
|
],
|
88
88
|
"view": "singleValue",
|
89
89
|
"region": "us-east-1",
|
@@ -122,7 +122,7 @@ Resources:
|
|
122
122
|
"metrics": [
|
123
123
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "GreetingsWorker", { "color": "#2ca02c" } ],
|
124
124
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
125
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
125
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
126
126
|
],
|
127
127
|
"view": "singleValue",
|
128
128
|
"region": "us-east-1",
|
@@ -161,7 +161,7 @@ Resources:
|
|
161
161
|
"metrics": [
|
162
162
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "SingleThreadAuditWorker", { "color": "#2ca02c" } ],
|
163
163
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
164
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
164
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
165
165
|
],
|
166
166
|
"view": "singleValue",
|
167
167
|
"region": "us-east-1",
|
@@ -248,14 +248,14 @@ Resources:
|
|
248
248
|
"type": "metric",
|
249
249
|
"properties": {
|
250
250
|
"metrics": [
|
251
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "
|
251
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p20", "color": "#1f77b4" } ]
|
252
252
|
],
|
253
253
|
"view": "singleValue",
|
254
254
|
"region": "us-east-1",
|
255
|
-
"stat": "
|
255
|
+
"stat": "p20",
|
256
256
|
"period": 60,
|
257
257
|
"sparkline": true,
|
258
|
-
"title": "HelloWorker
|
258
|
+
"title": "HelloWorker p20"
|
259
259
|
}
|
260
260
|
},
|
261
261
|
{
|
@@ -266,14 +266,14 @@ Resources:
|
|
266
266
|
"type": "metric",
|
267
267
|
"properties": {
|
268
268
|
"metrics": [
|
269
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "
|
269
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
270
270
|
],
|
271
271
|
"view": "singleValue",
|
272
272
|
"region": "us-east-1",
|
273
|
-
"stat": "
|
273
|
+
"stat": "p50",
|
274
274
|
"period": 60,
|
275
275
|
"sparkline": true,
|
276
|
-
"title": "HelloWorker
|
276
|
+
"title": "HelloWorker p50"
|
277
277
|
}
|
278
278
|
},
|
279
279
|
{
|
@@ -350,9 +350,6 @@ Resources:
|
|
350
350
|
},
|
351
351
|
|
352
352
|
|
353
|
-
|
354
|
-
|
355
|
-
|
356
353
|
{
|
357
354
|
"height": 3,
|
358
355
|
"width": 3,
|
@@ -405,13 +402,13 @@ Resources:
|
|
405
402
|
"metrics": [
|
406
403
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "stat": "p90", "color": "#d62728" } ],
|
407
404
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
408
|
-
[ "...", { "stat": "
|
405
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
409
406
|
[ "...", { "color": "#1f77b4" } ]
|
410
407
|
],
|
411
408
|
"view": "timeSeries",
|
412
409
|
"stacked": false,
|
413
410
|
"region": "us-east-1",
|
414
|
-
"stat": "
|
411
|
+
"stat": "p20",
|
415
412
|
"period": 60,
|
416
413
|
"title": "HelloWorker Duration Percentiles",
|
417
414
|
"legend": {
|
@@ -518,14 +515,14 @@ Resources:
|
|
518
515
|
"type": "metric",
|
519
516
|
"properties": {
|
520
517
|
"metrics": [
|
521
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
518
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p20", "color": "#1f77b4" } ]
|
522
519
|
],
|
523
520
|
"view": "singleValue",
|
524
521
|
"region": "us-east-1",
|
525
|
-
"stat": "
|
522
|
+
"stat": "p20",
|
526
523
|
"period": 60,
|
527
524
|
"sparkline": true,
|
528
|
-
"title": "AuditWorker
|
525
|
+
"title": "AuditWorker p20"
|
529
526
|
}
|
530
527
|
},
|
531
528
|
{
|
@@ -536,14 +533,14 @@ Resources:
|
|
536
533
|
"type": "metric",
|
537
534
|
"properties": {
|
538
535
|
"metrics": [
|
539
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
536
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
540
537
|
],
|
541
538
|
"view": "singleValue",
|
542
539
|
"region": "us-east-1",
|
543
|
-
"stat": "
|
540
|
+
"stat": "p50",
|
544
541
|
"period": 60,
|
545
542
|
"sparkline": true,
|
546
|
-
"title": "AuditWorker
|
543
|
+
"title": "AuditWorker p50"
|
547
544
|
}
|
548
545
|
},
|
549
546
|
{
|
@@ -620,9 +617,6 @@ Resources:
|
|
620
617
|
},
|
621
618
|
|
622
619
|
|
623
|
-
|
624
|
-
|
625
|
-
|
626
620
|
{
|
627
621
|
"height": 3,
|
628
622
|
"width": 3,
|
@@ -675,13 +669,13 @@ Resources:
|
|
675
669
|
"metrics": [
|
676
670
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "stat": "p90", "color": "#d62728" } ],
|
677
671
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
678
|
-
[ "...", { "stat": "
|
672
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
679
673
|
[ "...", { "color": "#1f77b4" } ]
|
680
674
|
],
|
681
675
|
"view": "timeSeries",
|
682
676
|
"stacked": false,
|
683
677
|
"region": "us-east-1",
|
684
|
-
"stat": "
|
678
|
+
"stat": "p20",
|
685
679
|
"period": 60,
|
686
680
|
"title": "AuditWorker Duration Percentiles",
|
687
681
|
"legend": {
|
@@ -788,14 +782,14 @@ Resources:
|
|
788
782
|
"type": "metric",
|
789
783
|
"properties": {
|
790
784
|
"metrics": [
|
791
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
785
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p20", "color": "#1f77b4" } ]
|
792
786
|
],
|
793
787
|
"view": "singleValue",
|
794
788
|
"region": "us-east-1",
|
795
|
-
"stat": "
|
789
|
+
"stat": "p20",
|
796
790
|
"period": 60,
|
797
791
|
"sparkline": true,
|
798
|
-
"title": "GreetingsWorker
|
792
|
+
"title": "GreetingsWorker p20"
|
799
793
|
}
|
800
794
|
},
|
801
795
|
{
|
@@ -806,14 +800,14 @@ Resources:
|
|
806
800
|
"type": "metric",
|
807
801
|
"properties": {
|
808
802
|
"metrics": [
|
809
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
803
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
810
804
|
],
|
811
805
|
"view": "singleValue",
|
812
806
|
"region": "us-east-1",
|
813
|
-
"stat": "
|
807
|
+
"stat": "p50",
|
814
808
|
"period": 60,
|
815
809
|
"sparkline": true,
|
816
|
-
"title": "GreetingsWorker
|
810
|
+
"title": "GreetingsWorker p50"
|
817
811
|
}
|
818
812
|
},
|
819
813
|
{
|
@@ -890,9 +884,6 @@ Resources:
|
|
890
884
|
},
|
891
885
|
|
892
886
|
|
893
|
-
|
894
|
-
|
895
|
-
|
896
887
|
{
|
897
888
|
"height": 3,
|
898
889
|
"width": 3,
|
@@ -945,13 +936,13 @@ Resources:
|
|
945
936
|
"metrics": [
|
946
937
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "stat": "p90", "color": "#d62728" } ],
|
947
938
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
948
|
-
[ "...", { "stat": "
|
939
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
949
940
|
[ "...", { "color": "#1f77b4" } ]
|
950
941
|
],
|
951
942
|
"view": "timeSeries",
|
952
943
|
"stacked": false,
|
953
944
|
"region": "us-east-1",
|
954
|
-
"stat": "
|
945
|
+
"stat": "p20",
|
955
946
|
"period": 60,
|
956
947
|
"title": "GreetingsWorker Duration Percentiles",
|
957
948
|
"legend": {
|
@@ -1058,14 +1049,14 @@ Resources:
|
|
1058
1049
|
"type": "metric",
|
1059
1050
|
"properties": {
|
1060
1051
|
"metrics": [
|
1061
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
1052
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p20", "color": "#1f77b4" } ]
|
1062
1053
|
],
|
1063
1054
|
"view": "singleValue",
|
1064
1055
|
"region": "us-east-1",
|
1065
|
-
"stat": "
|
1056
|
+
"stat": "p20",
|
1066
1057
|
"period": 60,
|
1067
1058
|
"sparkline": true,
|
1068
|
-
"title": "SingleThreadAuditWorker
|
1059
|
+
"title": "SingleThreadAuditWorker p20"
|
1069
1060
|
}
|
1070
1061
|
},
|
1071
1062
|
{
|
@@ -1076,14 +1067,14 @@ Resources:
|
|
1076
1067
|
"type": "metric",
|
1077
1068
|
"properties": {
|
1078
1069
|
"metrics": [
|
1079
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
1070
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
1080
1071
|
],
|
1081
1072
|
"view": "singleValue",
|
1082
1073
|
"region": "us-east-1",
|
1083
|
-
"stat": "
|
1074
|
+
"stat": "p50",
|
1084
1075
|
"period": 60,
|
1085
1076
|
"sparkline": true,
|
1086
|
-
"title": "SingleThreadAuditWorker
|
1077
|
+
"title": "SingleThreadAuditWorker p50"
|
1087
1078
|
}
|
1088
1079
|
},
|
1089
1080
|
{
|
@@ -1160,9 +1151,6 @@ Resources:
|
|
1160
1151
|
},
|
1161
1152
|
|
1162
1153
|
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
1154
|
{
|
1167
1155
|
"height": 3,
|
1168
1156
|
"width": 3,
|
@@ -1215,13 +1203,13 @@ Resources:
|
|
1215
1203
|
"metrics": [
|
1216
1204
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "stat": "p90", "color": "#d62728" } ],
|
1217
1205
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
1218
|
-
[ "...", { "stat": "
|
1206
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
1219
1207
|
[ "...", { "color": "#1f77b4" } ]
|
1220
1208
|
],
|
1221
1209
|
"view": "timeSeries",
|
1222
1210
|
"stacked": false,
|
1223
1211
|
"region": "us-east-1",
|
1224
|
-
"stat": "
|
1212
|
+
"stat": "p20",
|
1225
1213
|
"period": 60,
|
1226
1214
|
"title": "SingleThreadAuditWorker Duration Percentiles",
|
1227
1215
|
"legend": {
|
@@ -1274,7 +1262,7 @@ Resources:
|
|
1274
1262
|
|
1275
1263
|
|
1276
1264
|
{
|
1277
|
-
"height":
|
1265
|
+
"height": 2,
|
1278
1266
|
"width": 24,
|
1279
1267
|
"y": 54,
|
1280
1268
|
"x": 0,
|
@@ -1283,23 +1271,23 @@ Resources:
|
|
1283
1271
|
"markdown": "\n# Behind the scenes\n\n The stats below give some insight into the inner workings of the Funktor apparatus."
|
1284
1272
|
}
|
1285
1273
|
},
|
1274
|
+
|
1286
1275
|
|
1287
1276
|
|
1288
|
-
|
1289
1277
|
{
|
1290
1278
|
"height": 3,
|
1291
1279
|
"width": 6,
|
1292
|
-
"y":
|
1280
|
+
"y": 56,
|
1293
1281
|
"x": 0,
|
1294
1282
|
"type": "text",
|
1295
1283
|
"properties": {
|
1296
|
-
"markdown": "\n# Incoming Jobs\n"
|
1284
|
+
"markdown": "\n# Incoming Jobs\n All jobs enter the system here. Jobs that are to be executed within the next 90 second go directly to a work queue. Jobs farther in the future are put in the jobs table."
|
1297
1285
|
}
|
1298
1286
|
},
|
1299
1287
|
{
|
1300
1288
|
"height": 3,
|
1301
1289
|
"width": 3,
|
1302
|
-
"y":
|
1290
|
+
"y": 56,
|
1303
1291
|
"x": 6,
|
1304
1292
|
"type": "metric",
|
1305
1293
|
"properties": {
|
@@ -1317,31 +1305,31 @@ Resources:
|
|
1317
1305
|
{
|
1318
1306
|
"height": 3,
|
1319
1307
|
"width": 15,
|
1320
|
-
"y":
|
1308
|
+
"y": 56,
|
1321
1309
|
"x": 9,
|
1322
1310
|
"type": "metric",
|
1323
1311
|
"properties": {
|
1324
1312
|
"metrics": [
|
1325
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "
|
1326
|
-
[ "...", { "label": "
|
1313
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "p20" } ],
|
1314
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1327
1315
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1328
1316
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1329
1317
|
],
|
1330
1318
|
"view": "singleValue",
|
1331
1319
|
"region": "us-east-1",
|
1332
|
-
"stat": "
|
1320
|
+
"stat": "p20",
|
1333
1321
|
"period": 60,
|
1334
1322
|
"sparkline": true,
|
1335
1323
|
"title": "Handler Duration Percentiles"
|
1336
1324
|
}
|
1337
1325
|
},
|
1326
|
+
|
1338
1327
|
|
1339
1328
|
|
1340
|
-
|
1341
1329
|
{
|
1342
|
-
"height":
|
1330
|
+
"height": 4,
|
1343
1331
|
"width": 9,
|
1344
|
-
"y":
|
1332
|
+
"y": 59,
|
1345
1333
|
"x": 0,
|
1346
1334
|
"type": "metric",
|
1347
1335
|
"properties": {
|
@@ -1357,7 +1345,7 @@ Resources:
|
|
1357
1345
|
"view": "timeSeries",
|
1358
1346
|
"stacked": false,
|
1359
1347
|
"region": "us-east-1",
|
1360
|
-
"title": "Incoming Job Queue
|
1348
|
+
"title": "Incoming Job Queue Counts",
|
1361
1349
|
"period": 60,
|
1362
1350
|
"stat": "Sum",
|
1363
1351
|
"setPeriodToTimeRange": true,
|
@@ -1365,35 +1353,26 @@ Resources:
|
|
1365
1353
|
}
|
1366
1354
|
},
|
1367
1355
|
{
|
1368
|
-
|
1369
|
-
|
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
|
-
},
|
1381
|
-
{
|
1382
|
-
"height": 6,
|
1383
|
-
"width": 9,
|
1356
|
+
"height": 3,
|
1357
|
+
"width": 4,
|
1384
1358
|
"y": 63,
|
1385
|
-
"x":
|
1359
|
+
"x": 0,
|
1386
1360
|
"type": "metric",
|
1387
1361
|
"properties": {
|
1388
1362
|
"period": 60,
|
1389
1363
|
"metrics": [
|
1390
|
-
[ "AWS/Lambda", "
|
1391
|
-
[ "
|
1392
|
-
[ "
|
1393
|
-
[ "
|
1364
|
+
[ "AWS/Lambda", "Errors", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "id": "errors", "stat": "Sum", "color": "#d13212" } ],
|
1365
|
+
[ ".", "Invocations", ".", ".", { "id": "invocations", "stat": "Sum", "visible": false } ],
|
1366
|
+
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ],
|
1367
|
+
[ "AWS/Lambda", "Throttles", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "id": "throttles", "color": "#ff7f0e" } ]
|
1394
1368
|
],
|
1395
1369
|
"region": "us-east-1",
|
1396
|
-
"title": "Incoming Job Handler
|
1370
|
+
"title": "Incoming Job Handler Error count and success rate (%)",
|
1371
|
+
"yAxis": {
|
1372
|
+
"right": {
|
1373
|
+
"max": 100
|
1374
|
+
}
|
1375
|
+
},
|
1397
1376
|
"view": "timeSeries",
|
1398
1377
|
"stacked": false,
|
1399
1378
|
"liveData": true
|
@@ -1401,68 +1380,90 @@ Resources:
|
|
1401
1380
|
},
|
1402
1381
|
{
|
1403
1382
|
"height": 3,
|
1404
|
-
"width":
|
1383
|
+
"width": 5,
|
1405
1384
|
"y": 63,
|
1406
|
-
"x":
|
1385
|
+
"x": 4,
|
1407
1386
|
"type": "metric",
|
1408
1387
|
"properties": {
|
1409
1388
|
"period": 60,
|
1410
1389
|
"metrics": [
|
1411
|
-
[ "AWS/Lambda", "
|
1412
|
-
[ ".", "Invocations", ".", ".", { "id": "invocations", "stat": "Sum", "visible": false } ],
|
1413
|
-
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ]
|
1390
|
+
[ "AWS/Lambda", "ConcurrentExecutions", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "Maximum" } ]
|
1414
1391
|
],
|
1415
1392
|
"region": "us-east-1",
|
1416
|
-
"title": "Incoming Job Handler
|
1417
|
-
"yAxis": {
|
1418
|
-
"right": {
|
1419
|
-
"max": 100
|
1420
|
-
}
|
1421
|
-
},
|
1393
|
+
"title": "Incoming Job Handler Concurrent Executions",
|
1422
1394
|
"view": "timeSeries",
|
1423
1395
|
"stacked": false,
|
1424
1396
|
"liveData": true
|
1425
1397
|
}
|
1426
1398
|
},
|
1427
|
-
|
1428
|
-
|
1399
|
+
|
1429
1400
|
{
|
1430
|
-
"
|
1431
|
-
"
|
1432
|
-
"
|
1433
|
-
"
|
1401
|
+
"x": 9,
|
1402
|
+
"y": 59,
|
1403
|
+
"width": 10,
|
1404
|
+
"height": 7,
|
1434
1405
|
"type": "metric",
|
1435
1406
|
"properties": {
|
1436
1407
|
"period": 60,
|
1437
1408
|
"metrics": [
|
1438
|
-
[ "AWS/Lambda", "
|
1409
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "p20" } ],
|
1410
|
+
[ "...", { "stat": "p50" } ],
|
1411
|
+
[ "...", { "stat": "p80" } ],
|
1412
|
+
[ "...", { "stat": "p90" } ]
|
1439
1413
|
],
|
1440
1414
|
"region": "us-east-1",
|
1441
|
-
"title": "Incoming Job Handler
|
1415
|
+
"title": "Incoming Job Handler Duration in Milliseconds",
|
1442
1416
|
"view": "timeSeries",
|
1443
1417
|
"stacked": false,
|
1444
1418
|
"liveData": true
|
1445
1419
|
}
|
1446
1420
|
},
|
1421
|
+
{
|
1422
|
+
"type": "log",
|
1423
|
+
"height": 4,
|
1424
|
+
"width": 5,
|
1425
|
+
"y": 59,
|
1426
|
+
"x": 19,
|
1427
|
+
"properties": {
|
1428
|
+
"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(20m)\n",
|
1429
|
+
"region": "us-east-1",
|
1430
|
+
"stacked": false,
|
1431
|
+
"view": "timeSeries",
|
1432
|
+
"title": "Incoming Job Handler Init Duration"
|
1433
|
+
}
|
1434
|
+
},
|
1435
|
+
{
|
1436
|
+
"height": 3,
|
1437
|
+
"width": 5,
|
1438
|
+
"y": 63,
|
1439
|
+
"x": 19,
|
1440
|
+
"type": "log",
|
1441
|
+
"properties": {
|
1442
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.IncomingJobHandlerName}' | filter @type=\"REPORT\"\n| stats max(@memorySize) as provisioned,\navg(@maxMemoryUsed) as avg_used,\nmax(@maxMemoryUsed) as max_used by bin(60s)",
|
1443
|
+
"region": "us-east-1",
|
1444
|
+
"stacked": false,
|
1445
|
+
"title": "IncomingJobHandler Memory",
|
1446
|
+
"view": "timeSeries"
|
1447
|
+
}
|
1448
|
+
},
|
1447
1449
|
|
1448
1450
|
|
1449
|
-
|
1450
1451
|
|
1451
1452
|
|
1452
1453
|
{
|
1453
1454
|
"height": 3,
|
1454
1455
|
"width": 6,
|
1455
|
-
"y":
|
1456
|
+
"y": 66,
|
1456
1457
|
"x": 0,
|
1457
1458
|
"type": "text",
|
1458
1459
|
"properties": {
|
1459
|
-
"markdown": "\n# Default Queue\n"
|
1460
|
+
"markdown": "\n# Default Queue\n Async jobs land here immediately, scheduled jobs land here in the minute before they're scheduled."
|
1460
1461
|
}
|
1461
1462
|
},
|
1462
1463
|
{
|
1463
1464
|
"height": 3,
|
1464
1465
|
"width": 3,
|
1465
|
-
"y":
|
1466
|
+
"y": 66,
|
1466
1467
|
"x": 6,
|
1467
1468
|
"type": "metric",
|
1468
1469
|
"properties": {
|
@@ -1481,30 +1482,32 @@ Resources:
|
|
1481
1482
|
{
|
1482
1483
|
"height": 3,
|
1483
1484
|
"width": 15,
|
1484
|
-
"y":
|
1485
|
+
"y": 66,
|
1485
1486
|
"x": 9,
|
1486
1487
|
"type": "metric",
|
1487
1488
|
"properties": {
|
1488
1489
|
"metrics": [
|
1489
1490
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
1490
1491
|
"${self:custom.funktor.DefaultQueueHandlerName}", "Resource",
|
1491
|
-
"${self:custom.funktor.DefaultQueueHandlerName}", { "label": "
|
1492
|
-
[ "...", { "label": "
|
1492
|
+
"${self:custom.funktor.DefaultQueueHandlerName}", { "label": "p20" } ],
|
1493
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1493
1494
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1494
1495
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1495
1496
|
],
|
1496
1497
|
"view": "singleValue",
|
1497
1498
|
"region": "us-east-1",
|
1498
|
-
"stat": "
|
1499
|
+
"stat": "p20",
|
1499
1500
|
"period": 60,
|
1500
1501
|
"sparkline": true,
|
1501
1502
|
"title": "Handler Duration"
|
1502
1503
|
}
|
1503
1504
|
},
|
1505
|
+
|
1506
|
+
|
1504
1507
|
{
|
1505
|
-
"height":
|
1508
|
+
"height": 4,
|
1506
1509
|
"width": 9,
|
1507
|
-
"y":
|
1510
|
+
"y": 69,
|
1508
1511
|
"x": 0,
|
1509
1512
|
"type": "metric",
|
1510
1513
|
"properties": {
|
@@ -1525,52 +1528,17 @@ Resources:
|
|
1525
1528
|
"view": "timeSeries",
|
1526
1529
|
"stacked": false,
|
1527
1530
|
"region": "us-east-1",
|
1528
|
-
"title": "Default Queue
|
1531
|
+
"title": "Default Queue Counts",
|
1529
1532
|
"period": 60,
|
1530
1533
|
"stat": "Sum",
|
1531
1534
|
"liveData": true
|
1532
1535
|
}
|
1533
1536
|
},
|
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
|
-
},
|
1548
|
-
{
|
1549
|
-
"height": 6,
|
1550
|
-
"width": 9,
|
1551
|
-
"y": 72,
|
1552
|
-
"x": 9,
|
1553
|
-
"type": "metric",
|
1554
|
-
"properties": {
|
1555
|
-
"period": 60,
|
1556
|
-
"metrics": [
|
1557
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "stat": "p60" } ],
|
1558
|
-
[ "...", { "stat": "p70" } ],
|
1559
|
-
[ "...", { "stat": "p80" } ],
|
1560
|
-
[ "...", { "stat": "p90" } ]
|
1561
|
-
],
|
1562
|
-
"region": "us-east-1",
|
1563
|
-
"title": "Default Queue Handler Duration in Milliseconds",
|
1564
|
-
"view": "timeSeries",
|
1565
|
-
"stacked": false,
|
1566
|
-
"liveData": true
|
1567
|
-
}
|
1568
|
-
},
|
1569
1537
|
{
|
1570
1538
|
"height": 3,
|
1571
|
-
"width":
|
1572
|
-
"y":
|
1573
|
-
"x":
|
1539
|
+
"width": 4,
|
1540
|
+
"y": 73,
|
1541
|
+
"x": 0,
|
1574
1542
|
"type": "metric",
|
1575
1543
|
"properties": {
|
1576
1544
|
"period": 60,
|
@@ -1578,7 +1546,8 @@ Resources:
|
|
1578
1546
|
[ "AWS/Lambda", "Errors", "FunctionName",
|
1579
1547
|
"${self:custom.funktor.DefaultQueueHandlerName}", { "id": "errors", "stat": "Sum", "color": "#d13212" } ],
|
1580
1548
|
[ ".", "Invocations", ".", ".", { "id": "invocations", "stat": "Sum", "visible": false } ],
|
1581
|
-
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ]
|
1549
|
+
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ],
|
1550
|
+
[ "AWS/Lambda", "Throttles", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "id": "throttles", "color": "#ff7f0e" } ]
|
1582
1551
|
],
|
1583
1552
|
"region": "us-east-1",
|
1584
1553
|
"title": "Default Queue Handler Error count and success rate (%)",
|
@@ -1594,9 +1563,9 @@ Resources:
|
|
1594
1563
|
},
|
1595
1564
|
{
|
1596
1565
|
"height": 3,
|
1597
|
-
"width":
|
1598
|
-
"y":
|
1599
|
-
"x":
|
1566
|
+
"width": 5,
|
1567
|
+
"y": 73,
|
1568
|
+
"x": 4,
|
1600
1569
|
"type": "metric",
|
1601
1570
|
"properties": {
|
1602
1571
|
"period": 60,
|
@@ -1612,21 +1581,70 @@ Resources:
|
|
1612
1581
|
}
|
1613
1582
|
},
|
1614
1583
|
|
1584
|
+
{
|
1585
|
+
"x": 9,
|
1586
|
+
"y": 69,
|
1587
|
+
"width": 10,
|
1588
|
+
"height": 7,
|
1589
|
+
"type": "metric",
|
1590
|
+
"properties": {
|
1591
|
+
"period": 60,
|
1592
|
+
"metrics": [
|
1593
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "stat": "p20" } ],
|
1594
|
+
[ "...", { "stat": "p50" } ],
|
1595
|
+
[ "...", { "stat": "p80" } ],
|
1596
|
+
[ "...", { "stat": "p90" } ]
|
1597
|
+
],
|
1598
|
+
"region": "us-east-1",
|
1599
|
+
"title": "Default Queue Handler Duration in Milliseconds",
|
1600
|
+
"view": "timeSeries",
|
1601
|
+
"stacked": false,
|
1602
|
+
"liveData": true
|
1603
|
+
}
|
1604
|
+
},
|
1605
|
+
{
|
1606
|
+
"type": "log",
|
1607
|
+
"height": 4,
|
1608
|
+
"width": 5,
|
1609
|
+
"y": 69,
|
1610
|
+
"x": 19,
|
1611
|
+
"properties": {
|
1612
|
+
"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(20m)\n",
|
1613
|
+
"region": "us-east-1",
|
1614
|
+
"stacked": false,
|
1615
|
+
"view": "timeSeries",
|
1616
|
+
"title": "Default Handler Init Duration"
|
1617
|
+
}
|
1618
|
+
},
|
1619
|
+
{
|
1620
|
+
"height": 3,
|
1621
|
+
"width": 5,
|
1622
|
+
"y": 73,
|
1623
|
+
"x": 19,
|
1624
|
+
"type": "log",
|
1625
|
+
"properties": {
|
1626
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.DefaultQueueHandlerName}' | filter @type=\"REPORT\"\n| stats max(@memorySize) as provisioned,\navg(@maxMemoryUsed) as avg_used,\nmax(@maxMemoryUsed) as max_used by bin(60s)",
|
1627
|
+
"region": "us-east-1",
|
1628
|
+
"stacked": false,
|
1629
|
+
"title": "Default Handler Memory",
|
1630
|
+
"view": "timeSeries"
|
1631
|
+
}
|
1632
|
+
},
|
1615
1633
|
|
1616
1634
|
{
|
1617
1635
|
"height": 3,
|
1618
1636
|
"width": 6,
|
1619
|
-
"y":
|
1637
|
+
"y": 76,
|
1620
1638
|
"x": 0,
|
1621
1639
|
"type": "text",
|
1622
1640
|
"properties": {
|
1623
|
-
"markdown": "\n# LowConcurrency Queue\n"
|
1641
|
+
"markdown": "\n# LowConcurrency Queue\n Async jobs land here immediately, scheduled jobs land here in the minute before they're scheduled."
|
1624
1642
|
}
|
1625
1643
|
},
|
1626
1644
|
{
|
1627
1645
|
"height": 3,
|
1628
1646
|
"width": 3,
|
1629
|
-
"y":
|
1647
|
+
"y": 76,
|
1630
1648
|
"x": 6,
|
1631
1649
|
"type": "metric",
|
1632
1650
|
"properties": {
|
@@ -1645,30 +1663,32 @@ Resources:
|
|
1645
1663
|
{
|
1646
1664
|
"height": 3,
|
1647
1665
|
"width": 15,
|
1648
|
-
"y":
|
1666
|
+
"y": 76,
|
1649
1667
|
"x": 9,
|
1650
1668
|
"type": "metric",
|
1651
1669
|
"properties": {
|
1652
1670
|
"metrics": [
|
1653
1671
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
1654
1672
|
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", "Resource",
|
1655
|
-
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "label": "
|
1656
|
-
[ "...", { "label": "
|
1673
|
+
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "label": "p20" } ],
|
1674
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1657
1675
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1658
1676
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1659
1677
|
],
|
1660
1678
|
"view": "singleValue",
|
1661
1679
|
"region": "us-east-1",
|
1662
|
-
"stat": "
|
1680
|
+
"stat": "p20",
|
1663
1681
|
"period": 60,
|
1664
1682
|
"sparkline": true,
|
1665
1683
|
"title": "Handler Duration"
|
1666
1684
|
}
|
1667
1685
|
},
|
1686
|
+
|
1687
|
+
|
1668
1688
|
{
|
1669
|
-
"height":
|
1689
|
+
"height": 4,
|
1670
1690
|
"width": 9,
|
1671
|
-
"y":
|
1691
|
+
"y": 79,
|
1672
1692
|
"x": 0,
|
1673
1693
|
"type": "metric",
|
1674
1694
|
"properties": {
|
@@ -1689,52 +1709,17 @@ Resources:
|
|
1689
1709
|
"view": "timeSeries",
|
1690
1710
|
"stacked": false,
|
1691
1711
|
"region": "us-east-1",
|
1692
|
-
"title": "LowConcurrency Queue
|
1712
|
+
"title": "LowConcurrency Queue Counts",
|
1693
1713
|
"period": 60,
|
1694
1714
|
"stat": "Sum",
|
1695
1715
|
"liveData": true
|
1696
1716
|
}
|
1697
1717
|
},
|
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
|
-
},
|
1712
|
-
{
|
1713
|
-
"height": 6,
|
1714
|
-
"width": 9,
|
1715
|
-
"y": 81,
|
1716
|
-
"x": 9,
|
1717
|
-
"type": "metric",
|
1718
|
-
"properties": {
|
1719
|
-
"period": 60,
|
1720
|
-
"metrics": [
|
1721
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "stat": "p60" } ],
|
1722
|
-
[ "...", { "stat": "p70" } ],
|
1723
|
-
[ "...", { "stat": "p80" } ],
|
1724
|
-
[ "...", { "stat": "p90" } ]
|
1725
|
-
],
|
1726
|
-
"region": "us-east-1",
|
1727
|
-
"title": "LowConcurrency Queue Handler Duration in Milliseconds",
|
1728
|
-
"view": "timeSeries",
|
1729
|
-
"stacked": false,
|
1730
|
-
"liveData": true
|
1731
|
-
}
|
1732
|
-
},
|
1733
1718
|
{
|
1734
1719
|
"height": 3,
|
1735
|
-
"width":
|
1736
|
-
"y":
|
1737
|
-
"x":
|
1720
|
+
"width": 4,
|
1721
|
+
"y": 83,
|
1722
|
+
"x": 0,
|
1738
1723
|
"type": "metric",
|
1739
1724
|
"properties": {
|
1740
1725
|
"period": 60,
|
@@ -1742,7 +1727,8 @@ Resources:
|
|
1742
1727
|
[ "AWS/Lambda", "Errors", "FunctionName",
|
1743
1728
|
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "id": "errors", "stat": "Sum", "color": "#d13212" } ],
|
1744
1729
|
[ ".", "Invocations", ".", ".", { "id": "invocations", "stat": "Sum", "visible": false } ],
|
1745
|
-
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ]
|
1730
|
+
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ],
|
1731
|
+
[ "AWS/Lambda", "Throttles", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "id": "throttles", "color": "#ff7f0e" } ]
|
1746
1732
|
],
|
1747
1733
|
"region": "us-east-1",
|
1748
1734
|
"title": "LowConcurrency Queue Handler Error count and success rate (%)",
|
@@ -1758,9 +1744,9 @@ Resources:
|
|
1758
1744
|
},
|
1759
1745
|
{
|
1760
1746
|
"height": 3,
|
1761
|
-
"width":
|
1762
|
-
"y":
|
1763
|
-
"x":
|
1747
|
+
"width": 5,
|
1748
|
+
"y": 83,
|
1749
|
+
"x": 4,
|
1764
1750
|
"type": "metric",
|
1765
1751
|
"properties": {
|
1766
1752
|
"period": 60,
|
@@ -1776,24 +1762,72 @@ Resources:
|
|
1776
1762
|
}
|
1777
1763
|
},
|
1778
1764
|
|
1765
|
+
{
|
1766
|
+
"x": 9,
|
1767
|
+
"y": 79,
|
1768
|
+
"width": 10,
|
1769
|
+
"height": 7,
|
1770
|
+
"type": "metric",
|
1771
|
+
"properties": {
|
1772
|
+
"period": 60,
|
1773
|
+
"metrics": [
|
1774
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "stat": "p20" } ],
|
1775
|
+
[ "...", { "stat": "p50" } ],
|
1776
|
+
[ "...", { "stat": "p80" } ],
|
1777
|
+
[ "...", { "stat": "p90" } ]
|
1778
|
+
],
|
1779
|
+
"region": "us-east-1",
|
1780
|
+
"title": "LowConcurrency Queue Handler Duration in Milliseconds",
|
1781
|
+
"view": "timeSeries",
|
1782
|
+
"stacked": false,
|
1783
|
+
"liveData": true
|
1784
|
+
}
|
1785
|
+
},
|
1786
|
+
{
|
1787
|
+
"type": "log",
|
1788
|
+
"height": 4,
|
1789
|
+
"width": 5,
|
1790
|
+
"y": 79,
|
1791
|
+
"x": 19,
|
1792
|
+
"properties": {
|
1793
|
+
"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(20m)\n",
|
1794
|
+
"region": "us-east-1",
|
1795
|
+
"stacked": false,
|
1796
|
+
"view": "timeSeries",
|
1797
|
+
"title": "LowConcurrency Handler Init Duration"
|
1798
|
+
}
|
1799
|
+
},
|
1800
|
+
{
|
1801
|
+
"height": 3,
|
1802
|
+
"width": 5,
|
1803
|
+
"y": 83,
|
1804
|
+
"x": 19,
|
1805
|
+
"type": "log",
|
1806
|
+
"properties": {
|
1807
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.LowConcurrencyQueueHandlerName}' | filter @type=\"REPORT\"\n| stats max(@memorySize) as provisioned,\navg(@maxMemoryUsed) as avg_used,\nmax(@maxMemoryUsed) as max_used by bin(60s)",
|
1808
|
+
"region": "us-east-1",
|
1809
|
+
"stacked": false,
|
1810
|
+
"title": "LowConcurrency Handler Memory",
|
1811
|
+
"view": "timeSeries"
|
1812
|
+
}
|
1813
|
+
},
|
1779
1814
|
|
1780
1815
|
|
1781
|
-
|
1782
1816
|
|
1783
1817
|
{
|
1784
1818
|
"height": 3,
|
1785
1819
|
"width": 6,
|
1786
|
-
"y":
|
1820
|
+
"y": 86,
|
1787
1821
|
"x": 0,
|
1788
1822
|
"type": "text",
|
1789
1823
|
"properties": {
|
1790
|
-
"markdown": "\n# Delayed
|
1824
|
+
"markdown": "\n# Delayed Job Activator\n This job fires every minute and pulls jobs scheduled in the next 90 seconds from the table and sends them to the Incoming Jobs Queue."
|
1791
1825
|
}
|
1792
1826
|
},
|
1793
1827
|
{
|
1794
1828
|
"height": 3,
|
1795
1829
|
"width": 3,
|
1796
|
-
"y":
|
1830
|
+
"y": 86,
|
1797
1831
|
"x": 6,
|
1798
1832
|
"type": "metric",
|
1799
1833
|
"properties": {
|
@@ -1811,43 +1845,46 @@ Resources:
|
|
1811
1845
|
{
|
1812
1846
|
"height": 3,
|
1813
1847
|
"width": 15,
|
1814
|
-
"y":
|
1848
|
+
"y": 86,
|
1815
1849
|
"x": 9,
|
1816
1850
|
"type": "metric",
|
1817
1851
|
"properties": {
|
1818
1852
|
"metrics": [
|
1819
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "
|
1820
|
-
[ "...", { "label": "
|
1853
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "p20" } ],
|
1854
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1821
1855
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1822
1856
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1823
1857
|
],
|
1824
1858
|
"view": "singleValue",
|
1825
1859
|
"region": "us-east-1",
|
1826
|
-
"stat": "
|
1860
|
+
"stat": "p20",
|
1827
1861
|
"period": 60,
|
1828
1862
|
"sparkline": true,
|
1829
1863
|
"title": "Handler Duration"
|
1830
1864
|
}
|
1831
1865
|
},
|
1866
|
+
|
1867
|
+
|
1868
|
+
|
1832
1869
|
|
1833
1870
|
|
1834
1871
|
|
1835
|
-
|
1836
1872
|
{
|
1837
1873
|
"height": 3,
|
1838
|
-
"width":
|
1839
|
-
"y":
|
1840
|
-
"x":
|
1874
|
+
"width": 4,
|
1875
|
+
"y": 93,
|
1876
|
+
"x": 0,
|
1841
1877
|
"type": "metric",
|
1842
1878
|
"properties": {
|
1843
1879
|
"period": 60,
|
1844
1880
|
"metrics": [
|
1845
1881
|
[ "AWS/Lambda", "Errors", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "id": "errors", "stat": "Sum", "color": "#d13212" } ],
|
1846
1882
|
[ ".", "Invocations", ".", ".", { "id": "invocations", "stat": "Sum", "visible": false } ],
|
1847
|
-
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ]
|
1883
|
+
[ { "expression": "100 - 100 * errors / MAX([errors, invocations])", "label": "Success rate (%)", "id": "availability", "yAxis": "right", "region": "us-east-1" } ],
|
1884
|
+
[ "AWS/Lambda", "Throttles", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "id": "throttles", "color": "#ff7f0e" } ]
|
1848
1885
|
],
|
1849
1886
|
"region": "us-east-1",
|
1850
|
-
"title": "
|
1887
|
+
"title": "Job Activator Error count and success rate (%)",
|
1851
1888
|
"yAxis": {
|
1852
1889
|
"right": {
|
1853
1890
|
"max": 100
|
@@ -1860,29 +1897,26 @@ Resources:
|
|
1860
1897
|
},
|
1861
1898
|
{
|
1862
1899
|
"height": 3,
|
1863
|
-
"width":
|
1864
|
-
"y":
|
1865
|
-
"x":
|
1900
|
+
"width": 5,
|
1901
|
+
"y": 93,
|
1902
|
+
"x": 4,
|
1866
1903
|
"type": "metric",
|
1867
1904
|
"properties": {
|
1868
1905
|
"period": 60,
|
1869
1906
|
"metrics": [
|
1870
|
-
[ "AWS/Lambda", "
|
1871
|
-
[ "...", { "stat": "p70" } ],
|
1872
|
-
[ "...", { "stat": "p80" } ],
|
1873
|
-
[ "...", { "stat": "p90" } ]
|
1907
|
+
[ "AWS/Lambda", "ConcurrentExecutions", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "Maximum" } ]
|
1874
1908
|
],
|
1875
1909
|
"region": "us-east-1",
|
1876
|
-
"title": "
|
1910
|
+
"title": "Job Activator Concurrent Executions",
|
1877
1911
|
"view": "timeSeries",
|
1878
1912
|
"stacked": false,
|
1879
1913
|
"liveData": true
|
1880
1914
|
}
|
1881
1915
|
},
|
1882
1916
|
{
|
1883
|
-
"height":
|
1917
|
+
"height": 4,
|
1884
1918
|
"width": 9,
|
1885
|
-
"y":
|
1919
|
+
"y": 92,
|
1886
1920
|
"x": 0,
|
1887
1921
|
"type": "metric",
|
1888
1922
|
"properties": {
|
@@ -1898,13 +1932,63 @@ Resources:
|
|
1898
1932
|
"liveData": true
|
1899
1933
|
}
|
1900
1934
|
},
|
1935
|
+
{
|
1936
|
+
"x": 9,
|
1937
|
+
"y": 89,
|
1938
|
+
"width": 10,
|
1939
|
+
"height": 7,
|
1940
|
+
"type": "metric",
|
1941
|
+
"properties": {
|
1942
|
+
"period": 60,
|
1943
|
+
"metrics": [
|
1944
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "p20" } ],
|
1945
|
+
[ "...", { "stat": "p50" } ],
|
1946
|
+
[ "...", { "stat": "p80" } ],
|
1947
|
+
[ "...", { "stat": "p90" } ]
|
1948
|
+
],
|
1949
|
+
"region": "us-east-1",
|
1950
|
+
"title": "Job Activator Duration in Milliseconds",
|
1951
|
+
"view": "timeSeries",
|
1952
|
+
"stacked": false,
|
1953
|
+
"liveData": true
|
1954
|
+
}
|
1955
|
+
},
|
1956
|
+
{
|
1957
|
+
"type": "log",
|
1958
|
+
"height": 4,
|
1959
|
+
"width": 5,
|
1960
|
+
"y": 89,
|
1961
|
+
"x": 19,
|
1962
|
+
"properties": {
|
1963
|
+
"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(20m)\n",
|
1964
|
+
"region": "us-east-1",
|
1965
|
+
"stacked": false,
|
1966
|
+
"view": "timeSeries",
|
1967
|
+
"title": "Job Activator Init Duration"
|
1968
|
+
}
|
1969
|
+
},
|
1970
|
+
{
|
1971
|
+
"height": 3,
|
1972
|
+
"width": 5,
|
1973
|
+
"y": 93,
|
1974
|
+
"x": 19,
|
1975
|
+
"type": "log",
|
1976
|
+
"properties": {
|
1977
|
+
"query": "SOURCE '/aws/lambda/${self:custom.funktor.JobActivatorName}' | filter @type=\"REPORT\"\n| stats max(@memorySize) as provisioned,\navg(@maxMemoryUsed) as avg_used,\nmax(@maxMemoryUsed) as max_used by bin(60s)",
|
1978
|
+
"region": "us-east-1",
|
1979
|
+
"stacked": false,
|
1980
|
+
"title": "Job Activator Memory",
|
1981
|
+
"view": "timeSeries"
|
1982
|
+
}
|
1983
|
+
},
|
1984
|
+
|
1985
|
+
|
1901
1986
|
|
1902
1987
|
|
1903
|
-
|
1904
1988
|
{
|
1905
1989
|
"height": 3,
|
1906
1990
|
"width": 9,
|
1907
|
-
"y":
|
1991
|
+
"y": 96,
|
1908
1992
|
"x": 0,
|
1909
1993
|
"type": "metric",
|
1910
1994
|
"properties": {
|
@@ -1923,29 +2007,11 @@ Resources:
|
|
1923
2007
|
"liveData": true
|
1924
2008
|
}
|
1925
2009
|
},
|
1926
|
-
{
|
1927
|
-
"height": 3,
|
1928
|
-
"width": 6,
|
1929
|
-
"y": 93,
|
1930
|
-
"x": 18,
|
1931
|
-
"type": "metric",
|
1932
|
-
"properties": {
|
1933
|
-
"period": 60,
|
1934
|
-
"metrics": [
|
1935
|
-
[ "AWS/Lambda", "ConcurrentExecutions", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "Maximum" } ]
|
1936
|
-
],
|
1937
|
-
"region": "us-east-1",
|
1938
|
-
"title": "Delayd Job Schedule Concurrent executions",
|
1939
|
-
"view": "timeSeries",
|
1940
|
-
"stacked": false,
|
1941
|
-
"liveData": true
|
1942
|
-
}
|
1943
|
-
},
|
1944
2010
|
{
|
1945
2011
|
"height": 3,
|
1946
2012
|
"width": 9,
|
1947
|
-
"y":
|
1948
|
-
"x":
|
2013
|
+
"y": 99,
|
2014
|
+
"x": 0,
|
1949
2015
|
"type": "metric",
|
1950
2016
|
"properties": {
|
1951
2017
|
"metrics": [
|
@@ -1964,26 +2030,9 @@ Resources:
|
|
1964
2030
|
}
|
1965
2031
|
},
|
1966
2032
|
|
1967
|
-
|
1968
|
-
|
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
|
-
},
|
1984
2033
|
{
|
1985
|
-
"height":
|
1986
|
-
"width":
|
2034
|
+
"height": 6,
|
2035
|
+
"width": 10,
|
1987
2036
|
"y": 96,
|
1988
2037
|
"x": 9,
|
1989
2038
|
"type": "metric",
|
@@ -1994,6 +2043,7 @@ Resources:
|
|
1994
2043
|
[ ".", "ThrottledRequests", ".", ".", ".", "PutItem", { "yAxis": "right", "visible": false } ],
|
1995
2044
|
[ ".", "SuccessfulRequestLatency", ".", ".", ".", "DeleteItem" ],
|
1996
2045
|
[ ".", "SuccessfulRequestLatency", ".", ".", ".", "UpdateItem" ],
|
2046
|
+
[ ".", "SuccessfulRequestLatency", ".", ".", ".", "GetItem" ],
|
1997
2047
|
[ ".", "ThrottledRequests", ".", ".", ".", ".", { "yAxis": "right", "visible": false } ]
|
1998
2048
|
],
|
1999
2049
|
"view": "timeSeries",
|
@@ -2005,16 +2055,19 @@ Resources:
|
|
2005
2055
|
"liveData": true
|
2006
2056
|
}
|
2007
2057
|
},
|
2058
|
+
|
2008
2059
|
{
|
2009
|
-
"height":
|
2010
|
-
"width":
|
2060
|
+
"height": 6,
|
2061
|
+
"width": 5,
|
2011
2062
|
"y": 96,
|
2012
|
-
"x":
|
2063
|
+
"x": 19,
|
2013
2064
|
"type": "metric",
|
2014
2065
|
"properties": {
|
2015
2066
|
"metrics": [
|
2016
2067
|
[ "AWS/DynamoDB", "ThrottledRequests", "TableName", "${self:custom.funktor.JobsTableName}", "Operation", "DeleteItem" ],
|
2017
|
-
[ "...", "PutItem" ]
|
2068
|
+
[ "...", "PutItem" ],
|
2069
|
+
[ "...", "UpdateItem" ],
|
2070
|
+
[ "...", "GetItem" ]
|
2018
2071
|
],
|
2019
2072
|
"view": "timeSeries",
|
2020
2073
|
"stacked": false,
|
@@ -2025,8 +2078,6 @@ Resources:
|
|
2025
2078
|
"liveData": true
|
2026
2079
|
}
|
2027
2080
|
}
|
2028
|
-
|
2029
|
-
|
2030
2081
|
|
2031
2082
|
|
2032
2083
|
]
|