funktor 0.7.19 → 0.7.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a54a6c3ca793f008ccc2bf629ae15c9a56aba9157e1bfa191baa61849bf4dc6
4
- data.tar.gz: 8474cd0eaec522a0017a38dcedd4831fcd521b43f09deafc37747da03d20f038
3
+ metadata.gz: '03120584ac51225806cc8f79c405b7cb2d60cd4f61a28cbce5868558ac25891c'
4
+ data.tar.gz: fac14c67398dd40a61f06a9f13032b6739b2f5b694032585d9ec46be558fefe1
5
5
  SHA512:
6
- metadata.gz: f552fa5f914d612d886b8ac066bb1c454e3d48d093da68af3e986def86c7ce4568474475b69b384ce24e7e08aa67ee2cdd290d9ce90948b180fb97be4fa797e0
7
- data.tar.gz: b8acbf0dc9763bb7407bbdddc44c14ef2d0352873c7e5e5e75cea2f2a54f0301938904ca8e55c523fade7b725b06a07147041e337c2c5b888f823b22a2ab9934
6
+ metadata.gz: 4edd388e3bde760b092353fcdbac9ea5a6096418c1297cd619ac0653b0196ca921592e32abc53951ad82e211b7fcc690343645018b4fc32b6b2a5c8377bc9252
7
+ data.tar.gz: 732591adcd1b4a257e7f381812fd92f4200a0756b91d6380117f05271d439af9c9fa7eadc07355f0b1dd6d993e2a7c85eed58d8369c193f61109b0d0ac03dfb5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- funktor (0.7.19)
4
+ funktor (0.7.20)
5
5
  activesupport
6
6
  aws-sdk-dynamodb (~> 1.62)
7
7
  aws-sdk-sqs (~> 1.37)
@@ -22,7 +22,7 @@ GEM
22
22
  addressable (2.8.0)
23
23
  public_suffix (>= 2.0.2, < 5.0)
24
24
  aws-eventstream (1.2.0)
25
- aws-partitions (1.589.0)
25
+ aws-partitions (1.595.0)
26
26
  aws-sdk-core (3.131.1)
27
27
  aws-eventstream (~> 1, >= 1.0.2)
28
28
  aws-partitions (~> 1, >= 1.525.0)
@@ -1339,7 +1339,7 @@ Resources:
1339
1339
 
1340
1340
 
1341
1341
  {
1342
- "height": 6,
1342
+ "height": 3,
1343
1343
  "width": 9,
1344
1344
  "y": 63,
1345
1345
  "x": 0,
@@ -1364,6 +1364,20 @@ Resources:
1364
1364
  "liveData": true
1365
1365
  }
1366
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
+ },
1367
1381
  {
1368
1382
  "height": 6,
1369
1383
  "width": 9,
@@ -1430,10 +1444,11 @@ Resources:
1430
1444
  "liveData": true
1431
1445
  }
1432
1446
  },
1447
+
1433
1448
 
1449
+
1434
1450
 
1435
1451
 
1436
-
1437
1452
  {
1438
1453
  "height": 3,
1439
1454
  "width": 6,
@@ -1487,7 +1502,7 @@ Resources:
1487
1502
  }
1488
1503
  },
1489
1504
  {
1490
- "height": 6,
1505
+ "height": 3,
1491
1506
  "width": 9,
1492
1507
  "y": 72,
1493
1508
  "x": 0,
@@ -1516,6 +1531,20 @@ Resources:
1516
1531
  "liveData": true
1517
1532
  }
1518
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
+ },
1519
1548
  {
1520
1549
  "height": 6,
1521
1550
  "width": 9,
@@ -1637,7 +1666,7 @@ Resources:
1637
1666
  }
1638
1667
  },
1639
1668
  {
1640
- "height": 6,
1669
+ "height": 3,
1641
1670
  "width": 9,
1642
1671
  "y": 81,
1643
1672
  "x": 0,
@@ -1666,6 +1695,20 @@ Resources:
1666
1695
  "liveData": true
1667
1696
  }
1668
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
+ },
1669
1712
  {
1670
1713
  "height": 6,
1671
1714
  "width": 9,
@@ -1924,11 +1967,25 @@ Resources:
1924
1967
 
1925
1968
 
1926
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
+ },
1927
1984
  {
1928
1985
  "height": 3,
1929
- "width": 18,
1986
+ "width": 9,
1930
1987
  "y": 96,
1931
- "x": 0,
1988
+ "x": 9,
1932
1989
  "type": "metric",
1933
1990
  "properties": {
1934
1991
  "metrics": [
@@ -416,7 +416,7 @@ Resources:
416
416
 
417
417
  <% current_y += 3 %>
418
418
  { <% "Incoming Job Queue (Async & scheduled jobs land here first)" %>
419
- "height": 6,
419
+ "height": 3,
420
420
  "width": 9,
421
421
  "y": <%= current_y %>,
422
422
  "x": 0,
@@ -441,6 +441,20 @@ Resources:
441
441
  "liveData": true
442
442
  }
443
443
  },
444
+ { <% "Incoming Job Handler Init Duration" %>
445
+ "type": "log",
446
+ "x": 0,
447
+ "y": <%= current_y + 3 %>,
448
+ "width": 9,
449
+ "height": 3,
450
+ "properties": {
451
+ "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",
452
+ "region": "us-east-1",
453
+ "stacked": false,
454
+ "view": "timeSeries",
455
+ "title": "Incoming Job Handler Init Duration"
456
+ }
457
+ },
444
458
  { <% "Incoming Job Handler Duration in Milliseconds" %>
445
459
  "height": 6,
446
460
  "width": 9,
@@ -507,10 +521,11 @@ Resources:
507
521
  "liveData": true
508
522
  }
509
523
  },
524
+ <% current_y += 6 %>
510
525
 
526
+
511
527
 
512
528
 
513
- <% current_y += 6 %>
514
529
  <%- queue_names.each do |queue_name| -%>
515
530
  { <% "Active Jobs" %>
516
531
  "height": 3,
@@ -565,7 +580,7 @@ Resources:
565
580
  }
566
581
  },
567
582
  { <% "Active Job Queue" %>
568
- "height": 6,
583
+ "height": 3,
569
584
  "width": 9,
570
585
  "y": <%= current_y + 3 %>,
571
586
  "x": 0,
@@ -594,6 +609,20 @@ Resources:
594
609
  "liveData": true
595
610
  }
596
611
  },
612
+ { <% "Queue Handler Init Duration" %>
613
+ "type": "log",
614
+ "x": 0,
615
+ "y": <%= current_y + 3 %>,
616
+ "width": 9,
617
+ "height": 3,
618
+ "properties": {
619
+ "query": "SOURCE '/aws/lambda/${self:custom.funktor.<%= queue_name.camelize %>QueueHandlerName}' | 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",
620
+ "region": "us-east-1",
621
+ "stacked": false,
622
+ "view": "timeSeries",
623
+ "title": "Handler Init Duration"
624
+ }
625
+ },
597
626
  { <% "Active Job Handler Duration in Milliseconds" %>
598
627
  "height": 6,
599
628
  "width": 9,
@@ -853,11 +882,25 @@ Resources:
853
882
 
854
883
 
855
884
  <% current_y += 3 %>
885
+ { <% "Job Activator Init Duration" %>
886
+ "type": "log",
887
+ "x": 0,
888
+ "y": <%= current_y %>,
889
+ "width": 9,
890
+ "height": 3,
891
+ "properties": {
892
+ "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",
893
+ "region": "us-east-1",
894
+ "stacked": false,
895
+ "view": "timeSeries",
896
+ "title": "Handler Init Duration"
897
+ }
898
+ },
856
899
  { <% "Scheduled Job Table Latency" %>
857
900
  "height": 3,
858
- "width": 18,
901
+ "width": 9,
859
902
  "y": <%= current_y %>,
860
- "x": 0,
903
+ "x": 9,
861
904
  "type": "metric",
862
905
  "properties": {
863
906
  "metrics": [
@@ -1,3 +1,3 @@
1
1
  module Funktor
2
- VERSION = "0.7.19"
2
+ VERSION = "0.7.20"
3
3
  end
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.19
4
+ version: 0.7.20
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-05-20 00:00:00.000000000 Z
11
+ date: 2022-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs