sidekiq-prometheus-exporter 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8465ee046fa10f2c5144bb12fab3a77aa6233253
4
- data.tar.gz: a00265012ab3169bbd9d3eabe8bc4c65b0bc01a3
2
+ SHA256:
3
+ metadata.gz: dcfe9974eac840b24b087bccb243d76860720cdf310938312c6ac04ac1b35a1d
4
+ data.tar.gz: 54afbfbf44d8a90b031b28df3e64bb670049b0cf6d544e83fc6684d14ea462c8
5
5
  SHA512:
6
- metadata.gz: 5719faa2d228e1d405fb82e9e803d3f1df88cac8cc0aa123c8d9941c5ecb7ddd16f0ee2c0b6f2dcfa5f20ffaa6ed1aad8cd6c6979bdbc6a9aa26b3407b2b2707
7
- data.tar.gz: 57e38e7abe679694b57dcf36bf60cfd81850c71798b4899a1e0e90c024b4313141f6ff1a71c95c57d8eb43800e8a48ab4c99cb7d8e154817f0b31c1bf1abdfab
6
+ metadata.gz: 43ce7aeeda0b7fd9e74df39a62b86fa70c8f8a17d7b6d5ab7baf1e9d24cd25e94c43c0904db86889b029282fc6b3a37be743cfba929c058e68e6794dcd8c26be
7
+ data.tar.gz: 41bec0d4878d351ee281d7bc2e0d75c7e8d9315dda6567b9afc10cbff2af5d8c433b86012aec3ba38b5a4196a6d197844731cba3c38e848f4cde862d719c8ac6
data/.gitignore CHANGED
@@ -1,4 +1,3 @@
1
- /.bundle/
2
1
  /.yardoc
3
2
  /_yardoc/
4
3
  /coverage/
@@ -9,6 +8,9 @@
9
8
  /Gemfile.lock
10
9
  /.ruby-version
11
10
 
11
+ # Global ignore of bundler config
12
+ .bundle/
13
+
12
14
  # rspec failure tracking
13
15
  .rspec_status
14
16
 
@@ -1,23 +1,72 @@
1
- sudo: false
1
+ os: linux
2
2
  language: ruby
3
3
  rvm:
4
- - 2.2.10
5
4
  - 2.3.8
6
- - 2.4.6
7
- - 2.5.5
8
- - 2.6.2
5
+ - 2.4.9
6
+ - 2.5.7
7
+ - 2.6.5
8
+ - 2.7.0
9
+ - ruby-head
10
+ notifications:
11
+ email: false
12
+
9
13
  gemfile:
10
14
  - gemfiles/sidekiq_3.3.1.gemfile
11
15
  - gemfiles/sidekiq_3.x.gemfile
12
16
  - gemfiles/sidekiq_4.x.gemfile
13
17
  - gemfiles/sidekiq_5.x.gemfile
14
- addons:
15
- code_climate:
16
- repo_token: $CODECLIMATE_REPO_TOKEN
17
- notifications:
18
- email: false
18
+ - gemfiles/sidekiq_6.x.gemfile
19
+ - gemfiles/sidekiq_head.gemfile
20
+
21
+ jobs:
22
+ include:
23
+ - rvm: "2.6.5"
24
+ gemfile: "gemfiles/sidekiq_5.x.gemfile"
25
+ env:
26
+ - CODECLIMATE_REPORT=true
27
+ exclude:
28
+ - rvm: "2.3.8"
29
+ gemfile: "gemfiles/sidekiq_6.x.gemfile"
30
+ - rvm: "2.4.9"
31
+ gemfile: "gemfiles/sidekiq_6.x.gemfile"
32
+ - rvm: "2.3.8"
33
+ gemfile: "gemfiles/sidekiq_head.gemfile"
34
+ - rvm: "2.4.9"
35
+ gemfile: "gemfiles/sidekiq_head.gemfile"
36
+ - rvm: "2.5.7"
37
+ gemfile: "gemfiles/sidekiq_head.gemfile"
38
+ - rvm: "2.6.5"
39
+ gemfile: "gemfiles/sidekiq_head.gemfile"
40
+ - rvm: "2.7.0"
41
+ gemfile: "gemfiles/sidekiq_head.gemfile"
42
+ allow_failures:
43
+ - rvm: "ruby-head"
44
+ gemfile: "gemfiles/sidekiq_head.gemfile"
45
+
46
+ cache:
47
+ directories:
48
+ - ./vendor
49
+
50
+ env:
51
+ global:
52
+ - CC_TEST_REPORTER_ID=$CODECLIMATE_REPO_TOKEN
53
+
54
+ before_install:
55
+ - gem install bundler -v '~> 2.1'
19
56
 
20
- cache: bundler
21
- before_install: gem install bundler -v 1.16.5
22
- after_success: bundle exec codeclimate-test-reporter
23
- script: bundle exec rake spec
57
+ before_script:
58
+ - if [ ! -f ./vendor/cc-test-reporter ]; then
59
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./vendor/cc-test-reporter;
60
+ chmod +x ./vendor/cc-test-reporter;
61
+ fi
62
+ - if [ ! -z "$CODECLIMATE_REPORT" ]; then
63
+ echo "Start recording Codeclimate test coverage";
64
+ ./vendor/cc-test-reporter before-build;
65
+ fi
66
+ script:
67
+ - bundle exec rake spec
68
+ after_success:
69
+ - if [ ! -z "$CODECLIMATE_REPORT" ]; then
70
+ echo "Finish recording Codeclimate test coverage";
71
+ ./vendor/cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
72
+ fi
data/Appraisals CHANGED
@@ -1,6 +1,7 @@
1
1
  appraise 'sidekiq-3.3.1' do
2
2
  gem 'slim'
3
- gem 'redis', '>= 3.3.5'
3
+ gem 'redis', '~> 3.3'
4
+ gem 'redis-namespace', '< 1.7.0'
4
5
  gem 'sinatra'
5
6
  gem 'concurrent-ruby'
6
7
  gem 'sidekiq', '= 3.3.1'
@@ -8,18 +9,30 @@ end
8
9
 
9
10
  appraise 'sidekiq-3.x' do
10
11
  gem 'slim'
11
- gem 'redis', '>= 3.3.5'
12
+ gem 'redis', '~> 3.3'
13
+ gem 'redis-namespace', '< 1.7.0'
12
14
  gem 'sinatra'
13
15
  gem 'concurrent-ruby'
14
16
  gem 'sidekiq', '~> 3.0'
15
17
  end
16
18
 
17
19
  appraise 'sidekiq-4.x' do
18
- gem 'redis', '>= 3.3.5'
20
+ gem 'redis', '~> 3.3'
19
21
  gem 'sidekiq', '~> 4.0'
20
22
  end
21
23
 
22
24
  appraise 'sidekiq-5.x' do
23
- gem 'redis', '>= 3.3.5'
25
+ gem 'redis', '~> 3.3'
24
26
  gem 'sidekiq', '~> 5.0'
25
27
  end
28
+
29
+ appraise 'sidekiq-6.x' do
30
+ gem 'redis', '~> 4.1'
31
+ gem 'sidekiq', '~> 6.0'
32
+ end
33
+
34
+ appraise 'sidekiq-head' do
35
+ gem 'rack', '>= 2', github: 'rack/rack'
36
+ gem 'redis', '>= 4', github: 'redis/redis-rb'
37
+ gem 'sidekiq', '>= 6', github: 'mperham/sidekiq'
38
+ end
data/README.md CHANGED
@@ -150,6 +150,8 @@ Sidekiq::Prometheus::Exporter.configure do |config|
150
150
  end
151
151
  ```
152
152
 
153
+ :bulb: if you did't find the contrib you would like to see, don't hesitate to [open an issue](https://github.com/Strech/sidekiq-prometheus-exporter/issues/new) and describe what do you think we should export.
154
+
153
155
  # Tips&Tricks
154
156
 
155
157
  If you want to see at the exporter startup time a banner about which exporters
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: '3.4'
2
+ version: "3.4"
3
3
 
4
4
  services:
5
5
  metrics:
@@ -31,7 +31,7 @@ services:
31
31
  - metrics
32
32
 
33
33
  grafana:
34
- image: grafana/grafana
34
+ image: grafana/grafana:6.3.4
35
35
  volumes:
36
36
  - grafana-data:/var/lib/grafana
37
37
  ports:
Binary file
@@ -3,7 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "slim"
6
- gem "redis", ">= 3.3.5"
6
+ gem "redis", "~> 3.3"
7
+ gem "redis-namespace", "< 1.7.0"
7
8
  gem "sinatra"
8
9
  gem "concurrent-ruby"
9
10
  gem "sidekiq", "= 3.3.1"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.12)
4
+ sidekiq-prometheus-exporter (0.1.13)
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.3)
16
+ celluloid (0.17.4)
17
17
  celluloid-essentials
18
18
  celluloid-extras
19
19
  celluloid-fsm
@@ -30,62 +30,61 @@ 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.8)
33
+ codeclimate-test-reporter (1.0.9)
34
34
  simplecov (<= 0.13)
35
35
  coderay (1.1.2)
36
- concurrent-ruby (1.0.5)
36
+ concurrent-ruby (1.1.5)
37
37
  connection_pool (2.2.2)
38
38
  diff-lcs (1.3)
39
39
  docile (1.1.5)
40
- hitimes (1.3.0)
41
- jaro_winkler (1.5.1)
42
- json (2.1.0)
43
- method_source (0.9.0)
44
- mustermann (1.0.3)
45
- parallel (1.12.1)
46
- parser (2.5.1.2)
40
+ jaro_winkler (1.5.4)
41
+ json (2.3.0)
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.2)
47
47
  ast (~> 2.4.0)
48
- powerpack (0.1.2)
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.0.5)
56
- rack-protection (2.0.4)
54
+ rack (2.1.2)
55
+ rack-protection (2.0.8.1)
57
56
  rack
58
- rack-test (0.8.3)
57
+ rack-test (1.1.0)
59
58
  rack (>= 1.0, < 3)
60
59
  rainbow (3.0.0)
61
60
  rake (10.5.0)
62
- redis (4.0.2)
61
+ redis (3.3.5)
63
62
  redis-namespace (1.6.0)
64
63
  redis (>= 3.0.4)
65
- rspec (3.8.0)
66
- rspec-core (~> 3.8.0)
67
- rspec-expectations (~> 3.8.0)
68
- rspec-mocks (~> 3.8.0)
69
- rspec-core (3.8.0)
70
- rspec-support (~> 3.8.0)
71
- rspec-expectations (3.8.1)
64
+ rspec (3.9.0)
65
+ rspec-core (~> 3.9.0)
66
+ rspec-expectations (~> 3.9.0)
67
+ rspec-mocks (~> 3.9.0)
68
+ rspec-core (3.9.1)
69
+ rspec-support (~> 3.9.1)
70
+ rspec-expectations (3.9.0)
72
71
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.8.0)
74
- rspec-mocks (3.8.0)
72
+ rspec-support (~> 3.9.0)
73
+ rspec-mocks (3.9.1)
75
74
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.8.0)
77
- rspec-support (3.8.0)
78
- rubocop (0.59.2)
75
+ rspec-support (~> 3.9.0)
76
+ rspec-support (3.9.2)
77
+ rubocop (0.79.0)
79
78
  jaro_winkler (~> 1.5.1)
80
79
  parallel (~> 1.10)
81
- parser (>= 2.5, != 2.5.1.1)
82
- powerpack (~> 0.1)
80
+ parser (>= 2.7.0.1)
83
81
  rainbow (>= 2.2.2, < 4.0)
84
82
  ruby-progressbar (~> 1.7)
85
- unicode-display_width (~> 1.0, >= 1.0.1)
83
+ unicode-display_width (>= 1.4.0, < 1.7)
86
84
  rubocop-rspec (1.28.0)
87
85
  rubocop (>= 0.58.0)
88
- ruby-progressbar (1.10.0)
86
+ ruby-progressbar (1.10.1)
87
+ ruby2_keywords (0.0.2)
89
88
  sidekiq (3.3.1)
90
89
  celluloid (>= 0.16.0)
91
90
  connection_pool (>= 2.1.1)
@@ -97,34 +96,34 @@ GEM
97
96
  json (>= 1.8, < 3)
98
97
  simplecov-html (~> 0.10.0)
99
98
  simplecov-html (0.10.2)
100
- sinatra (2.0.4)
99
+ sinatra (2.0.8.1)
101
100
  mustermann (~> 1.0)
102
101
  rack (~> 2.0)
103
- rack-protection (= 2.0.4)
102
+ rack-protection (= 2.0.8.1)
104
103
  tilt (~> 2.0)
105
104
  slim (4.0.1)
106
105
  temple (>= 0.7.6, < 0.9)
107
106
  tilt (>= 2.0.6, < 2.1)
108
- temple (0.8.0)
109
- thor (0.20.0)
110
- tilt (2.0.8)
107
+ temple (0.8.2)
108
+ thor (1.0.1)
109
+ tilt (2.0.10)
111
110
  timecop (0.9.1)
112
- timers (4.1.2)
113
- hitimes
114
- unicode-display_width (1.4.0)
111
+ timers (4.3.0)
112
+ unicode-display_width (1.6.1)
115
113
 
116
114
  PLATFORMS
117
115
  ruby
118
116
 
119
117
  DEPENDENCIES
120
118
  appraisal (~> 2.2)
121
- bundler (~> 1.16)
119
+ bundler (~> 2.1)
122
120
  codeclimate-test-reporter (~> 1.0)
123
121
  concurrent-ruby
124
- pry-byebug (~> 3.6)
125
- rack-test (~> 0.8)
122
+ pry-byebug (~> 3.6.0)
123
+ rack-test (~> 1.1)
126
124
  rake (~> 10.0)
127
- redis (>= 3.3.5)
125
+ redis (~> 3.3)
126
+ redis-namespace (< 1.7.0)
128
127
  rspec (~> 3.0)
129
128
  rubocop (~> 0.58)
130
129
  rubocop-rspec (~> 1.28.0)
@@ -135,4 +134,4 @@ DEPENDENCIES
135
134
  timecop (~> 0.9)
136
135
 
137
136
  BUNDLED WITH
138
- 1.16.5
137
+ 2.1.4
@@ -3,7 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "slim"
6
- gem "redis", ">= 3.3.5"
6
+ gem "redis", "~> 3.3"
7
+ gem "redis-namespace", "< 1.7.0"
7
8
  gem "sinatra"
8
9
  gem "concurrent-ruby"
9
10
  gem "sidekiq", "~> 3.0"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.12)
4
+ sidekiq-prometheus-exporter (0.1.13)
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.3)
16
+ celluloid (0.17.4)
17
17
  celluloid-essentials
18
18
  celluloid-extras
19
19
  celluloid-fsm
@@ -30,62 +30,61 @@ 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.8)
33
+ codeclimate-test-reporter (1.0.9)
34
34
  simplecov (<= 0.13)
35
35
  coderay (1.1.2)
36
- concurrent-ruby (1.0.5)
36
+ concurrent-ruby (1.1.5)
37
37
  connection_pool (2.2.2)
38
38
  diff-lcs (1.3)
39
39
  docile (1.1.5)
40
- hitimes (1.3.0)
41
- jaro_winkler (1.5.1)
40
+ jaro_winkler (1.5.4)
42
41
  json (1.8.6)
43
- method_source (0.9.0)
44
- mustermann (1.0.3)
45
- parallel (1.12.1)
46
- parser (2.5.1.2)
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.2)
47
47
  ast (~> 2.4.0)
48
- powerpack (0.1.2)
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.0.5)
56
- rack-protection (2.0.4)
54
+ rack (2.1.2)
55
+ rack-protection (2.0.8.1)
57
56
  rack
58
- rack-test (0.8.3)
57
+ rack-test (1.1.0)
59
58
  rack (>= 1.0, < 3)
60
59
  rainbow (3.0.0)
61
60
  rake (10.5.0)
62
61
  redis (3.3.5)
63
62
  redis-namespace (1.6.0)
64
63
  redis (>= 3.0.4)
65
- rspec (3.8.0)
66
- rspec-core (~> 3.8.0)
67
- rspec-expectations (~> 3.8.0)
68
- rspec-mocks (~> 3.8.0)
69
- rspec-core (3.8.0)
70
- rspec-support (~> 3.8.0)
71
- rspec-expectations (3.8.1)
64
+ rspec (3.9.0)
65
+ rspec-core (~> 3.9.0)
66
+ rspec-expectations (~> 3.9.0)
67
+ rspec-mocks (~> 3.9.0)
68
+ rspec-core (3.9.1)
69
+ rspec-support (~> 3.9.1)
70
+ rspec-expectations (3.9.0)
72
71
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.8.0)
74
- rspec-mocks (3.8.0)
72
+ rspec-support (~> 3.9.0)
73
+ rspec-mocks (3.9.1)
75
74
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.8.0)
77
- rspec-support (3.8.0)
78
- rubocop (0.59.2)
75
+ rspec-support (~> 3.9.0)
76
+ rspec-support (3.9.2)
77
+ rubocop (0.79.0)
79
78
  jaro_winkler (~> 1.5.1)
80
79
  parallel (~> 1.10)
81
- parser (>= 2.5, != 2.5.1.1)
82
- powerpack (~> 0.1)
80
+ parser (>= 2.7.0.1)
83
81
  rainbow (>= 2.2.2, < 4.0)
84
82
  ruby-progressbar (~> 1.7)
85
- unicode-display_width (~> 1.0, >= 1.0.1)
83
+ unicode-display_width (>= 1.4.0, < 1.7)
86
84
  rubocop-rspec (1.28.0)
87
85
  rubocop (>= 0.58.0)
88
- ruby-progressbar (1.10.0)
86
+ ruby-progressbar (1.10.1)
87
+ ruby2_keywords (0.0.2)
89
88
  sidekiq (3.5.4)
90
89
  celluloid (~> 0.17.2)
91
90
  connection_pool (~> 2.2, >= 2.2.0)
@@ -97,34 +96,34 @@ GEM
97
96
  json (>= 1.8, < 3)
98
97
  simplecov-html (~> 0.10.0)
99
98
  simplecov-html (0.10.2)
100
- sinatra (2.0.4)
99
+ sinatra (2.0.8.1)
101
100
  mustermann (~> 1.0)
102
101
  rack (~> 2.0)
103
- rack-protection (= 2.0.4)
102
+ rack-protection (= 2.0.8.1)
104
103
  tilt (~> 2.0)
105
104
  slim (4.0.1)
106
105
  temple (>= 0.7.6, < 0.9)
107
106
  tilt (>= 2.0.6, < 2.1)
108
- temple (0.8.0)
109
- thor (0.20.0)
110
- tilt (2.0.8)
107
+ temple (0.8.2)
108
+ thor (1.0.1)
109
+ tilt (2.0.10)
111
110
  timecop (0.9.1)
112
- timers (4.1.2)
113
- hitimes
114
- unicode-display_width (1.4.0)
111
+ timers (4.3.0)
112
+ unicode-display_width (1.6.1)
115
113
 
116
114
  PLATFORMS
117
115
  ruby
118
116
 
119
117
  DEPENDENCIES
120
118
  appraisal (~> 2.2)
121
- bundler (~> 1.16)
119
+ bundler (~> 2.1)
122
120
  codeclimate-test-reporter (~> 1.0)
123
121
  concurrent-ruby
124
- pry-byebug (~> 3.6)
125
- rack-test (~> 0.8)
122
+ pry-byebug (~> 3.6.0)
123
+ rack-test (~> 1.1)
126
124
  rake (~> 10.0)
127
- redis (>= 3.3.5)
125
+ redis (~> 3.3)
126
+ redis-namespace (< 1.7.0)
128
127
  rspec (~> 3.0)
129
128
  rubocop (~> 0.58)
130
129
  rubocop-rspec (~> 1.28.0)
@@ -135,4 +134,4 @@ DEPENDENCIES
135
134
  timecop (~> 0.9)
136
135
 
137
136
  BUNDLED WITH
138
- 1.16.5
137
+ 2.1.4
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "redis", ">= 3.3.5"
5
+ gem "redis", "~> 3.3"
6
6
  gem "sidekiq", "~> 4.0"
7
7
 
8
8
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.12)
4
+ sidekiq-prometheus-exporter (0.1.13)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -13,58 +13,56 @@ 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.8)
16
+ codeclimate-test-reporter (1.0.9)
17
17
  simplecov (<= 0.13)
18
18
  coderay (1.1.2)
19
- concurrent-ruby (1.0.5)
19
+ concurrent-ruby (1.1.5)
20
20
  connection_pool (2.2.2)
21
21
  diff-lcs (1.3)
22
22
  docile (1.1.5)
23
- jaro_winkler (1.5.1)
24
- json (2.1.0)
25
- method_source (0.9.0)
26
- parallel (1.12.1)
27
- parser (2.5.1.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.2)
28
28
  ast (~> 2.4.0)
29
- powerpack (0.1.2)
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.0.5)
37
- rack-protection (2.0.4)
35
+ rack (2.1.2)
36
+ rack-protection (2.0.8.1)
38
37
  rack
39
- rack-test (0.8.3)
38
+ rack-test (1.1.0)
40
39
  rack (>= 1.0, < 3)
41
40
  rainbow (3.0.0)
42
41
  rake (10.5.0)
43
42
  redis (3.3.5)
44
- rspec (3.8.0)
45
- rspec-core (~> 3.8.0)
46
- rspec-expectations (~> 3.8.0)
47
- rspec-mocks (~> 3.8.0)
48
- rspec-core (3.8.0)
49
- rspec-support (~> 3.8.0)
50
- rspec-expectations (3.8.1)
43
+ rspec (3.9.0)
44
+ rspec-core (~> 3.9.0)
45
+ rspec-expectations (~> 3.9.0)
46
+ rspec-mocks (~> 3.9.0)
47
+ rspec-core (3.9.1)
48
+ rspec-support (~> 3.9.1)
49
+ rspec-expectations (3.9.0)
51
50
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-mocks (3.8.0)
51
+ rspec-support (~> 3.9.0)
52
+ rspec-mocks (3.9.1)
54
53
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-support (3.8.0)
57
- rubocop (0.59.2)
54
+ rspec-support (~> 3.9.0)
55
+ rspec-support (3.9.2)
56
+ rubocop (0.79.0)
58
57
  jaro_winkler (~> 1.5.1)
59
58
  parallel (~> 1.10)
60
- parser (>= 2.5, != 2.5.1.1)
61
- powerpack (~> 0.1)
59
+ parser (>= 2.7.0.1)
62
60
  rainbow (>= 2.2.2, < 4.0)
63
61
  ruby-progressbar (~> 1.7)
64
- unicode-display_width (~> 1.0, >= 1.0.1)
62
+ unicode-display_width (>= 1.4.0, < 1.7)
65
63
  rubocop-rspec (1.28.0)
66
64
  rubocop (>= 0.58.0)
67
- ruby-progressbar (1.10.0)
65
+ ruby-progressbar (1.10.1)
68
66
  sidekiq (4.2.10)
69
67
  concurrent-ruby (~> 1.0)
70
68
  connection_pool (~> 2.2, >= 2.2.0)
@@ -75,21 +73,21 @@ GEM
75
73
  json (>= 1.8, < 3)
76
74
  simplecov-html (~> 0.10.0)
77
75
  simplecov-html (0.10.2)
78
- thor (0.20.0)
76
+ thor (1.0.1)
79
77
  timecop (0.9.1)
80
- unicode-display_width (1.4.0)
78
+ unicode-display_width (1.6.1)
81
79
 
82
80
  PLATFORMS
83
81
  ruby
84
82
 
85
83
  DEPENDENCIES
86
84
  appraisal (~> 2.2)
87
- bundler (~> 1.16)
85
+ bundler (~> 2.1)
88
86
  codeclimate-test-reporter (~> 1.0)
89
- pry-byebug (~> 3.6)
90
- rack-test (~> 0.8)
87
+ pry-byebug (~> 3.6.0)
88
+ rack-test (~> 1.1)
91
89
  rake (~> 10.0)
92
- redis (>= 3.3.5)
90
+ redis (~> 3.3)
93
91
  rspec (~> 3.0)
94
92
  rubocop (~> 0.58)
95
93
  rubocop-rspec (~> 1.28.0)
@@ -98,4 +96,4 @@ DEPENDENCIES
98
96
  timecop (~> 0.9)
99
97
 
100
98
  BUNDLED WITH
101
- 1.16.5
99
+ 2.1.4
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "redis", ">= 3.3.5"
5
+ gem "redis", "~> 3.3"
6
6
  gem "sidekiq", "~> 5.0"
7
7
 
8
8
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.12)
4
+ sidekiq-prometheus-exporter (0.1.13)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -13,59 +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.8)
16
+ codeclimate-test-reporter (1.0.9)
17
17
  simplecov (<= 0.13)
18
18
  coderay (1.1.2)
19
19
  connection_pool (2.2.2)
20
20
  diff-lcs (1.3)
21
21
  docile (1.1.5)
22
- jaro_winkler (1.5.1)
23
- json (2.1.0)
24
- method_source (0.9.0)
25
- parallel (1.12.1)
26
- parser (2.5.1.2)
22
+ jaro_winkler (1.5.4)
23
+ json (2.3.0)
24
+ method_source (0.9.2)
25
+ parallel (1.19.1)
26
+ parser (2.7.0.2)
27
27
  ast (~> 2.4.0)
28
- powerpack (0.1.2)
29
- pry (0.11.3)
28
+ pry (0.12.2)
30
29
  coderay (~> 1.1.0)
31
30
  method_source (~> 0.9.0)
32
31
  pry-byebug (3.6.0)
33
32
  byebug (~> 10.0)
34
33
  pry (~> 0.10)
35
- rack (2.0.5)
36
- rack-protection (2.0.4)
34
+ rack (2.1.2)
35
+ rack-protection (2.0.8.1)
37
36
  rack
38
- rack-test (0.8.3)
37
+ rack-test (1.1.0)
39
38
  rack (>= 1.0, < 3)
40
39
  rainbow (3.0.0)
41
40
  rake (10.5.0)
42
- redis (4.0.2)
43
- rspec (3.8.0)
44
- rspec-core (~> 3.8.0)
45
- rspec-expectations (~> 3.8.0)
46
- rspec-mocks (~> 3.8.0)
47
- rspec-core (3.8.0)
48
- rspec-support (~> 3.8.0)
49
- rspec-expectations (3.8.1)
41
+ redis (3.3.5)
42
+ rspec (3.9.0)
43
+ rspec-core (~> 3.9.0)
44
+ rspec-expectations (~> 3.9.0)
45
+ rspec-mocks (~> 3.9.0)
46
+ rspec-core (3.9.1)
47
+ rspec-support (~> 3.9.1)
48
+ rspec-expectations (3.9.0)
50
49
  diff-lcs (>= 1.2.0, < 2.0)
51
- rspec-support (~> 3.8.0)
52
- rspec-mocks (3.8.0)
50
+ rspec-support (~> 3.9.0)
51
+ rspec-mocks (3.9.1)
53
52
  diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.8.0)
55
- rspec-support (3.8.0)
56
- rubocop (0.59.2)
53
+ rspec-support (~> 3.9.0)
54
+ rspec-support (3.9.2)
55
+ rubocop (0.79.0)
57
56
  jaro_winkler (~> 1.5.1)
58
57
  parallel (~> 1.10)
59
- parser (>= 2.5, != 2.5.1.1)
60
- powerpack (~> 0.1)
58
+ parser (>= 2.7.0.1)
61
59
  rainbow (>= 2.2.2, < 4.0)
62
60
  ruby-progressbar (~> 1.7)
63
- unicode-display_width (~> 1.0, >= 1.0.1)
61
+ unicode-display_width (>= 1.4.0, < 1.7)
64
62
  rubocop-rspec (1.28.0)
65
63
  rubocop (>= 0.58.0)
66
- ruby-progressbar (1.10.0)
67
- sidekiq (5.2.2)
64
+ ruby-progressbar (1.10.1)
65
+ sidekiq (5.2.7)
68
66
  connection_pool (~> 2.2, >= 2.2.2)
67
+ rack (>= 1.5.0)
69
68
  rack-protection (>= 1.5.0)
70
69
  redis (>= 3.3.5, < 5)
71
70
  simplecov (0.13.0)
@@ -73,21 +72,21 @@ GEM
73
72
  json (>= 1.8, < 3)
74
73
  simplecov-html (~> 0.10.0)
75
74
  simplecov-html (0.10.2)
76
- thor (0.20.0)
75
+ thor (1.0.1)
77
76
  timecop (0.9.1)
78
- unicode-display_width (1.4.0)
77
+ unicode-display_width (1.6.1)
79
78
 
80
79
  PLATFORMS
81
80
  ruby
82
81
 
83
82
  DEPENDENCIES
84
83
  appraisal (~> 2.2)
85
- bundler (~> 1.16)
84
+ bundler (~> 2.1)
86
85
  codeclimate-test-reporter (~> 1.0)
87
- pry-byebug (~> 3.6)
88
- rack-test (~> 0.8)
86
+ pry-byebug (~> 3.6.0)
87
+ rack-test (~> 1.1)
89
88
  rake (~> 10.0)
90
- redis (>= 3.3.5)
89
+ redis (~> 3.3)
91
90
  rspec (~> 3.0)
92
91
  rubocop (~> 0.58)
93
92
  rubocop-rspec (~> 1.28.0)
@@ -96,4 +95,4 @@ DEPENDENCIES
96
95
  timecop (~> 0.9)
97
96
 
98
97
  BUNDLED WITH
99
- 1.16.5
98
+ 2.1.4
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "redis", "~> 4.1"
6
+ gem "sidekiq", "~> 6.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,98 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ sidekiq-prometheus-exporter (0.1.13)
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
+ codeclimate-test-reporter (1.0.9)
17
+ simplecov (<= 0.13)
18
+ coderay (1.1.2)
19
+ connection_pool (2.2.2)
20
+ diff-lcs (1.3)
21
+ docile (1.1.5)
22
+ jaro_winkler (1.5.4)
23
+ json (2.3.0)
24
+ method_source (0.9.2)
25
+ parallel (1.19.1)
26
+ parser (2.7.0.2)
27
+ ast (~> 2.4.0)
28
+ pry (0.12.2)
29
+ coderay (~> 1.1.0)
30
+ method_source (~> 0.9.0)
31
+ pry-byebug (3.6.0)
32
+ byebug (~> 10.0)
33
+ pry (~> 0.10)
34
+ rack (2.1.2)
35
+ rack-protection (2.0.8.1)
36
+ rack
37
+ rack-test (1.1.0)
38
+ rack (>= 1.0, < 3)
39
+ rainbow (3.0.0)
40
+ rake (10.5.0)
41
+ redis (4.1.3)
42
+ rspec (3.9.0)
43
+ rspec-core (~> 3.9.0)
44
+ rspec-expectations (~> 3.9.0)
45
+ rspec-mocks (~> 3.9.0)
46
+ rspec-core (3.9.1)
47
+ rspec-support (~> 3.9.1)
48
+ rspec-expectations (3.9.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.9.0)
51
+ rspec-mocks (3.9.1)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.9.0)
54
+ rspec-support (3.9.2)
55
+ rubocop (0.79.0)
56
+ jaro_winkler (~> 1.5.1)
57
+ parallel (~> 1.10)
58
+ parser (>= 2.7.0.1)
59
+ rainbow (>= 2.2.2, < 4.0)
60
+ ruby-progressbar (~> 1.7)
61
+ unicode-display_width (>= 1.4.0, < 1.7)
62
+ rubocop-rspec (1.28.0)
63
+ rubocop (>= 0.58.0)
64
+ ruby-progressbar (1.10.1)
65
+ sidekiq (6.0.4)
66
+ connection_pool (>= 2.2.2)
67
+ rack (>= 2.0.0)
68
+ rack-protection (>= 2.0.0)
69
+ redis (>= 4.1.0)
70
+ simplecov (0.13.0)
71
+ docile (~> 1.1.0)
72
+ json (>= 1.8, < 3)
73
+ simplecov-html (~> 0.10.0)
74
+ simplecov-html (0.10.2)
75
+ thor (1.0.1)
76
+ timecop (0.9.1)
77
+ unicode-display_width (1.6.1)
78
+
79
+ PLATFORMS
80
+ ruby
81
+
82
+ DEPENDENCIES
83
+ appraisal (~> 2.2)
84
+ bundler (~> 2.1)
85
+ codeclimate-test-reporter (~> 1.0)
86
+ pry-byebug (~> 3.6.0)
87
+ rack-test (~> 1.1)
88
+ rake (~> 10.0)
89
+ redis (~> 4.1)
90
+ rspec (~> 3.0)
91
+ rubocop (~> 0.58)
92
+ rubocop-rspec (~> 1.28.0)
93
+ sidekiq (~> 6.0)
94
+ sidekiq-prometheus-exporter!
95
+ timecop (~> 0.9)
96
+
97
+ BUNDLED WITH
98
+ 2.1.4
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rack", ">= 2", git: "https://github.com/rack/rack"
6
+ gem "redis", ">= 4", git: "https://github.com/redis/redis-rb"
7
+ gem "sidekiq", ">= 6", git: "https://github.com/mperham/sidekiq"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,116 @@
1
+ GIT
2
+ remote: https://github.com/mperham/sidekiq
3
+ revision: 18b36dcb22163a64cf3910b1a976804675948c03
4
+ specs:
5
+ sidekiq (6.0.6)
6
+ connection_pool (>= 2.2.2)
7
+ rack (~> 2.0)
8
+ rack-protection (>= 2.0.0)
9
+ redis (>= 4.1.0)
10
+
11
+ GIT
12
+ remote: https://github.com/rack/rack
13
+ revision: 6196377654b7ff7ce7abaecea62bb285d77d53aa
14
+ specs:
15
+ rack (2.3.0)
16
+
17
+ GIT
18
+ remote: https://github.com/redis/redis-rb
19
+ revision: 41395e9a1923fe72fad8403e60cb98627d515a85
20
+ specs:
21
+ redis (4.1.3)
22
+
23
+ PATH
24
+ remote: ..
25
+ specs:
26
+ sidekiq-prometheus-exporter (0.1.13)
27
+ sidekiq (>= 3.3.1)
28
+
29
+ GEM
30
+ remote: https://rubygems.org/
31
+ specs:
32
+ appraisal (2.2.0)
33
+ bundler
34
+ rake
35
+ thor (>= 0.14.0)
36
+ ast (2.4.0)
37
+ byebug (10.0.2)
38
+ codeclimate-test-reporter (1.0.9)
39
+ simplecov (<= 0.13)
40
+ coderay (1.1.2)
41
+ connection_pool (2.2.2)
42
+ diff-lcs (1.3)
43
+ docile (1.1.5)
44
+ jaro_winkler (1.5.4)
45
+ json (2.3.0)
46
+ method_source (0.9.2)
47
+ parallel (1.19.1)
48
+ parser (2.7.0.3)
49
+ ast (~> 2.4.0)
50
+ pry (0.12.2)
51
+ coderay (~> 1.1.0)
52
+ method_source (~> 0.9.0)
53
+ pry-byebug (3.6.0)
54
+ byebug (~> 10.0)
55
+ pry (~> 0.10)
56
+ rack-protection (2.0.8.1)
57
+ rack
58
+ rack-test (1.1.0)
59
+ rack (>= 1.0, < 3)
60
+ rainbow (3.0.0)
61
+ rake (10.5.0)
62
+ rexml (3.2.4)
63
+ rspec (3.9.0)
64
+ rspec-core (~> 3.9.0)
65
+ rspec-expectations (~> 3.9.0)
66
+ rspec-mocks (~> 3.9.0)
67
+ rspec-core (3.9.1)
68
+ rspec-support (~> 3.9.1)
69
+ rspec-expectations (3.9.0)
70
+ diff-lcs (>= 1.2.0, < 2.0)
71
+ rspec-support (~> 3.9.0)
72
+ rspec-mocks (3.9.1)
73
+ diff-lcs (>= 1.2.0, < 2.0)
74
+ rspec-support (~> 3.9.0)
75
+ rspec-support (3.9.2)
76
+ rubocop (0.80.0)
77
+ jaro_winkler (~> 1.5.1)
78
+ parallel (~> 1.10)
79
+ parser (>= 2.7.0.1)
80
+ rainbow (>= 2.2.2, < 4.0)
81
+ rexml
82
+ ruby-progressbar (~> 1.7)
83
+ unicode-display_width (>= 1.4.0, < 1.7)
84
+ rubocop-rspec (1.28.0)
85
+ rubocop (>= 0.58.0)
86
+ ruby-progressbar (1.10.1)
87
+ simplecov (0.13.0)
88
+ docile (~> 1.1.0)
89
+ json (>= 1.8, < 3)
90
+ simplecov-html (~> 0.10.0)
91
+ simplecov-html (0.10.2)
92
+ thor (1.0.1)
93
+ timecop (0.9.1)
94
+ unicode-display_width (1.6.1)
95
+
96
+ PLATFORMS
97
+ ruby
98
+
99
+ DEPENDENCIES
100
+ appraisal (~> 2.2)
101
+ bundler (~> 2.1)
102
+ codeclimate-test-reporter (~> 1.0)
103
+ pry-byebug (~> 3.6.0)
104
+ rack (>= 2)!
105
+ rack-test (~> 1.1)
106
+ rake (~> 10.0)
107
+ redis (>= 4)!
108
+ rspec (~> 3.0)
109
+ rubocop (~> 0.58)
110
+ rubocop-rspec (~> 1.28.0)
111
+ sidekiq (>= 6)!
112
+ sidekiq-prometheus-exporter!
113
+ timecop (~> 0.9)
114
+
115
+ BUNDLED WITH
116
+ 2.1.4
@@ -11,7 +11,9 @@ module Sidekiq
11
11
  REQUEST_METHOD = 'REQUEST_METHOD'.freeze
12
12
  NOT_FOUND_TEXT = 'Not Found'.freeze
13
13
  MOUNT_PATH = '/metrics'.freeze
14
- HEADERS = {'Content-Type' => 'text/plain; version=0.0.4', 'Cache-Control' => 'no-cache'}.freeze
14
+ # rubocop:disable Style/MutableConstant
15
+ HEADERS = {'Content-Type' => 'text/plain; version=0.0.4', 'Cache-Control' => 'no-cache'}
16
+ # rubocop:enable Style/MutableConstant
15
17
  EXPORTERS = Exporters.new
16
18
 
17
19
  class << self
@@ -3,7 +3,7 @@
3
3
  module Sidekiq
4
4
  module Prometheus
5
5
  module Exporter
6
- VERSION = '0.1.12'.freeze
6
+ VERSION = '0.1.13'.freeze
7
7
  end
8
8
  end
9
9
  end
@@ -31,10 +31,10 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency 'sidekiq', '>= 3.3.1'
32
32
 
33
33
  spec.add_development_dependency 'appraisal', '~> 2.2'
34
- spec.add_development_dependency 'bundler', '~> 1.16'
34
+ spec.add_development_dependency 'bundler', '~> 2.1'
35
35
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
36
- spec.add_development_dependency 'pry-byebug', '~> 3.6'
37
- spec.add_development_dependency 'rack-test', '~> 0.8'
36
+ spec.add_development_dependency 'pry-byebug', '~> 3.6.0'
37
+ spec.add_development_dependency 'rack-test', '~> 1.1'
38
38
  spec.add_development_dependency 'rake', '~> 10.0'
39
39
  spec.add_development_dependency 'rspec', '~> 3.0'
40
40
  spec.add_development_dependency 'rubocop', '~> 0.58'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-prometheus-exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Fedorov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-24 00:00:00.000000000 Z
11
+ date: 2020-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.16'
47
+ version: '2.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.16'
54
+ version: '2.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: codeclimate-test-reporter
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.6'
75
+ version: 3.6.0
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.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rack-test
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.8'
89
+ version: '1.1'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.8'
96
+ version: '1.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -200,6 +200,10 @@ files:
200
200
  - gemfiles/sidekiq_4.x.gemfile.lock
201
201
  - gemfiles/sidekiq_5.x.gemfile
202
202
  - gemfiles/sidekiq_5.x.gemfile.lock
203
+ - gemfiles/sidekiq_6.x.gemfile
204
+ - gemfiles/sidekiq_6.x.gemfile.lock
205
+ - gemfiles/sidekiq_head.gemfile
206
+ - gemfiles/sidekiq_head.gemfile.lock
203
207
  - lib/sidekiq/prometheus/exporter.rb
204
208
  - lib/sidekiq/prometheus/exporter/cron.rb
205
209
  - lib/sidekiq/prometheus/exporter/exporters.rb
@@ -229,8 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
233
  - !ruby/object:Gem::Version
230
234
  version: '0'
231
235
  requirements: []
232
- rubyforge_project:
233
- rubygems_version: 2.5.2.2
236
+ rubygems_version: 3.0.3
234
237
  signing_key:
235
238
  specification_version: 4
236
239
  summary: Prometheus exporter for the Sidekiq