funktor 0.2.14 → 0.2.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78d588a9932c62a7d4cb3d4e86adacf7f0eb99ac422447e54c5ce336fe77f6f2
4
- data.tar.gz: 1a4ef97fdbab5d9d38600e4a247141ffba81fe82ba3fda42de0d024dbcfc180d
3
+ metadata.gz: a1b4182ab20dd1edaab9d00d00f454d25a1e0333502b2c20fca839902692f6ba
4
+ data.tar.gz: dc5d7f97ddda5d20292db6520d7023c185cf5f117a548b8c40d3dcaf96608061
5
5
  SHA512:
6
- metadata.gz: dda1f909c912b01bd469b4b13398546abc9482ab3d60e6ec275f2002ba5161fa580e123d68732fd19bd148aaf97cfbd42112dc72c416fb745b9bfc14fab555dc
7
- data.tar.gz: acccfa11ddd50cde6b372bdeecfc34ce9fe0d0d0294cd5e99d905d6456373979ef9f03c67ed38ce3e54b2acdd6ebf8b6ecaa2d678d40c37ecfe6f153ca36d757
6
+ metadata.gz: 0ae29280dd7ed160ac7f228a5ca0fdde92634e8bcd63179ffcacd49107b680a2d72f3067878d277c7146d72ccc0d2321575e7bc46acf9925a717ab32973772f6
7
+ data.tar.gz: 562723cc07a29e5a3036610423bbc54ad4ed00ede8ec47462319750924802b3c8bd37c9a0ea3235b455db9864a08dd628ef592fe6c72f10727ef7675468527a4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- funktor (0.2.14)
4
+ funktor (0.2.15)
5
5
  activesupport
6
6
  aws-sdk-sqs (~> 1.37)
7
7
  thor
@@ -21,7 +21,7 @@ module Funktor
21
21
  "CloudWatchMetrics": [
22
22
  {
23
23
  "Namespace": ENV['FUNKTOR_APP_NAME'],
24
- "Dimensions": [["WorkerClassName"]],
24
+ "Dimensions": [["WorkerClassName", "Queue"]],
25
25
  "Metrics": [ # CPU, Memory, Duration, etc...
26
26
  {
27
27
  "Name": dimension,
@@ -32,6 +32,7 @@ module Funktor
32
32
  ]
33
33
  },
34
34
  "WorkerClassName": job.worker_class_name,
35
+ "Queue": job.queue,
35
36
  "#{dimension}": 1
36
37
  #"count": value,
37
38
  #"requestId": "989ffbf8-9ace-4817-a57c-e4dd734019ee"
@@ -20,7 +20,7 @@ module Funktor
20
20
  "CloudWatchMetrics": [
21
21
  {
22
22
  "Namespace": ENV['FUNKTOR_APP_NAME'],
23
- "Dimensions": [["WorkerClassName"]],
23
+ "Dimensions": [["WorkerClassName", "Queue"]],
24
24
  "Metrics": [ # CPU, Memory, Duration, etc...
25
25
  {
26
26
  "Name": "Duration",
@@ -31,6 +31,7 @@ module Funktor
31
31
  ]
32
32
  },
33
33
  "WorkerClassName": job.worker_class_name,
34
+ "Queue": job.queue,
34
35
  "Duration": time_diff_in_seconds * 1_000
35
36
  #"count": value,
36
37
  #"requestId": "989ffbf8-9ace-4817-a57c-e4dd734019ee"
@@ -1,3 +1,3 @@
1
1
  module Funktor
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
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.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-01 00:00:00.000000000 Z
11
+ date: 2021-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs