sidekiq-prometheus-exporter 0.1.14 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +68 -0
- data/.rubocop.yml +33 -286
- data/Appraisals +1 -1
- data/README.md +12 -10
- data/Rakefile +24 -14
- data/docker/Dockerfile +4 -4
- data/docker/README.md +14 -8
- data/docker/config.ru +4 -1
- data/examples/metrics/config.ru +2 -0
- data/examples/sidekiq/sidekiq.rb +2 -0
- data/gemfiles/{sidekiq_3.3.1.gemfile → sidekiq_3.3.1.Gemfile} +0 -0
- data/gemfiles/sidekiq_3.3.1.Gemfile.lock +126 -0
- data/gemfiles/{sidekiq_3.x.gemfile → sidekiq_3.x.Gemfile} +0 -0
- data/gemfiles/sidekiq_3.x.Gemfile.lock +141 -0
- data/gemfiles/{sidekiq_4.x.gemfile → sidekiq_4.x.Gemfile} +0 -0
- data/gemfiles/sidekiq_4.x.Gemfile.lock +102 -0
- data/gemfiles/{sidekiq_5.x.gemfile → sidekiq_5.x.Gemfile} +0 -0
- data/gemfiles/sidekiq_5.x.Gemfile.lock +101 -0
- data/gemfiles/{sidekiq_6.x.gemfile → sidekiq_6.x.Gemfile} +0 -0
- data/gemfiles/sidekiq_6.x.Gemfile.lock +98 -0
- data/gemfiles/{sidekiq_head.gemfile → sidekiq_latest.Gemfile} +0 -0
- data/gemfiles/sidekiq_latest.Gemfile.lock +116 -0
- data/helm/sidekiq-prometheus-exporter/Chart.yaml +2 -2
- data/helm/sidekiq-prometheus-exporter/README.md +1 -1
- data/helm/sidekiq-prometheus-exporter/values.yaml +3 -1
- data/lib/sidekiq/prometheus/exporter/standard.rb +19 -5
- data/lib/sidekiq/prometheus/exporter/templates/standard.erb +13 -1
- data/lib/sidekiq/prometheus/exporter/version.rb +1 -1
- data/lib/sidekiq/prometheus/exporter.rb +1 -1
- data/sidekiq-prometheus-exporter.gemspec +9 -5
- metadata +66 -38
- data/.codeclimate.yml +0 -16
- data/.travis.yml +0 -85
- data/gemfiles/sidekiq_3.3.1.gemfile.lock +0 -139
- data/gemfiles/sidekiq_3.x.gemfile.lock +0 -139
- data/gemfiles/sidekiq_4.x.gemfile.lock +0 -101
- data/gemfiles/sidekiq_5.x.gemfile.lock +0 -100
- data/gemfiles/sidekiq_6.x.gemfile.lock +0 -100
- data/gemfiles/sidekiq_head.gemfile.lock +0 -116
@@ -0,0 +1,116 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/mperham/sidekiq
|
3
|
+
revision: 20cdf68a7362c9f7cc40508e294b96026754772b
|
4
|
+
specs:
|
5
|
+
sidekiq (6.4.1)
|
6
|
+
connection_pool (>= 2.2.2)
|
7
|
+
rack (~> 2.0)
|
8
|
+
redis (>= 4.2.0)
|
9
|
+
|
10
|
+
GIT
|
11
|
+
remote: https://github.com/rack/rack
|
12
|
+
revision: 253fc5b29c240276d3cf573bdf795e6a6126b16f
|
13
|
+
specs:
|
14
|
+
rack (2.3.0)
|
15
|
+
rack-session
|
16
|
+
|
17
|
+
GIT
|
18
|
+
remote: https://github.com/redis/redis-rb
|
19
|
+
revision: 5fb64bdecacac0bc5738f194ab82cd1001071879
|
20
|
+
specs:
|
21
|
+
redis (4.6.0)
|
22
|
+
|
23
|
+
PATH
|
24
|
+
remote: ..
|
25
|
+
specs:
|
26
|
+
sidekiq-prometheus-exporter (0.1.17)
|
27
|
+
rack (>= 1.6.0)
|
28
|
+
sidekiq (>= 3.3.1)
|
29
|
+
|
30
|
+
GEM
|
31
|
+
remote: https://rubygems.org/
|
32
|
+
specs:
|
33
|
+
appraisal (2.4.1)
|
34
|
+
bundler
|
35
|
+
rake
|
36
|
+
thor (>= 0.14.0)
|
37
|
+
ast (2.4.2)
|
38
|
+
byebug (11.1.3)
|
39
|
+
coderay (1.1.3)
|
40
|
+
connection_pool (2.2.5)
|
41
|
+
diff-lcs (1.5.0)
|
42
|
+
method_source (1.0.0)
|
43
|
+
parallel (1.21.0)
|
44
|
+
parser (3.1.1.0)
|
45
|
+
ast (~> 2.4.1)
|
46
|
+
pry (0.13.1)
|
47
|
+
coderay (~> 1.1)
|
48
|
+
method_source (~> 1.0)
|
49
|
+
pry-byebug (3.9.0)
|
50
|
+
byebug (~> 11.0)
|
51
|
+
pry (~> 0.13.0)
|
52
|
+
rack-session (0.1.0)
|
53
|
+
rack-test (1.1.0)
|
54
|
+
rack (>= 1.0, < 3)
|
55
|
+
rainbow (3.1.1)
|
56
|
+
rake (13.0.6)
|
57
|
+
regexp_parser (2.2.1)
|
58
|
+
rexml (3.2.5)
|
59
|
+
rspec (3.11.0)
|
60
|
+
rspec-core (~> 3.11.0)
|
61
|
+
rspec-expectations (~> 3.11.0)
|
62
|
+
rspec-mocks (~> 3.11.0)
|
63
|
+
rspec-core (3.11.0)
|
64
|
+
rspec-support (~> 3.11.0)
|
65
|
+
rspec-expectations (3.11.0)
|
66
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
+
rspec-support (~> 3.11.0)
|
68
|
+
rspec-mocks (3.11.0)
|
69
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
70
|
+
rspec-support (~> 3.11.0)
|
71
|
+
rspec-support (3.11.0)
|
72
|
+
rubocop (1.26.0)
|
73
|
+
parallel (~> 1.10)
|
74
|
+
parser (>= 3.1.0.0)
|
75
|
+
rainbow (>= 2.2.2, < 4.0)
|
76
|
+
regexp_parser (>= 1.8, < 3.0)
|
77
|
+
rexml
|
78
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
79
|
+
ruby-progressbar (~> 1.7)
|
80
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
81
|
+
rubocop-ast (1.16.0)
|
82
|
+
parser (>= 3.1.1.0)
|
83
|
+
rubocop-performance (1.13.3)
|
84
|
+
rubocop (>= 1.7.0, < 2.0)
|
85
|
+
rubocop-ast (>= 0.4.0)
|
86
|
+
rubocop-rake (0.6.0)
|
87
|
+
rubocop (~> 1.0)
|
88
|
+
rubocop-rspec (2.9.0)
|
89
|
+
rubocop (~> 1.19)
|
90
|
+
ruby-progressbar (1.11.0)
|
91
|
+
thor (1.2.1)
|
92
|
+
timecop (0.9.5)
|
93
|
+
unicode-display_width (2.1.0)
|
94
|
+
|
95
|
+
PLATFORMS
|
96
|
+
ruby
|
97
|
+
|
98
|
+
DEPENDENCIES
|
99
|
+
appraisal (~> 2.2)
|
100
|
+
bundler (~> 2.1)
|
101
|
+
pry-byebug (~> 3.6)
|
102
|
+
rack (>= 2)!
|
103
|
+
rack-test (~> 1.1)
|
104
|
+
rake (~> 13.0)
|
105
|
+
redis (>= 4)!
|
106
|
+
rspec (~> 3.0)
|
107
|
+
rubocop (~> 1.22)
|
108
|
+
rubocop-performance (~> 1.12)
|
109
|
+
rubocop-rake (~> 0.6)
|
110
|
+
rubocop-rspec (~> 2.6)
|
111
|
+
sidekiq (>= 6)!
|
112
|
+
sidekiq-prometheus-exporter!
|
113
|
+
timecop (~> 0.9)
|
114
|
+
|
115
|
+
BUNDLED WITH
|
116
|
+
2.3.7
|
@@ -51,7 +51,7 @@ $ helm install sidekiq-metrics strech/sidekiq-prometheus-exporter --set serviceA
|
|
51
51
|
| `fullnameOverride` | Override the full resource names | `nil` |
|
52
52
|
| `image.registry` | Image registry | `docker.io` |
|
53
53
|
| `image.repository` | Image repository | `strech/sidekiq-prometheus-exporter` |
|
54
|
-
| `image.tag` | Image tag | `0.1.
|
54
|
+
| `image.tag` | Image tag | `0.1.17` |
|
55
55
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
56
56
|
| `image.pullSecrets` | Image pull secrets | `nil` |
|
57
57
|
| `containerPort` | Port for the exporter to bind on | `9292` |
|
@@ -9,7 +9,7 @@
|
|
9
9
|
image:
|
10
10
|
registry: docker.io
|
11
11
|
repository: strech/sidekiq-prometheus-exporter
|
12
|
-
tag: 0.1.
|
12
|
+
tag: 0.1.17
|
13
13
|
## Specify a imagePullPolicy
|
14
14
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
15
15
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
@@ -77,6 +77,7 @@ containerPort: 9292
|
|
77
77
|
## ref: https://github.com/Strech/sidekiq-prometheus-exporter/tree/master/docker#supported-envs
|
78
78
|
##
|
79
79
|
# env:
|
80
|
+
# REDIS_SSL: "false"
|
80
81
|
# REDIS_HOST: "localhost"
|
81
82
|
# REDIS_PORT: 6379
|
82
83
|
# REDIS_URL: "..."
|
@@ -85,6 +86,7 @@ containerPort: 9292
|
|
85
86
|
# REDIS_NAMESPACE: "..."
|
86
87
|
# REDIS_SENTINELS: "..."
|
87
88
|
# REDIS_SENTINEL_ROLE: "..."
|
89
|
+
# REDIS_DISABLE_CLIENT_ID: "false"
|
88
90
|
# envFrom:
|
89
91
|
# type: configMapRef
|
90
92
|
# name: myConfigMapReference
|
@@ -10,6 +10,8 @@ module Sidekiq
|
|
10
10
|
TEMPLATE = ERB.new(File.read(File.expand_path('templates/standard.erb', __dir__)))
|
11
11
|
|
12
12
|
QueueStats = Struct.new(:name, :size, :latency)
|
13
|
+
QueueWorkersStats = Struct.new(:total_workers, :busy_workers, :processes)
|
14
|
+
WorkersStats = Struct.new(:total_workers, :by_queue)
|
13
15
|
|
14
16
|
def self.available?
|
15
17
|
true
|
@@ -18,8 +20,8 @@ module Sidekiq
|
|
18
20
|
def initialize
|
19
21
|
@overview_stats = Sidekiq::Stats.new
|
20
22
|
@queues_stats = queues_stats
|
23
|
+
@workers_stats = workers_stats
|
21
24
|
@max_processing_times = max_processing_times
|
22
|
-
@total_workers = total_workers
|
23
25
|
end
|
24
26
|
|
25
27
|
def to_s
|
@@ -34,8 +36,24 @@ module Sidekiq
|
|
34
36
|
end
|
35
37
|
end
|
36
38
|
|
39
|
+
def workers_stats
|
40
|
+
workers_stats = WorkersStats.new(0, {})
|
41
|
+
|
42
|
+
Sidekiq::ProcessSet.new.each_with_object(workers_stats) do |process, stats|
|
43
|
+
stats.total_workers += process['concurrency'].to_i
|
44
|
+
|
45
|
+
process['queues'].each do |queue|
|
46
|
+
stats.by_queue[queue] ||= QueueWorkersStats.new(0, 0, 0)
|
47
|
+
stats.by_queue[queue].processes += 1
|
48
|
+
stats.by_queue[queue].busy_workers += process['busy'].to_i
|
49
|
+
stats.by_queue[queue].total_workers += process['concurrency'].to_i
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
37
54
|
def max_processing_times
|
38
55
|
now = Time.now.to_i
|
56
|
+
|
39
57
|
Sidekiq::Workers.new
|
40
58
|
.map { |_, _, execution| execution }
|
41
59
|
.group_by { |execution| execution['queue'] }
|
@@ -44,10 +62,6 @@ module Sidekiq
|
|
44
62
|
memo[queue] = now - oldest_execution['run_at']
|
45
63
|
end
|
46
64
|
end
|
47
|
-
|
48
|
-
def total_workers
|
49
|
-
Sidekiq::ProcessSet.new.map { |process| process['concurrency'].to_i }.reduce(0, :+)
|
50
|
-
end
|
51
65
|
end
|
52
66
|
end
|
53
67
|
end
|
@@ -8,7 +8,7 @@ sidekiq_failed_jobs_total <%= format('%d', @overview_stats.failed) %>
|
|
8
8
|
|
9
9
|
# HELP sidekiq_workers The number of workers across all the processes.
|
10
10
|
# TYPE sidekiq_workers gauge
|
11
|
-
sidekiq_workers <%= format('%d', @total_workers) %>
|
11
|
+
sidekiq_workers <%= format('%d', @workers_stats.total_workers) %>
|
12
12
|
|
13
13
|
# HELP sidekiq_processes The number of processes.
|
14
14
|
# TYPE sidekiq_processes gauge
|
@@ -46,3 +46,15 @@ sidekiq_dead_jobs <%= format('%d', @overview_stats.dead_size) %>
|
|
46
46
|
# TYPE sidekiq_queue_max_processing_time_seconds gauge
|
47
47
|
<% @max_processing_times.each do |queue, max_processing_time| %>sidekiq_queue_max_processing_time_seconds{name="<%= queue %>"} <%= format('%i', max_processing_time) %>
|
48
48
|
<% end %>
|
49
|
+
# HELP sidekiq_queue_workers The number of workers serving the queue.
|
50
|
+
# TYPE sidekiq_queue_workers gauge
|
51
|
+
<% @workers_stats.by_queue.each do |queue, stats| %>sidekiq_queue_workers{name="<%= queue %>"} <%= format('%i', stats.total_workers) %>
|
52
|
+
<% end %>
|
53
|
+
# HELP sidekiq_queue_processes The number of processes serving the queue.
|
54
|
+
# TYPE sidekiq_queue_processes gauge
|
55
|
+
<% @workers_stats.by_queue.each do |queue, stats| %>sidekiq_queue_processes{name="<%= queue %>"} <%= format('%i', stats.processes) %>
|
56
|
+
<% end %>
|
57
|
+
# HELP sidekiq_queue_busy_workers The number of workers performing the job for the queue.
|
58
|
+
# TYPE sidekiq_queue_busy_workers gauge
|
59
|
+
<% @workers_stats.by_queue.each do |queue, stats| %>sidekiq_queue_busy_workers{name="<%= queue %>"} <%= format('%i', stats.busy_workers) %>
|
60
|
+
<% end %>
|
@@ -12,7 +12,7 @@ module Sidekiq
|
|
12
12
|
NOT_FOUND_TEXT = 'Not Found'.freeze
|
13
13
|
MOUNT_PATH = '/metrics'.freeze
|
14
14
|
# rubocop:disable Style/MutableConstant
|
15
|
-
HEADERS = {
|
15
|
+
HEADERS = {Rack::CONTENT_TYPE => 'text/plain; version=0.0.4', Rack::CACHE_CONTROL => 'no-cache'}
|
16
16
|
# rubocop:enable Style/MutableConstant
|
17
17
|
EXPORTERS = Exporters.new
|
18
18
|
|
@@ -16,9 +16,10 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
if spec.respond_to?(:metadata)
|
18
18
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
19
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
19
20
|
else
|
20
21
|
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
21
|
-
|
22
|
+
'public gem pushes.'
|
22
23
|
end
|
23
24
|
|
24
25
|
spec.files = `git ls-files -z`.split("\x0").reject do |file|
|
@@ -28,16 +29,19 @@ Gem::Specification.new do |spec|
|
|
28
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |file| File.basename(file) }
|
29
30
|
spec.require_paths = %w(lib)
|
30
31
|
|
32
|
+
spec.required_ruby_version = '>= 2.3'
|
33
|
+
spec.add_dependency 'rack', '>= 1.6.0'
|
31
34
|
spec.add_dependency 'sidekiq', '>= 3.3.1'
|
32
35
|
|
33
36
|
spec.add_development_dependency 'appraisal', '~> 2.2'
|
34
37
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
35
|
-
spec.add_development_dependency '
|
36
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.6.0'
|
38
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.6'
|
37
39
|
spec.add_development_dependency 'rack-test', '~> 1.1'
|
38
40
|
spec.add_development_dependency 'rake', '~> 13.0'
|
39
41
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
40
|
-
spec.add_development_dependency 'rubocop', '~>
|
41
|
-
spec.add_development_dependency 'rubocop-
|
42
|
+
spec.add_development_dependency 'rubocop', '~> 1.22'
|
43
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.12'
|
44
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
45
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.6'
|
42
46
|
spec.add_development_dependency 'timecop', '~> 0.9'
|
43
47
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-prometheus-exporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Fedorov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.6.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.6.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: sidekiq
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,34 +66,20 @@ dependencies:
|
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '2.1'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: codeclimate-test-reporter
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry-byebug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.6
|
75
|
+
version: '3.6'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.6
|
82
|
+
version: '3.6'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rack-test
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,28 +128,56 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '1.22'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '1.22'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop-performance
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.12'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.12'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop-rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.6'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.6'
|
139
167
|
- !ruby/object:Gem::Dependency
|
140
168
|
name: rubocop-rspec
|
141
169
|
requirement: !ruby/object:Gem::Requirement
|
142
170
|
requirements:
|
143
171
|
- - "~>"
|
144
172
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
173
|
+
version: '2.6'
|
146
174
|
type: :development
|
147
175
|
prerelease: false
|
148
176
|
version_requirements: !ruby/object:Gem::Requirement
|
149
177
|
requirements:
|
150
178
|
- - "~>"
|
151
179
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
180
|
+
version: '2.6'
|
153
181
|
- !ruby/object:Gem::Dependency
|
154
182
|
name: timecop
|
155
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,12 +199,11 @@ executables: []
|
|
171
199
|
extensions: []
|
172
200
|
extra_rdoc_files: []
|
173
201
|
files:
|
174
|
-
- ".codeclimate.yml"
|
175
202
|
- ".github/FUNDING.yml"
|
203
|
+
- ".github/workflows/ci.yaml"
|
176
204
|
- ".gitignore"
|
177
205
|
- ".rspec"
|
178
206
|
- ".rubocop.yml"
|
179
|
-
- ".travis.yml"
|
180
207
|
- Appraisals
|
181
208
|
- Gemfile
|
182
209
|
- LICENSE
|
@@ -197,18 +224,18 @@ files:
|
|
197
224
|
- examples/sidekiq/Dockerfile
|
198
225
|
- examples/sidekiq/sidekiq.rb
|
199
226
|
- examples/sidekiq/sidekiq.yml
|
200
|
-
- gemfiles/sidekiq_3.3.1.
|
201
|
-
- gemfiles/sidekiq_3.3.1.
|
202
|
-
- gemfiles/sidekiq_3.x.
|
203
|
-
- gemfiles/sidekiq_3.x.
|
204
|
-
- gemfiles/sidekiq_4.x.
|
205
|
-
- gemfiles/sidekiq_4.x.
|
206
|
-
- gemfiles/sidekiq_5.x.
|
207
|
-
- gemfiles/sidekiq_5.x.
|
208
|
-
- gemfiles/sidekiq_6.x.
|
209
|
-
- gemfiles/sidekiq_6.x.
|
210
|
-
- gemfiles/
|
211
|
-
- gemfiles/
|
227
|
+
- gemfiles/sidekiq_3.3.1.Gemfile
|
228
|
+
- gemfiles/sidekiq_3.3.1.Gemfile.lock
|
229
|
+
- gemfiles/sidekiq_3.x.Gemfile
|
230
|
+
- gemfiles/sidekiq_3.x.Gemfile.lock
|
231
|
+
- gemfiles/sidekiq_4.x.Gemfile
|
232
|
+
- gemfiles/sidekiq_4.x.Gemfile.lock
|
233
|
+
- gemfiles/sidekiq_5.x.Gemfile
|
234
|
+
- gemfiles/sidekiq_5.x.Gemfile.lock
|
235
|
+
- gemfiles/sidekiq_6.x.Gemfile
|
236
|
+
- gemfiles/sidekiq_6.x.Gemfile.lock
|
237
|
+
- gemfiles/sidekiq_latest.Gemfile
|
238
|
+
- gemfiles/sidekiq_latest.Gemfile.lock
|
212
239
|
- helm/sidekiq-prometheus-exporter/.helmignore
|
213
240
|
- helm/sidekiq-prometheus-exporter/Chart.yaml
|
214
241
|
- helm/sidekiq-prometheus-exporter/README.md
|
@@ -235,6 +262,7 @@ homepage: https://github.com/Strech/sidekiq-prometheus-exporter
|
|
235
262
|
licenses: []
|
236
263
|
metadata:
|
237
264
|
allowed_push_host: https://rubygems.org
|
265
|
+
rubygems_mfa_required: 'true'
|
238
266
|
post_install_message:
|
239
267
|
rdoc_options: []
|
240
268
|
require_paths:
|
@@ -243,14 +271,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
243
271
|
requirements:
|
244
272
|
- - ">="
|
245
273
|
- !ruby/object:Gem::Version
|
246
|
-
version: '
|
274
|
+
version: '2.3'
|
247
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
276
|
requirements:
|
249
277
|
- - ">="
|
250
278
|
- !ruby/object:Gem::Version
|
251
279
|
version: '0'
|
252
280
|
requirements: []
|
253
|
-
rubygems_version: 3.
|
281
|
+
rubygems_version: 3.1.6
|
254
282
|
signing_key:
|
255
283
|
specification_version: 4
|
256
284
|
summary: Prometheus exporter for the Sidekiq
|
data/.codeclimate.yml
DELETED
data/.travis.yml
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
os: linux
|
2
|
-
dist: xenial
|
3
|
-
language: ruby
|
4
|
-
rvm:
|
5
|
-
- 2.3.8
|
6
|
-
- 2.4.10
|
7
|
-
- 2.5.8
|
8
|
-
- 2.6.6
|
9
|
-
- 2.7.1
|
10
|
-
- ruby-head
|
11
|
-
notifications:
|
12
|
-
email: false
|
13
|
-
|
14
|
-
gemfile:
|
15
|
-
- gemfiles/sidekiq_3.3.1.gemfile
|
16
|
-
- gemfiles/sidekiq_3.x.gemfile
|
17
|
-
- gemfiles/sidekiq_4.x.gemfile
|
18
|
-
- gemfiles/sidekiq_5.x.gemfile
|
19
|
-
- gemfiles/sidekiq_6.x.gemfile
|
20
|
-
- gemfiles/sidekiq_head.gemfile
|
21
|
-
|
22
|
-
jobs:
|
23
|
-
include:
|
24
|
-
- rvm: "2.6.6"
|
25
|
-
gemfile: "gemfiles/sidekiq_5.x.gemfile"
|
26
|
-
env:
|
27
|
-
- CODECLIMATE_REPORT=true
|
28
|
-
exclude:
|
29
|
-
- rvm: "2.3.8"
|
30
|
-
gemfile: "gemfiles/sidekiq_6.x.gemfile"
|
31
|
-
- rvm: "2.4.10"
|
32
|
-
gemfile: "gemfiles/sidekiq_6.x.gemfile"
|
33
|
-
- rvm: "2.3.8"
|
34
|
-
gemfile: "gemfiles/sidekiq_head.gemfile"
|
35
|
-
- rvm: "2.4.10"
|
36
|
-
gemfile: "gemfiles/sidekiq_head.gemfile"
|
37
|
-
- rvm: "2.5.8"
|
38
|
-
gemfile: "gemfiles/sidekiq_head.gemfile"
|
39
|
-
- rvm: "2.6.6"
|
40
|
-
gemfile: "gemfiles/sidekiq_head.gemfile"
|
41
|
-
- rvm: "2.7.1"
|
42
|
-
gemfile: "gemfiles/sidekiq_head.gemfile"
|
43
|
-
allow_failures:
|
44
|
-
- rvm: "ruby-head"
|
45
|
-
gemfile: "gemfiles/sidekiq_3.3.1.gemfile"
|
46
|
-
- rvm: "ruby-head"
|
47
|
-
gemfile: "gemfiles/sidekiq_3.x.gemfile"
|
48
|
-
- rvm: "ruby-head"
|
49
|
-
gemfile: "gemfiles/sidekiq_4.x.gemfile"
|
50
|
-
- rvm: "ruby-head"
|
51
|
-
gemfile: "gemfiles/sidekiq_5.x.gemfile"
|
52
|
-
- rvm: "ruby-head"
|
53
|
-
gemfile: "gemfiles/sidekiq_6.x.gemfile"
|
54
|
-
- rvm: "ruby-head"
|
55
|
-
gemfile: "gemfiles/sidekiq_head.gemfile"
|
56
|
-
|
57
|
-
cache:
|
58
|
-
directories:
|
59
|
-
- ./vendor
|
60
|
-
|
61
|
-
env:
|
62
|
-
global:
|
63
|
-
- CC_TEST_REPORTER_ID=$CODECLIMATE_REPO_TOKEN
|
64
|
-
|
65
|
-
before_install:
|
66
|
-
- gem install bundler -v '~> 2.1'
|
67
|
-
|
68
|
-
before_script:
|
69
|
-
- if [ ! -f ./vendor/cc-test-reporter ]; then
|
70
|
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./vendor/cc-test-reporter;
|
71
|
-
chmod +x ./vendor/cc-test-reporter;
|
72
|
-
fi
|
73
|
-
- if [ ! -z "$CODECLIMATE_REPORT" ]; then
|
74
|
-
echo "Start recording Codeclimate test coverage";
|
75
|
-
./vendor/cc-test-reporter before-build;
|
76
|
-
fi
|
77
|
-
|
78
|
-
script:
|
79
|
-
- bundle exec rake spec
|
80
|
-
|
81
|
-
after_success:
|
82
|
-
- if [ ! -z "$CODECLIMATE_REPORT" ]; then
|
83
|
-
echo "Finish recording Codeclimate test coverage";
|
84
|
-
./vendor/cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
|
85
|
-
fi
|