sidekiq-monitoring 1.3.3 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +6 -0
- data/README.md +2 -0
- data/lib/sidekiq-monitoring.rb +2 -2
- data/sidekiq-monitoring.gemspec +3 -5
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8ea2932249274ef1cf511729f7ba65ced2d6ad850b5ba79d159c243f5329427
|
4
|
+
data.tar.gz: bf776030dcc2c3ab270cf06204f821c81cfd99d92c9eae215c2eb1af8c7357e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2ce020623bf3e97143f9c94a86ff3d5d18a7f09a31c842acc6d63724070f80711e72b0352fc443884b4193e32cf099c8d8b9ea9d6d1f20cdc34d7c14b42b57f
|
7
|
+
data.tar.gz: b1d51c108e9a360b95dcb7ff97aa090ec91a3d92a931da0e75ab657c33d8cdec0e14314d9a8cbe35ab1c1b513baf1628f1d236e1f24718dbcc992255cd4d9419
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.1.4
|
data/.travis.yml
ADDED
data/README.md
CHANGED
data/lib/sidekiq-monitoring.rb
CHANGED
@@ -2,13 +2,13 @@ require 'sinatra/base'
|
|
2
2
|
require 'multi_json'
|
3
3
|
|
4
4
|
class SidekiqMonitoring < Sinatra::Base
|
5
|
-
VERSION = "1.3.
|
5
|
+
VERSION = "1.3.6"
|
6
6
|
# Set your down thresholds configuration
|
7
7
|
# {'default' => [ 1_000, 2_000 ], 'low' => [ 10_000, 20_000 ] }
|
8
8
|
#
|
9
9
|
# NOTE: « queue_size_thresholds » are the thresholds about the number of job in a queue
|
10
10
|
def self.queue_size_thresholds=(queue_size_thresholds)
|
11
|
-
|
11
|
+
@@queue_size_thresholds = queue_size_thresholds
|
12
12
|
end
|
13
13
|
@@queue_size_thresholds = {}
|
14
14
|
|
data/sidekiq-monitoring.gemspec
CHANGED
@@ -2,11 +2,9 @@
|
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
|
5
|
-
require 'sidekiq-monitoring'
|
6
|
-
|
7
5
|
Gem::Specification.new do |spec|
|
8
6
|
spec.name = 'sidekiq-monitoring'
|
9
|
-
spec.version =
|
7
|
+
spec.version = '1.3.6'
|
10
8
|
spec.authors = ['Jeremy Carlier']
|
11
9
|
spec.email = ['jeremy.carlier@dimelo.com']
|
12
10
|
|
@@ -23,9 +21,9 @@ Gem::Specification.new do |spec|
|
|
23
21
|
end
|
24
22
|
|
25
23
|
spec.require_paths = ['lib']
|
26
|
-
spec.add_dependency 'sidekiq', '>= 2.12.3', '<
|
24
|
+
spec.add_dependency 'sidekiq', '>= 2.12.3', '< 7'
|
27
25
|
spec.add_dependency 'sinatra'
|
28
26
|
spec.add_dependency 'multi_json'
|
29
27
|
|
30
|
-
spec.add_development_dependency 'bundler', '
|
28
|
+
spec.add_development_dependency 'bundler', '>= 1.16'
|
31
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Carlier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 2.12.3
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 2.12.3
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: sinatra
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,14 +62,14 @@ dependencies:
|
|
62
62
|
name: bundler
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '1.16'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '1.16'
|
75
75
|
description: Give a state of sidekiq available queues
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- ".gitignore"
|
83
83
|
- ".rspec"
|
84
84
|
- ".ruby-version"
|
85
|
+
- ".travis.yml"
|
85
86
|
- Gemfile
|
86
87
|
- LICENSE.txt
|
87
88
|
- README.md
|
@@ -109,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
110
|
- !ruby/object:Gem::Version
|
110
111
|
version: '0'
|
111
112
|
requirements: []
|
112
|
-
|
113
|
-
rubygems_version: 2.7.6
|
113
|
+
rubygems_version: 3.3.26
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Addons to provide a monitoring API for Sidekiq
|