newrelic-sidekiq-metrics 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +1 -1
- data/lib/newrelic_sidekiq_metrics/version.rb +1 -1
- data/lib/newrelic_sidekiq_metrics.rb +6 -6
- data/newrelic-sidekiq-metrics.gemspec +1 -1
- metadata +2 -4
- data/.rubocop.yml +0 -12
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29c968a603c37d2e829d78ba4d3fb33388a39245dd3089e7a2360347affbc5e
|
4
|
+
data.tar.gz: a9d85fb2860766dc7b73f46126407c34a2c85a365e778c20e0ef2c52e15876d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb51cf2edd9d9f4a65f202150deab85d78093804f56333ca5aea5d7a490bc16fc047c9f6758775ab72d217b967b6dfd36ab55b629ce4fe1d1ef908fd2fb194c3
|
7
|
+
data.tar.gz: 6362cc2423341b6681c937ee0526b382ac79c282a379855b30574622f7ca6532efae05038564606aefbdbe6ff70500c8c9436d1ebfee1569ff2dab06ed180ebd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
newrelic-sidekiq-metrics (0.2.
|
4
|
+
newrelic-sidekiq-metrics (0.2.1)
|
5
5
|
newrelic_rpm (~> 6.7.0)
|
6
6
|
sidekiq (~> 6.0.3)
|
7
7
|
|
@@ -15,17 +15,17 @@ GEM
|
|
15
15
|
jaro_winkler (1.5.4)
|
16
16
|
method_source (0.9.2)
|
17
17
|
newrelic_rpm (6.7.0.359)
|
18
|
-
parallel (1.
|
18
|
+
parallel (1.19.1)
|
19
19
|
parser (2.6.5.0)
|
20
20
|
ast (~> 2.4.0)
|
21
21
|
pry (0.12.2)
|
22
22
|
coderay (~> 1.1.0)
|
23
23
|
method_source (~> 0.9.0)
|
24
|
-
rack (2.0.
|
24
|
+
rack (2.0.8)
|
25
25
|
rack-protection (2.0.7)
|
26
26
|
rack
|
27
27
|
rainbow (3.0.0)
|
28
|
-
rake (13.0.
|
28
|
+
rake (13.0.1)
|
29
29
|
redis (4.1.3)
|
30
30
|
rspec (3.9.0)
|
31
31
|
rspec-core (~> 3.9.0)
|
@@ -40,14 +40,14 @@ GEM
|
|
40
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
41
|
rspec-support (~> 3.9.0)
|
42
42
|
rspec-support (3.9.0)
|
43
|
-
rubocop (0.
|
43
|
+
rubocop (0.78.0)
|
44
44
|
jaro_winkler (~> 1.5.1)
|
45
45
|
parallel (~> 1.10)
|
46
46
|
parser (>= 2.6)
|
47
47
|
rainbow (>= 2.2.2, < 4.0)
|
48
48
|
ruby-progressbar (~> 1.7)
|
49
49
|
unicode-display_width (>= 1.4.0, < 1.7)
|
50
|
-
rubocop-performance (1.5.
|
50
|
+
rubocop-performance (1.5.1)
|
51
51
|
rubocop (>= 0.71.0)
|
52
52
|
ruby-progressbar (1.10.1)
|
53
53
|
sidekiq (6.0.3)
|
data/README.md
CHANGED
@@ -8,14 +8,14 @@ module NewrelicSidekiqMetrics
|
|
8
8
|
METRIC_PREFIX = 'Custom/Sidekiq'.freeze
|
9
9
|
|
10
10
|
METRIC_MAP = {
|
11
|
-
processed:
|
12
|
-
failed:
|
11
|
+
processed: 'ProcessedSize',
|
12
|
+
failed: 'FailedSize',
|
13
13
|
scheduled_size: 'ScheduledSize',
|
14
|
-
retry_size:
|
15
|
-
dead_size:
|
16
|
-
enqueued:
|
14
|
+
retry_size: 'RetrySize',
|
15
|
+
dead_size: 'DeadSize',
|
16
|
+
enqueued: 'EnqueuedSize',
|
17
17
|
processes_size: 'ProcessesSize',
|
18
|
-
workers_size:
|
18
|
+
workers_size: 'WorkersSize',
|
19
19
|
}.freeze
|
20
20
|
|
21
21
|
DEFAULT_ENABLED_METRICS = %i[enqueued retry_size].freeze
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/newrelic-sidekiq-metrics'
|
17
17
|
|
18
18
|
spec.files = Dir.chdir(__dir__) do
|
19
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
|
20
20
|
end
|
21
21
|
spec.bindir = 'exe'
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-sidekiq-metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: newrelic_rpm
|
@@ -133,8 +133,6 @@ extra_rdoc_files: []
|
|
133
133
|
files:
|
134
134
|
- ".gitignore"
|
135
135
|
- ".rspec"
|
136
|
-
- ".rubocop.yml"
|
137
|
-
- ".ruby-version"
|
138
136
|
- ".travis.yml"
|
139
137
|
- Gemfile
|
140
138
|
- Gemfile.lock
|
data/.rubocop.yml
DELETED
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby-2.6.5
|