sidekiq-prometheus-exporter 0.1.10 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/FUNDING.yml +12 -0
- data/.github/workflows/ci.yaml +76 -0
- data/.gitignore +3 -1
- data/.rubocop.yml +28 -28
- data/Appraisals +17 -4
- data/README.md +120 -37
- data/Rakefile +76 -0
- data/docker/Dockerfile +24 -0
- data/docker/README.md +60 -0
- data/docker/config.ru +40 -0
- data/examples/docker-compose.yml +2 -2
- data/examples/screenshot.png +0 -0
- data/examples/{sidekiq.json → sidekiq-dashboard.grafana-6.json} +10 -52
- data/examples/sidekiq-dashboard.grafana-7.json +845 -0
- data/gemfiles/{sidekiq_3.3.1.gemfile → sidekiq_3.3.1.Gemfile} +2 -1
- data/gemfiles/sidekiq_3.3.1.Gemfile.lock +124 -0
- data/gemfiles/{sidekiq_3.x.gemfile → sidekiq_3.x.Gemfile} +2 -1
- data/gemfiles/{sidekiq_3.x.gemfile.lock → sidekiq_3.x.Gemfile.lock} +47 -46
- data/gemfiles/{sidekiq_4.x.gemfile → sidekiq_4.x.Gemfile} +1 -1
- data/gemfiles/{sidekiq_4.x.gemfile.lock → sidekiq_4.x.Gemfile.lock} +38 -38
- data/gemfiles/{sidekiq_5.x.gemfile → sidekiq_5.x.Gemfile} +1 -1
- data/gemfiles/{sidekiq_5.x.gemfile.lock → sidekiq_5.x.Gemfile.lock} +41 -40
- data/gemfiles/sidekiq_6.x.Gemfile +8 -0
- data/gemfiles/sidekiq_6.x.Gemfile.lock +97 -0
- data/gemfiles/sidekiq_latest.Gemfile +9 -0
- data/gemfiles/sidekiq_latest.Gemfile.lock +113 -0
- data/helm/sidekiq-prometheus-exporter/.helmignore +22 -0
- data/helm/sidekiq-prometheus-exporter/Chart.yaml +6 -0
- data/helm/sidekiq-prometheus-exporter/README.md +87 -0
- data/helm/sidekiq-prometheus-exporter/templates/NOTES.txt +15 -0
- data/helm/sidekiq-prometheus-exporter/templates/_helpers.tpl +109 -0
- data/helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml +20 -0
- data/helm/sidekiq-prometheus-exporter/templates/clusterrolebinding.yaml +17 -0
- data/helm/sidekiq-prometheus-exporter/templates/deployment.yaml +62 -0
- data/helm/sidekiq-prometheus-exporter/templates/service.yaml +17 -0
- data/helm/sidekiq-prometheus-exporter/templates/serviceaccount.yaml +9 -0
- data/helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml +26 -0
- data/helm/sidekiq-prometheus-exporter/values.yaml +134 -0
- data/lib/sidekiq/prometheus/exporter.rb +12 -1
- data/lib/sidekiq/prometheus/exporter/exporters.rb +4 -1
- data/lib/sidekiq/prometheus/exporter/standard.rb +1 -1
- data/lib/sidekiq/prometheus/exporter/version.rb +1 -1
- data/sidekiq-prometheus-exporter.gemspec +3 -3
- metadata +43 -23
- data/.travis.yml +0 -23
- data/gemfiles/sidekiq_3.3.1.gemfile.lock +0 -138
@@ -0,0 +1,124 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
sidekiq-prometheus-exporter (0.1.15)
|
5
|
+
sidekiq (>= 3.3.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
ast (2.4.0)
|
15
|
+
byebug (10.0.2)
|
16
|
+
celluloid (0.18.0)
|
17
|
+
timers (~> 4)
|
18
|
+
codeclimate-test-reporter (1.0.9)
|
19
|
+
simplecov (<= 0.13)
|
20
|
+
coderay (1.1.2)
|
21
|
+
concurrent-ruby (1.1.6)
|
22
|
+
connection_pool (2.2.3)
|
23
|
+
diff-lcs (1.3)
|
24
|
+
docile (1.1.5)
|
25
|
+
jaro_winkler (1.5.4)
|
26
|
+
json (2.5.1)
|
27
|
+
method_source (0.9.2)
|
28
|
+
mustermann (1.1.1)
|
29
|
+
ruby2_keywords (~> 0.0.1)
|
30
|
+
parallel (1.19.1)
|
31
|
+
parser (2.7.0.4)
|
32
|
+
ast (~> 2.4.0)
|
33
|
+
pry (0.12.2)
|
34
|
+
coderay (~> 1.1.0)
|
35
|
+
method_source (~> 0.9.0)
|
36
|
+
pry-byebug (3.6.0)
|
37
|
+
byebug (~> 10.0)
|
38
|
+
pry (~> 0.10)
|
39
|
+
rack (2.2.2)
|
40
|
+
rack-protection (2.0.8.1)
|
41
|
+
rack
|
42
|
+
rack-test (1.1.0)
|
43
|
+
rack (>= 1.0, < 3)
|
44
|
+
rainbow (3.0.0)
|
45
|
+
rake (13.0.1)
|
46
|
+
redis (3.3.5)
|
47
|
+
redis-namespace (1.6.0)
|
48
|
+
redis (>= 3.0.4)
|
49
|
+
rexml (3.2.4)
|
50
|
+
rspec (3.9.0)
|
51
|
+
rspec-core (~> 3.9.0)
|
52
|
+
rspec-expectations (~> 3.9.0)
|
53
|
+
rspec-mocks (~> 3.9.0)
|
54
|
+
rspec-core (3.9.1)
|
55
|
+
rspec-support (~> 3.9.1)
|
56
|
+
rspec-expectations (3.9.0)
|
57
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
+
rspec-support (~> 3.9.0)
|
59
|
+
rspec-mocks (3.9.1)
|
60
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
61
|
+
rspec-support (~> 3.9.0)
|
62
|
+
rspec-support (3.9.2)
|
63
|
+
rubocop (0.80.1)
|
64
|
+
jaro_winkler (~> 1.5.1)
|
65
|
+
parallel (~> 1.10)
|
66
|
+
parser (>= 2.7.0.1)
|
67
|
+
rainbow (>= 2.2.2, < 4.0)
|
68
|
+
rexml
|
69
|
+
ruby-progressbar (~> 1.7)
|
70
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
71
|
+
rubocop-rspec (1.28.0)
|
72
|
+
rubocop (>= 0.58.0)
|
73
|
+
ruby-progressbar (1.10.1)
|
74
|
+
ruby2_keywords (0.0.2)
|
75
|
+
sidekiq (3.3.1)
|
76
|
+
celluloid (>= 0.16.0)
|
77
|
+
connection_pool (>= 2.1.1)
|
78
|
+
json
|
79
|
+
redis (>= 3.0.6)
|
80
|
+
redis-namespace (>= 1.3.1)
|
81
|
+
simplecov (0.13.0)
|
82
|
+
docile (~> 1.1.0)
|
83
|
+
json (>= 1.8, < 3)
|
84
|
+
simplecov-html (~> 0.10.0)
|
85
|
+
simplecov-html (0.10.2)
|
86
|
+
sinatra (2.0.8.1)
|
87
|
+
mustermann (~> 1.0)
|
88
|
+
rack (~> 2.0)
|
89
|
+
rack-protection (= 2.0.8.1)
|
90
|
+
tilt (~> 2.0)
|
91
|
+
slim (4.0.1)
|
92
|
+
temple (>= 0.7.6, < 0.9)
|
93
|
+
tilt (>= 2.0.6, < 2.1)
|
94
|
+
temple (0.8.2)
|
95
|
+
thor (1.0.1)
|
96
|
+
tilt (2.0.10)
|
97
|
+
timecop (0.9.1)
|
98
|
+
timers (4.3.2)
|
99
|
+
unicode-display_width (1.6.1)
|
100
|
+
|
101
|
+
PLATFORMS
|
102
|
+
ruby
|
103
|
+
|
104
|
+
DEPENDENCIES
|
105
|
+
appraisal (~> 2.2)
|
106
|
+
bundler (~> 2.1)
|
107
|
+
codeclimate-test-reporter (~> 1.0)
|
108
|
+
concurrent-ruby
|
109
|
+
pry-byebug (~> 3.6)
|
110
|
+
rack-test (~> 1.1)
|
111
|
+
rake (~> 13.0)
|
112
|
+
redis (~> 3.3)
|
113
|
+
redis-namespace (< 1.7.0)
|
114
|
+
rspec (~> 3.0)
|
115
|
+
rubocop (~> 0.58)
|
116
|
+
rubocop-rspec (~> 1.28.0)
|
117
|
+
sidekiq (= 3.3.1)
|
118
|
+
sidekiq-prometheus-exporter!
|
119
|
+
sinatra
|
120
|
+
slim
|
121
|
+
timecop (~> 0.9)
|
122
|
+
|
123
|
+
BUNDLED WITH
|
124
|
+
2.1.4
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
sidekiq-prometheus-exporter (0.1.
|
4
|
+
sidekiq-prometheus-exporter (0.1.15)
|
5
5
|
sidekiq (>= 3.3.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
thor (>= 0.14.0)
|
14
14
|
ast (2.4.0)
|
15
15
|
byebug (10.0.2)
|
16
|
-
celluloid (0.17.
|
16
|
+
celluloid (0.17.4)
|
17
17
|
celluloid-essentials
|
18
18
|
celluloid-extras
|
19
19
|
celluloid-fsm
|
@@ -30,62 +30,63 @@ GEM
|
|
30
30
|
timers (>= 4.1.1)
|
31
31
|
celluloid-supervision (0.20.6)
|
32
32
|
timers (>= 4.1.1)
|
33
|
-
codeclimate-test-reporter (1.0.
|
33
|
+
codeclimate-test-reporter (1.0.9)
|
34
34
|
simplecov (<= 0.13)
|
35
35
|
coderay (1.1.2)
|
36
|
-
concurrent-ruby (1.
|
37
|
-
connection_pool (2.2.
|
36
|
+
concurrent-ruby (1.1.6)
|
37
|
+
connection_pool (2.2.3)
|
38
38
|
diff-lcs (1.3)
|
39
39
|
docile (1.1.5)
|
40
|
-
|
41
|
-
jaro_winkler (1.5.1)
|
40
|
+
jaro_winkler (1.5.4)
|
42
41
|
json (1.8.6)
|
43
|
-
method_source (0.9.
|
44
|
-
mustermann (1.
|
45
|
-
|
46
|
-
|
42
|
+
method_source (0.9.2)
|
43
|
+
mustermann (1.1.1)
|
44
|
+
ruby2_keywords (~> 0.0.1)
|
45
|
+
parallel (1.19.1)
|
46
|
+
parser (2.7.0.4)
|
47
47
|
ast (~> 2.4.0)
|
48
|
-
|
49
|
-
pry (0.11.3)
|
48
|
+
pry (0.12.2)
|
50
49
|
coderay (~> 1.1.0)
|
51
50
|
method_source (~> 0.9.0)
|
52
51
|
pry-byebug (3.6.0)
|
53
52
|
byebug (~> 10.0)
|
54
53
|
pry (~> 0.10)
|
55
|
-
rack (2.
|
56
|
-
rack-protection (2.0.
|
54
|
+
rack (2.2.2)
|
55
|
+
rack-protection (2.0.8.1)
|
57
56
|
rack
|
58
|
-
rack-test (
|
57
|
+
rack-test (1.1.0)
|
59
58
|
rack (>= 1.0, < 3)
|
60
59
|
rainbow (3.0.0)
|
61
|
-
rake (
|
60
|
+
rake (13.0.1)
|
62
61
|
redis (3.3.5)
|
63
62
|
redis-namespace (1.6.0)
|
64
63
|
redis (>= 3.0.4)
|
65
|
-
|
66
|
-
|
67
|
-
rspec-
|
68
|
-
rspec-
|
69
|
-
|
70
|
-
|
71
|
-
|
64
|
+
rexml (3.2.4)
|
65
|
+
rspec (3.9.0)
|
66
|
+
rspec-core (~> 3.9.0)
|
67
|
+
rspec-expectations (~> 3.9.0)
|
68
|
+
rspec-mocks (~> 3.9.0)
|
69
|
+
rspec-core (3.9.1)
|
70
|
+
rspec-support (~> 3.9.1)
|
71
|
+
rspec-expectations (3.9.0)
|
72
72
|
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
-
rspec-support (~> 3.
|
74
|
-
rspec-mocks (3.
|
73
|
+
rspec-support (~> 3.9.0)
|
74
|
+
rspec-mocks (3.9.1)
|
75
75
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-support (3.
|
78
|
-
rubocop (0.
|
76
|
+
rspec-support (~> 3.9.0)
|
77
|
+
rspec-support (3.9.2)
|
78
|
+
rubocop (0.80.1)
|
79
79
|
jaro_winkler (~> 1.5.1)
|
80
80
|
parallel (~> 1.10)
|
81
|
-
parser (>= 2.
|
82
|
-
powerpack (~> 0.1)
|
81
|
+
parser (>= 2.7.0.1)
|
83
82
|
rainbow (>= 2.2.2, < 4.0)
|
83
|
+
rexml
|
84
84
|
ruby-progressbar (~> 1.7)
|
85
|
-
unicode-display_width (
|
85
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
86
86
|
rubocop-rspec (1.28.0)
|
87
87
|
rubocop (>= 0.58.0)
|
88
|
-
ruby-progressbar (1.10.
|
88
|
+
ruby-progressbar (1.10.1)
|
89
|
+
ruby2_keywords (0.0.2)
|
89
90
|
sidekiq (3.5.4)
|
90
91
|
celluloid (~> 0.17.2)
|
91
92
|
connection_pool (~> 2.2, >= 2.2.0)
|
@@ -97,34 +98,34 @@ GEM
|
|
97
98
|
json (>= 1.8, < 3)
|
98
99
|
simplecov-html (~> 0.10.0)
|
99
100
|
simplecov-html (0.10.2)
|
100
|
-
sinatra (2.0.
|
101
|
+
sinatra (2.0.8.1)
|
101
102
|
mustermann (~> 1.0)
|
102
103
|
rack (~> 2.0)
|
103
|
-
rack-protection (= 2.0.
|
104
|
+
rack-protection (= 2.0.8.1)
|
104
105
|
tilt (~> 2.0)
|
105
106
|
slim (4.0.1)
|
106
107
|
temple (>= 0.7.6, < 0.9)
|
107
108
|
tilt (>= 2.0.6, < 2.1)
|
108
|
-
temple (0.8.
|
109
|
-
thor (0.
|
110
|
-
tilt (2.0.
|
109
|
+
temple (0.8.2)
|
110
|
+
thor (1.0.1)
|
111
|
+
tilt (2.0.10)
|
111
112
|
timecop (0.9.1)
|
112
|
-
timers (4.
|
113
|
-
|
114
|
-
unicode-display_width (1.4.0)
|
113
|
+
timers (4.3.2)
|
114
|
+
unicode-display_width (1.6.1)
|
115
115
|
|
116
116
|
PLATFORMS
|
117
117
|
ruby
|
118
118
|
|
119
119
|
DEPENDENCIES
|
120
120
|
appraisal (~> 2.2)
|
121
|
-
bundler (~> 1
|
121
|
+
bundler (~> 2.1)
|
122
122
|
codeclimate-test-reporter (~> 1.0)
|
123
123
|
concurrent-ruby
|
124
124
|
pry-byebug (~> 3.6)
|
125
|
-
rack-test (~>
|
126
|
-
rake (~>
|
127
|
-
redis (
|
125
|
+
rack-test (~> 1.1)
|
126
|
+
rake (~> 13.0)
|
127
|
+
redis (~> 3.3)
|
128
|
+
redis-namespace (< 1.7.0)
|
128
129
|
rspec (~> 3.0)
|
129
130
|
rubocop (~> 0.58)
|
130
131
|
rubocop-rspec (~> 1.28.0)
|
@@ -135,4 +136,4 @@ DEPENDENCIES
|
|
135
136
|
timecop (~> 0.9)
|
136
137
|
|
137
138
|
BUNDLED WITH
|
138
|
-
1.
|
139
|
+
2.1.4
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
sidekiq-prometheus-exporter (0.1.
|
4
|
+
sidekiq-prometheus-exporter (0.1.15)
|
5
5
|
sidekiq (>= 3.3.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -13,58 +13,58 @@ GEM
|
|
13
13
|
thor (>= 0.14.0)
|
14
14
|
ast (2.4.0)
|
15
15
|
byebug (10.0.2)
|
16
|
-
codeclimate-test-reporter (1.0.
|
16
|
+
codeclimate-test-reporter (1.0.9)
|
17
17
|
simplecov (<= 0.13)
|
18
18
|
coderay (1.1.2)
|
19
|
-
concurrent-ruby (1.
|
20
|
-
connection_pool (2.2.
|
19
|
+
concurrent-ruby (1.1.8)
|
20
|
+
connection_pool (2.2.3)
|
21
21
|
diff-lcs (1.3)
|
22
22
|
docile (1.1.5)
|
23
|
-
jaro_winkler (1.5.
|
24
|
-
json (2.
|
25
|
-
method_source (0.9.
|
26
|
-
parallel (1.
|
27
|
-
parser (2.
|
23
|
+
jaro_winkler (1.5.4)
|
24
|
+
json (2.3.0)
|
25
|
+
method_source (0.9.2)
|
26
|
+
parallel (1.19.1)
|
27
|
+
parser (2.7.0.4)
|
28
28
|
ast (~> 2.4.0)
|
29
|
-
|
30
|
-
pry (0.11.3)
|
29
|
+
pry (0.12.2)
|
31
30
|
coderay (~> 1.1.0)
|
32
31
|
method_source (~> 0.9.0)
|
33
32
|
pry-byebug (3.6.0)
|
34
33
|
byebug (~> 10.0)
|
35
34
|
pry (~> 0.10)
|
36
|
-
rack (2.
|
37
|
-
rack-protection (2.0
|
35
|
+
rack (2.2.3)
|
36
|
+
rack-protection (2.1.0)
|
38
37
|
rack
|
39
|
-
rack-test (
|
38
|
+
rack-test (1.1.0)
|
40
39
|
rack (>= 1.0, < 3)
|
41
40
|
rainbow (3.0.0)
|
42
|
-
rake (
|
41
|
+
rake (13.0.1)
|
43
42
|
redis (3.3.5)
|
44
|
-
|
45
|
-
|
46
|
-
rspec-
|
47
|
-
rspec-
|
48
|
-
|
49
|
-
|
50
|
-
|
43
|
+
rexml (3.2.4)
|
44
|
+
rspec (3.9.0)
|
45
|
+
rspec-core (~> 3.9.0)
|
46
|
+
rspec-expectations (~> 3.9.0)
|
47
|
+
rspec-mocks (~> 3.9.0)
|
48
|
+
rspec-core (3.9.1)
|
49
|
+
rspec-support (~> 3.9.1)
|
50
|
+
rspec-expectations (3.9.0)
|
51
51
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-mocks (3.
|
52
|
+
rspec-support (~> 3.9.0)
|
53
|
+
rspec-mocks (3.9.1)
|
54
54
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-support (3.
|
57
|
-
rubocop (0.
|
55
|
+
rspec-support (~> 3.9.0)
|
56
|
+
rspec-support (3.9.2)
|
57
|
+
rubocop (0.80.1)
|
58
58
|
jaro_winkler (~> 1.5.1)
|
59
59
|
parallel (~> 1.10)
|
60
|
-
parser (>= 2.
|
61
|
-
powerpack (~> 0.1)
|
60
|
+
parser (>= 2.7.0.1)
|
62
61
|
rainbow (>= 2.2.2, < 4.0)
|
62
|
+
rexml
|
63
63
|
ruby-progressbar (~> 1.7)
|
64
|
-
unicode-display_width (
|
64
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
65
65
|
rubocop-rspec (1.28.0)
|
66
66
|
rubocop (>= 0.58.0)
|
67
|
-
ruby-progressbar (1.10.
|
67
|
+
ruby-progressbar (1.10.1)
|
68
68
|
sidekiq (4.2.10)
|
69
69
|
concurrent-ruby (~> 1.0)
|
70
70
|
connection_pool (~> 2.2, >= 2.2.0)
|
@@ -75,21 +75,21 @@ GEM
|
|
75
75
|
json (>= 1.8, < 3)
|
76
76
|
simplecov-html (~> 0.10.0)
|
77
77
|
simplecov-html (0.10.2)
|
78
|
-
thor (0.
|
78
|
+
thor (1.0.1)
|
79
79
|
timecop (0.9.1)
|
80
|
-
unicode-display_width (1.
|
80
|
+
unicode-display_width (1.6.1)
|
81
81
|
|
82
82
|
PLATFORMS
|
83
83
|
ruby
|
84
84
|
|
85
85
|
DEPENDENCIES
|
86
86
|
appraisal (~> 2.2)
|
87
|
-
bundler (~> 1
|
87
|
+
bundler (~> 2.1)
|
88
88
|
codeclimate-test-reporter (~> 1.0)
|
89
89
|
pry-byebug (~> 3.6)
|
90
|
-
rack-test (~>
|
91
|
-
rake (~>
|
92
|
-
redis (
|
90
|
+
rack-test (~> 1.1)
|
91
|
+
rake (~> 13.0)
|
92
|
+
redis (~> 3.3)
|
93
93
|
rspec (~> 3.0)
|
94
94
|
rubocop (~> 0.58)
|
95
95
|
rubocop-rspec (~> 1.28.0)
|
@@ -98,4 +98,4 @@ DEPENDENCIES
|
|
98
98
|
timecop (~> 0.9)
|
99
99
|
|
100
100
|
BUNDLED WITH
|
101
|
-
1.
|
101
|
+
2.1.4
|