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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/funktor/counter.rb +2 -1
- data/lib/funktor/middleware/metrics.rb +2 -1
- 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: a1b4182ab20dd1edaab9d00d00f454d25a1e0333502b2c20fca839902692f6ba
|
4
|
+
data.tar.gz: dc5d7f97ddda5d20292db6520d7023c185cf5f117a548b8c40d3dcaf96608061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae29280dd7ed160ac7f228a5ca0fdde92634e8bcd63179ffcacd49107b680a2d72f3067878d277c7146d72ccc0d2321575e7bc46acf9925a717ab32973772f6
|
7
|
+
data.tar.gz: 562723cc07a29e5a3036610423bbc54ad4ed00ede8ec47462319750924802b3c8bd37c9a0ea3235b455db9864a08dd628ef592fe6c72f10727ef7675468527a4
|
data/Gemfile.lock
CHANGED
data/lib/funktor/counter.rb
CHANGED
@@ -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"
|
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.2.
|
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-
|
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
|