funktor 0.7.20 → 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 +1 -1
- data/funktor-testapp/app/workers/audit_worker.rb +3 -0
- data/funktor-testapp/funktor_config/resources/cloudwatch_dashboard.yml +56 -56
- data/lib/funktor/cli/templates/funktor_config/resources/cloudwatch_dashboard.yml +24 -24
- data/lib/funktor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f37a090f6cc3ad15e06aaf4731a5fae72a41bdd0c7ebf81af4da671a99189ec
|
4
|
+
data.tar.gz: bad825c1cd27b21e712aa4ee7e396b49c665c61b2e9105d50491380c678848fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8469d2ad33814eeba8869ca739d29f22f6ae47ad89860308bebb865bd7bf3f5f7665d22468fc888254579455fd3003b13a3ddd401b0f7ce1aa678145f316a943
|
7
|
+
data.tar.gz: 318a9bf51684c8eb46146b599b17f54647f2edbd0e289a262366118fb5b22dd30a87b5bbf5e2297621d3f1d04e9ce25400995f28ba69de03b31a7bad988add6f
|
data/Gemfile.lock
CHANGED
@@ -8,6 +8,9 @@ class AuditWorker
|
|
8
8
|
Funktor.raw_logger.unknown Funktor.dump_json(metric_hash(time_diff))
|
9
9
|
|
10
10
|
puts "Greetings from the #{self.class.name}! Time diff = #{time_diff}"
|
11
|
+
puts "ENV[‘USER’] = #{ENV['USER']}"
|
12
|
+
puts "$LOAD_PATH = #{$LOAD_PATH}"
|
13
|
+
puts "whoami = #{`whoami`}"
|
11
14
|
puts arg_hash.class.name
|
12
15
|
puts arg_hash
|
13
16
|
|
@@ -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
|
{
|
@@ -405,13 +405,13 @@ Resources:
|
|
405
405
|
"metrics": [
|
406
406
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "HelloWorker", { "stat": "p90", "color": "#d62728" } ],
|
407
407
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
408
|
-
[ "...", { "stat": "
|
408
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
409
409
|
[ "...", { "color": "#1f77b4" } ]
|
410
410
|
],
|
411
411
|
"view": "timeSeries",
|
412
412
|
"stacked": false,
|
413
413
|
"region": "us-east-1",
|
414
|
-
"stat": "
|
414
|
+
"stat": "p20",
|
415
415
|
"period": 60,
|
416
416
|
"title": "HelloWorker Duration Percentiles",
|
417
417
|
"legend": {
|
@@ -518,14 +518,14 @@ Resources:
|
|
518
518
|
"type": "metric",
|
519
519
|
"properties": {
|
520
520
|
"metrics": [
|
521
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
521
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p20", "color": "#1f77b4" } ]
|
522
522
|
],
|
523
523
|
"view": "singleValue",
|
524
524
|
"region": "us-east-1",
|
525
|
-
"stat": "
|
525
|
+
"stat": "p20",
|
526
526
|
"period": 60,
|
527
527
|
"sparkline": true,
|
528
|
-
"title": "AuditWorker
|
528
|
+
"title": "AuditWorker p20"
|
529
529
|
}
|
530
530
|
},
|
531
531
|
{
|
@@ -536,14 +536,14 @@ Resources:
|
|
536
536
|
"type": "metric",
|
537
537
|
"properties": {
|
538
538
|
"metrics": [
|
539
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "
|
539
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
540
540
|
],
|
541
541
|
"view": "singleValue",
|
542
542
|
"region": "us-east-1",
|
543
|
-
"stat": "
|
543
|
+
"stat": "p50",
|
544
544
|
"period": 60,
|
545
545
|
"sparkline": true,
|
546
|
-
"title": "AuditWorker
|
546
|
+
"title": "AuditWorker p50"
|
547
547
|
}
|
548
548
|
},
|
549
549
|
{
|
@@ -675,13 +675,13 @@ Resources:
|
|
675
675
|
"metrics": [
|
676
676
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "AuditWorker", { "stat": "p90", "color": "#d62728" } ],
|
677
677
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
678
|
-
[ "...", { "stat": "
|
678
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
679
679
|
[ "...", { "color": "#1f77b4" } ]
|
680
680
|
],
|
681
681
|
"view": "timeSeries",
|
682
682
|
"stacked": false,
|
683
683
|
"region": "us-east-1",
|
684
|
-
"stat": "
|
684
|
+
"stat": "p20",
|
685
685
|
"period": 60,
|
686
686
|
"title": "AuditWorker Duration Percentiles",
|
687
687
|
"legend": {
|
@@ -788,14 +788,14 @@ Resources:
|
|
788
788
|
"type": "metric",
|
789
789
|
"properties": {
|
790
790
|
"metrics": [
|
791
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
791
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p20", "color": "#1f77b4" } ]
|
792
792
|
],
|
793
793
|
"view": "singleValue",
|
794
794
|
"region": "us-east-1",
|
795
|
-
"stat": "
|
795
|
+
"stat": "p20",
|
796
796
|
"period": 60,
|
797
797
|
"sparkline": true,
|
798
|
-
"title": "GreetingsWorker
|
798
|
+
"title": "GreetingsWorker p20"
|
799
799
|
}
|
800
800
|
},
|
801
801
|
{
|
@@ -806,14 +806,14 @@ Resources:
|
|
806
806
|
"type": "metric",
|
807
807
|
"properties": {
|
808
808
|
"metrics": [
|
809
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "
|
809
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
810
810
|
],
|
811
811
|
"view": "singleValue",
|
812
812
|
"region": "us-east-1",
|
813
|
-
"stat": "
|
813
|
+
"stat": "p50",
|
814
814
|
"period": 60,
|
815
815
|
"sparkline": true,
|
816
|
-
"title": "GreetingsWorker
|
816
|
+
"title": "GreetingsWorker p50"
|
817
817
|
}
|
818
818
|
},
|
819
819
|
{
|
@@ -945,13 +945,13 @@ Resources:
|
|
945
945
|
"metrics": [
|
946
946
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "GreetingsWorker", { "stat": "p90", "color": "#d62728" } ],
|
947
947
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
948
|
-
[ "...", { "stat": "
|
948
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
949
949
|
[ "...", { "color": "#1f77b4" } ]
|
950
950
|
],
|
951
951
|
"view": "timeSeries",
|
952
952
|
"stacked": false,
|
953
953
|
"region": "us-east-1",
|
954
|
-
"stat": "
|
954
|
+
"stat": "p20",
|
955
955
|
"period": 60,
|
956
956
|
"title": "GreetingsWorker Duration Percentiles",
|
957
957
|
"legend": {
|
@@ -1058,14 +1058,14 @@ Resources:
|
|
1058
1058
|
"type": "metric",
|
1059
1059
|
"properties": {
|
1060
1060
|
"metrics": [
|
1061
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
1061
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p20", "color": "#1f77b4" } ]
|
1062
1062
|
],
|
1063
1063
|
"view": "singleValue",
|
1064
1064
|
"region": "us-east-1",
|
1065
|
-
"stat": "
|
1065
|
+
"stat": "p20",
|
1066
1066
|
"period": 60,
|
1067
1067
|
"sparkline": true,
|
1068
|
-
"title": "SingleThreadAuditWorker
|
1068
|
+
"title": "SingleThreadAuditWorker p20"
|
1069
1069
|
}
|
1070
1070
|
},
|
1071
1071
|
{
|
@@ -1076,14 +1076,14 @@ Resources:
|
|
1076
1076
|
"type": "metric",
|
1077
1077
|
"properties": {
|
1078
1078
|
"metrics": [
|
1079
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "
|
1079
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "label": "p50", "color": "#ff7f0e" } ]
|
1080
1080
|
],
|
1081
1081
|
"view": "singleValue",
|
1082
1082
|
"region": "us-east-1",
|
1083
|
-
"stat": "
|
1083
|
+
"stat": "p50",
|
1084
1084
|
"period": 60,
|
1085
1085
|
"sparkline": true,
|
1086
|
-
"title": "SingleThreadAuditWorker
|
1086
|
+
"title": "SingleThreadAuditWorker p50"
|
1087
1087
|
}
|
1088
1088
|
},
|
1089
1089
|
{
|
@@ -1215,13 +1215,13 @@ Resources:
|
|
1215
1215
|
"metrics": [
|
1216
1216
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "SingleThreadAuditWorker", { "stat": "p90", "color": "#d62728" } ],
|
1217
1217
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
1218
|
-
[ "...", { "stat": "
|
1218
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
1219
1219
|
[ "...", { "color": "#1f77b4" } ]
|
1220
1220
|
],
|
1221
1221
|
"view": "timeSeries",
|
1222
1222
|
"stacked": false,
|
1223
1223
|
"region": "us-east-1",
|
1224
|
-
"stat": "
|
1224
|
+
"stat": "p20",
|
1225
1225
|
"period": 60,
|
1226
1226
|
"title": "SingleThreadAuditWorker Duration Percentiles",
|
1227
1227
|
"legend": {
|
@@ -1322,14 +1322,14 @@ Resources:
|
|
1322
1322
|
"type": "metric",
|
1323
1323
|
"properties": {
|
1324
1324
|
"metrics": [
|
1325
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "
|
1326
|
-
[ "...", { "label": "
|
1325
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "p20" } ],
|
1326
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1327
1327
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1328
1328
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1329
1329
|
],
|
1330
1330
|
"view": "singleValue",
|
1331
1331
|
"region": "us-east-1",
|
1332
|
-
"stat": "
|
1332
|
+
"stat": "p20",
|
1333
1333
|
"period": 60,
|
1334
1334
|
"sparkline": true,
|
1335
1335
|
"title": "Handler Duration Percentiles"
|
@@ -1387,8 +1387,8 @@ Resources:
|
|
1387
1387
|
"properties": {
|
1388
1388
|
"period": 60,
|
1389
1389
|
"metrics": [
|
1390
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "
|
1391
|
-
[ "...", { "stat": "
|
1390
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "p20" } ],
|
1391
|
+
[ "...", { "stat": "p50" } ],
|
1392
1392
|
[ "...", { "stat": "p80" } ],
|
1393
1393
|
[ "...", { "stat": "p90" } ]
|
1394
1394
|
],
|
@@ -1488,14 +1488,14 @@ Resources:
|
|
1488
1488
|
"metrics": [
|
1489
1489
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
1490
1490
|
"${self:custom.funktor.DefaultQueueHandlerName}", "Resource",
|
1491
|
-
"${self:custom.funktor.DefaultQueueHandlerName}", { "label": "
|
1492
|
-
[ "...", { "label": "
|
1491
|
+
"${self:custom.funktor.DefaultQueueHandlerName}", { "label": "p20" } ],
|
1492
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1493
1493
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1494
1494
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1495
1495
|
],
|
1496
1496
|
"view": "singleValue",
|
1497
1497
|
"region": "us-east-1",
|
1498
|
-
"stat": "
|
1498
|
+
"stat": "p20",
|
1499
1499
|
"period": 60,
|
1500
1500
|
"sparkline": true,
|
1501
1501
|
"title": "Handler Duration"
|
@@ -1554,8 +1554,8 @@ Resources:
|
|
1554
1554
|
"properties": {
|
1555
1555
|
"period": 60,
|
1556
1556
|
"metrics": [
|
1557
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "stat": "
|
1558
|
-
[ "...", { "stat": "
|
1557
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.DefaultQueueHandlerName}", { "stat": "p20" } ],
|
1558
|
+
[ "...", { "stat": "p50" } ],
|
1559
1559
|
[ "...", { "stat": "p80" } ],
|
1560
1560
|
[ "...", { "stat": "p90" } ]
|
1561
1561
|
],
|
@@ -1652,14 +1652,14 @@ Resources:
|
|
1652
1652
|
"metrics": [
|
1653
1653
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
1654
1654
|
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", "Resource",
|
1655
|
-
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "label": "
|
1656
|
-
[ "...", { "label": "
|
1655
|
+
"${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "label": "p20" } ],
|
1656
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1657
1657
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1658
1658
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1659
1659
|
],
|
1660
1660
|
"view": "singleValue",
|
1661
1661
|
"region": "us-east-1",
|
1662
|
-
"stat": "
|
1662
|
+
"stat": "p20",
|
1663
1663
|
"period": 60,
|
1664
1664
|
"sparkline": true,
|
1665
1665
|
"title": "Handler Duration"
|
@@ -1718,8 +1718,8 @@ Resources:
|
|
1718
1718
|
"properties": {
|
1719
1719
|
"period": 60,
|
1720
1720
|
"metrics": [
|
1721
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "stat": "
|
1722
|
-
[ "...", { "stat": "
|
1721
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.LowConcurrencyQueueHandlerName}", { "stat": "p20" } ],
|
1722
|
+
[ "...", { "stat": "p50" } ],
|
1723
1723
|
[ "...", { "stat": "p80" } ],
|
1724
1724
|
[ "...", { "stat": "p90" } ]
|
1725
1725
|
],
|
@@ -1816,14 +1816,14 @@ Resources:
|
|
1816
1816
|
"type": "metric",
|
1817
1817
|
"properties": {
|
1818
1818
|
"metrics": [
|
1819
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "
|
1820
|
-
[ "...", { "label": "
|
1819
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "p20" } ],
|
1820
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
1821
1821
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
1822
1822
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
1823
1823
|
],
|
1824
1824
|
"view": "singleValue",
|
1825
1825
|
"region": "us-east-1",
|
1826
|
-
"stat": "
|
1826
|
+
"stat": "p20",
|
1827
1827
|
"period": 60,
|
1828
1828
|
"sparkline": true,
|
1829
1829
|
"title": "Handler Duration"
|
@@ -1867,8 +1867,8 @@ Resources:
|
|
1867
1867
|
"properties": {
|
1868
1868
|
"period": 60,
|
1869
1869
|
"metrics": [
|
1870
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "
|
1871
|
-
[ "...", { "stat": "
|
1870
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "p20" } ],
|
1871
|
+
[ "...", { "stat": "p50" } ],
|
1872
1872
|
[ "...", { "stat": "p80" } ],
|
1873
1873
|
[ "...", { "stat": "p90" } ]
|
1874
1874
|
],
|
@@ -45,7 +45,7 @@ Resources:
|
|
45
45
|
"metrics": [
|
46
46
|
[ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "<%= worker_name %>", { "color": "#2ca02c" } ],
|
47
47
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
|
48
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "
|
48
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p50", "color": "#1f77b4", "stat": "p50" } ]
|
49
49
|
],
|
50
50
|
"view": "singleValue",
|
51
51
|
"region": "us-east-1",
|
@@ -134,14 +134,14 @@ Resources:
|
|
134
134
|
"type": "metric",
|
135
135
|
"properties": {
|
136
136
|
"metrics": [
|
137
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "
|
137
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p20", "color": "#1f77b4" } ]
|
138
138
|
],
|
139
139
|
"view": "singleValue",
|
140
140
|
"region": "us-east-1",
|
141
|
-
"stat": "
|
141
|
+
"stat": "p20",
|
142
142
|
"period": 60,
|
143
143
|
"sparkline": true,
|
144
|
-
"title": "<%= worker_name %>
|
144
|
+
"title": "<%= worker_name %> p20"
|
145
145
|
}
|
146
146
|
},
|
147
147
|
{ <% "Worker Duration Percentiles" %>
|
@@ -152,14 +152,14 @@ Resources:
|
|
152
152
|
"type": "metric",
|
153
153
|
"properties": {
|
154
154
|
"metrics": [
|
155
|
-
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "
|
155
|
+
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p50", "color": "#ff7f0e" } ]
|
156
156
|
],
|
157
157
|
"view": "singleValue",
|
158
158
|
"region": "us-east-1",
|
159
|
-
"stat": "
|
159
|
+
"stat": "p50",
|
160
160
|
"period": 60,
|
161
161
|
"sparkline": true,
|
162
|
-
"title": "<%= worker_name %>
|
162
|
+
"title": "<%= worker_name %> p50"
|
163
163
|
}
|
164
164
|
},
|
165
165
|
{ <% "Worker Duration Percentiles" %>
|
@@ -291,13 +291,13 @@ Resources:
|
|
291
291
|
"metrics": [
|
292
292
|
[ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "stat": "p90", "color": "#d62728" } ],
|
293
293
|
[ "...", { "stat": "p80", "color": "#2ca02c" } ],
|
294
|
-
[ "...", { "stat": "
|
294
|
+
[ "...", { "stat": "p50", "color": "#ff7f0e" } ],
|
295
295
|
[ "...", { "color": "#1f77b4" } ]
|
296
296
|
],
|
297
297
|
"view": "timeSeries",
|
298
298
|
"stacked": false,
|
299
299
|
"region": "us-east-1",
|
300
|
-
"stat": "
|
300
|
+
"stat": "p20",
|
301
301
|
"period": 60,
|
302
302
|
"title": "<%= worker_name %> Duration Percentiles",
|
303
303
|
"legend": {
|
@@ -399,14 +399,14 @@ Resources:
|
|
399
399
|
"type": "metric",
|
400
400
|
"properties": {
|
401
401
|
"metrics": [
|
402
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "
|
403
|
-
[ "...", { "label": "
|
402
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", "Resource", "${self:custom.funktor.IncomingJobHandlerName}", { "label": "p20" } ],
|
403
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
404
404
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
405
405
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
406
406
|
],
|
407
407
|
"view": "singleValue",
|
408
408
|
"region": "us-east-1",
|
409
|
-
"stat": "
|
409
|
+
"stat": "p20",
|
410
410
|
"period": 60,
|
411
411
|
"sparkline": true,
|
412
412
|
"title": "Handler Duration Percentiles"
|
@@ -464,8 +464,8 @@ Resources:
|
|
464
464
|
"properties": {
|
465
465
|
"period": 60,
|
466
466
|
"metrics": [
|
467
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "
|
468
|
-
[ "...", { "stat": "
|
467
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.IncomingJobHandlerName}", { "stat": "p20" } ],
|
468
|
+
[ "...", { "stat": "p50" } ],
|
469
469
|
[ "...", { "stat": "p80" } ],
|
470
470
|
[ "...", { "stat": "p90" } ]
|
471
471
|
],
|
@@ -566,14 +566,14 @@ Resources:
|
|
566
566
|
"metrics": [
|
567
567
|
[ "AWS/Lambda", "Duration", "FunctionName",
|
568
568
|
"${self:custom.funktor.<%= queue_name.camelize %>QueueHandlerName}", "Resource",
|
569
|
-
"${self:custom.funktor.<%= queue_name.camelize %>QueueHandlerName}", { "label": "
|
570
|
-
[ "...", { "label": "
|
569
|
+
"${self:custom.funktor.<%= queue_name.camelize %>QueueHandlerName}", { "label": "p20" } ],
|
570
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
571
571
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
572
572
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
573
573
|
],
|
574
574
|
"view": "singleValue",
|
575
575
|
"region": "us-east-1",
|
576
|
-
"stat": "
|
576
|
+
"stat": "p20",
|
577
577
|
"period": 60,
|
578
578
|
"sparkline": true,
|
579
579
|
"title": "Handler Duration"
|
@@ -632,8 +632,8 @@ Resources:
|
|
632
632
|
"properties": {
|
633
633
|
"period": 60,
|
634
634
|
"metrics": [
|
635
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.<%= queue_name.camelize %>QueueHandlerName}", { "stat": "
|
636
|
-
[ "...", { "stat": "
|
635
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.<%= queue_name.camelize %>QueueHandlerName}", { "stat": "p20" } ],
|
636
|
+
[ "...", { "stat": "p50" } ],
|
637
637
|
[ "...", { "stat": "p80" } ],
|
638
638
|
[ "...", { "stat": "p90" } ]
|
639
639
|
],
|
@@ -731,14 +731,14 @@ Resources:
|
|
731
731
|
"type": "metric",
|
732
732
|
"properties": {
|
733
733
|
"metrics": [
|
734
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "
|
735
|
-
[ "...", { "label": "
|
734
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", "Resource", "${self:custom.funktor.JobActivatorName}", { "label": "p20" } ],
|
735
|
+
[ "...", { "label": "p50", "stat": "p50" } ],
|
736
736
|
[ "...", { "label": "p80", "stat": "p80" } ],
|
737
737
|
[ "...", { "label": "p90", "stat": "p90" } ]
|
738
738
|
],
|
739
739
|
"view": "singleValue",
|
740
740
|
"region": "us-east-1",
|
741
|
-
"stat": "
|
741
|
+
"stat": "p20",
|
742
742
|
"period": 60,
|
743
743
|
"sparkline": true,
|
744
744
|
"title": "Handler Duration"
|
@@ -782,8 +782,8 @@ Resources:
|
|
782
782
|
"properties": {
|
783
783
|
"period": 60,
|
784
784
|
"metrics": [
|
785
|
-
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "
|
786
|
-
[ "...", { "stat": "
|
785
|
+
[ "AWS/Lambda", "Duration", "FunctionName", "${self:custom.funktor.JobActivatorName}", { "stat": "p20" } ],
|
786
|
+
[ "...", { "stat": "p50" } ],
|
787
787
|
[ "...", { "stat": "p80" } ],
|
788
788
|
[ "...", { "stat": "p90" } ]
|
789
789
|
],
|
data/lib/funktor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: funktor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-sqs
|