sidekiq-prometheus-exporter 0.1.14 → 0.1.15

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
2
  SHA256:
3
- metadata.gz: b765e7d2573199042fcb0bc816c07797ddc7cd629a8491df3eee217f09282883
4
- data.tar.gz: 7db77dd139a068968b55a79c1cdf57f9bbb7684f739ad95044cfd6fd4cf22389
3
+ metadata.gz: e6abd894355205259e60c8804e17560ca107d88f0299aea7fae7c495130521dd
4
+ data.tar.gz: 5665a775e383a91b129d12e84128740904321da0e099fc1237c9381701bd2b91
5
5
  SHA512:
6
- metadata.gz: 6c83d7afd3fcf1a0dfe16bc9bc35f05ad84bad8a46656d4af313c309427682f6e4347f912c3f0daeb7594d12fc9914f9e2e4f5452a4925643eebe81224e2e736
7
- data.tar.gz: 3be26fb67085e9dbebcd9eb9a377feb24acfbb075e1a67eebdf550ffa8e5c54716398e254fbf6cee9b4c92cf2b814bd1951dc13f9c13ded4c27c054020cc3828
6
+ metadata.gz: 95a6c12a03307b5cd4651bb6190d1bf4659005554d1f42839f6f340f9bf55faab6a5335dc29ec49982f381312502ef10dec9fff2578e9120179d1f04350a980d
7
+ data.tar.gz: 1d4c635db97afde9d894c5294ef5d592fe2f3caf5cc72f0a33b7d1dd8ba70614eee1b54e4d3b2f54a744a03587bd669f1f7d442bfc7b803ed6f8e904b2c73edf
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: CI
3
+ on:
4
+ push:
5
+ branches: ["master"]
6
+ pull_request:
7
+ branches: ["master"]
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-16.04
11
+ name: Ruby ${{ matrix.ruby }} / Sidekiq ${{ matrix.sidekiq }}
12
+ strategy:
13
+ matrix:
14
+ ruby: ["2.3.8", "2.4.10", "2.5.8", "2.6.6", "2.7.2", "latest"]
15
+ sidekiq: ["3.3.1", "3.x", "4.x", "5.x", "6.x", "latest"]
16
+ include:
17
+ - ruby: "2.6.6"
18
+ sidekiq: "5.x"
19
+ codeclimate: "true"
20
+ exclude:
21
+ - ruby: "2.3.8"
22
+ sidekiq: "6.x"
23
+ - ruby: "2.4.10"
24
+ sidekiq: "6.x"
25
+ - ruby: "2.3.8"
26
+ sidekiq: "latest"
27
+ - ruby: "2.4.10"
28
+ sidekiq: "latest"
29
+ - ruby: "2.5.8"
30
+ sidekiq: "latest"
31
+ - ruby: "2.6.6"
32
+ sidekiq: "latest"
33
+ - ruby: "2.7.2"
34
+ sidekiq: "latest"
35
+
36
+ container:
37
+ image: ruby:${{ matrix.ruby }}
38
+ env:
39
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
40
+
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+
44
+ - uses: actions/cache@v2
45
+ id: vendor-cache
46
+ with:
47
+ path: vendor
48
+ key: bundle-${{ matrix.ruby }}-sidekiq-${{ matrix.sidekiq }}-${{ hashFiles('**/*.gemspec') }}-${{ hashFiles('**/.*Gemfile.lock') }}
49
+
50
+ - name: Upgrade Bundler to 2.x (for older Ruby versions)
51
+ run: gem install bundler -v '~> 2.1'
52
+
53
+ - name: Install CodeClimate test reporter
54
+ if: steps.vendor-cache.outputs.cache-hit != 'true'
55
+ run: |
56
+ mkdir -p ./vendor
57
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \
58
+ > ./vendor/cc-test-reporter
59
+ chmod +x ./vendor/cc-test-reporter
60
+
61
+ - name: Bundle install
62
+ run: |
63
+ bundle config path vendor/bundle
64
+ bundle config gemfile gemfiles/sidekiq_${{ matrix.sidekiq }}.Gemfile
65
+ bundle install
66
+
67
+ - name: Start recording Codeclimate test coverage
68
+ if: matrix.codeclimate == 'true'
69
+ run: ./vendor/cc-test-reporter before-build
70
+
71
+ - name: Run RSpec
72
+ run: bundle exec rake spec
73
+
74
+ - name: Finish recording Codeclimate test coverage
75
+ if: matrix.codeclimate == 'true'
76
+ run: ./vendor/cc-test-reporter after-build
data/Appraisals CHANGED
@@ -31,7 +31,7 @@ appraise 'sidekiq-6.x' do
31
31
  gem 'sidekiq', '~> 6.0'
32
32
  end
33
33
 
34
- appraise 'sidekiq-head' do
34
+ appraise 'sidekiq-latest' do
35
35
  gem 'rack', '>= 2', github: 'rack/rack'
36
36
  gem 'redis', '>= 4', github: 'redis/redis-rb'
37
37
  gem 'sidekiq', '>= 6', github: 'mperham/sidekiq'
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/Strech/sidekiq-prometheus-exporter.svg?branch=master)](https://travis-ci.org/Strech/sidekiq-prometheus-exporter)
1
+ ![CI status](https://github.com/Strech/sidekiq-prometheus-exporter/workflows/CI/badge.svg)
2
2
  [![Maintainability](https://api.codeclimate.com/v1/badges/bb1b30cd7aca8ecc9413/maintainability)](https://codeclimate.com/github/Strech/sidekiq-prometheus-exporter/maintainability)
3
3
  [![Test Coverage](https://api.codeclimate.com/v1/badges/bb1b30cd7aca8ecc9413/test_coverage)](https://codeclimate.com/github/Strech/sidekiq-prometheus-exporter/test_coverage)
4
4
 
data/Rakefile CHANGED
@@ -11,6 +11,8 @@ require 'English'
11
11
  require 'fileutils'
12
12
  require_relative 'lib/sidekiq/prometheus/exporter/version'
13
13
 
14
+ VERSION = Sidekiq::Prometheus::Exporter::VERSION
15
+
14
16
  def execute(command)
15
17
  output = `#{command}`
16
18
 
@@ -23,6 +25,7 @@ def execute(command)
23
25
  end
24
26
 
25
27
  namespace :docker do
28
+ desc "Release new Docker image strech/sidekiq-prometheus-exporter:#{VERSION} (latest)"
26
29
  task :release do
27
30
  Rake::Task['docker:build'].invoke
28
31
  Rake::Task['docker:push'].invoke
@@ -32,19 +35,19 @@ namespace :docker do
32
35
  image = 'strech/sidekiq-prometheus-exporter'
33
36
 
34
37
  Dir.chdir(File.expand_path('./docker')) do
35
- execute("docker build -t #{image}:#{Sidekiq::Prometheus::Exporter::VERSION} -t #{image}:latest .")
38
+ execute("docker build -t #{image}:#{VERSION} -t #{image}:latest .")
36
39
  end
37
40
 
38
- puts "Successfully built strech/sidekiq-prometheus-exporter and tagged #{Sidekiq::Prometheus::Exporter::VERSION}, latest"
41
+ puts "Successfully built strech/sidekiq-prometheus-exporter and tagged #{VERSION} (latest)"
39
42
  end
40
43
 
41
44
  task :push do
42
45
  image = 'strech/sidekiq-prometheus-exporter'
43
46
 
44
- execute("docker push #{image}:#{Sidekiq::Prometheus::Exporter::VERSION}")
47
+ execute("docker push #{image}:#{VERSION}")
45
48
  execute("docker push #{image}:latest")
46
49
 
47
- puts "Successfully pushed strech/sidekiq-prometheus-exporter #{Sidekiq::Prometheus::Exporter::VERSION}, latest"
50
+ puts "Successfully pushed strech/sidekiq-prometheus-exporter:#{VERSION} (latest)"
48
51
  end
49
52
  end
50
53
 
@@ -70,7 +73,7 @@ namespace :helm do
70
73
 
71
74
  task :index, [:directory] do |_, args|
72
75
  Dir.chdir(args.fetch(:directory)) do
73
- url = "https://github.com/Strech/sidekiq-prometheus-exporter/releases/download/v#{Sidekiq::Prometheus::Exporter::VERSION}"
76
+ url = "https://github.com/Strech/sidekiq-prometheus-exporter/releases/download/v#{VERSION}"
74
77
 
75
78
  execute('git show gh-pages:index.yaml > existing-index.yaml')
76
79
  execute("helm repo index . --url #{url} --merge existing-index.yaml")
data/docker/Dockerfile CHANGED
@@ -6,7 +6,7 @@ LABEL repository="strech/sidekiq-prometheus-exporter"
6
6
  ENV RACK_VERSION 2.0.9
7
7
  ENV SIDEKIQ_VERSION 5.2.8
8
8
  ENV REDIS_NAMESPACE_VERSION 1.7.0
9
- ENV SIDEKIQ_PROMETHEUS_EXPORTER_VERSION 0.1.13
9
+ ENV SIDEKIQ_PROMETHEUS_EXPORTER_VERSION 0.1.15
10
10
 
11
11
  RUN addgroup -S exporter \
12
12
  && adduser -s /bin/false -SDHg exporter exporter \
data/docker/README.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Official Docker image
2
2
 
3
- This is an official Docker image for [sidekiq-prometheus-exporter](https://github.com/Strech/sidekiq-prometheus-exporter)
3
+ [0]: https://github.com/Strech/sidekiq-prometheus-exporter
4
+ [1]: https://www.iana.org/assignments/uri-schemes/prov/redis
5
+ [2]: https://github.com/resque/redis-namespace
6
+ [3]: https://github.com/redis/redis-rb/tree/v4.1.3#sentinel-support
7
+ [4]: https://github.com/mperham/sidekiq/issues/4479
8
+
9
+ This is an official Docker image for [sidekiq-prometheus-exporter][0]
4
10
  gem.
5
11
 
6
12
  It combines some approaches which were already published as images by other
@@ -13,7 +19,7 @@ and applies recommended Docker best practices.
13
19
 
14
20
  Required
15
21
 
16
- - `REDIS_URL` - [RFC 3986 generic URI][rfc3986], exclusive with `REDIS_HOST`
22
+ - `REDIS_URL` - [RFC 3986 generic URI][1], exclusive with `REDIS_HOST`
17
23
  - `REDIS_HOST` - a Redis host, exclusive with `REDIS_URL` (default: `localhost`)
18
24
 
19
25
  Optional
@@ -21,9 +27,10 @@ Optional
21
27
  - `REDIS_PORT` - a Redis port (default: `6379`)
22
28
  - `REDIS_PASSWORD` - a Redis password (if you need one)
23
29
  - `REDIS_DB_NUMBER` - a Redis database number (default: `0`)
24
- - `REDIS_NAMESPACE` - a Redis [namespace][namespace] name (if you have separated sidekiq)
30
+ - `REDIS_NAMESPACE` - a Redis [namespace][2] name (if you have separated sidekiq)
25
31
  - `REDIS_SENTINELS` - a list of comma separated Redis urls (like `REDIS_URL`, but for sentinels)
26
- - `REDIS_SENTINEL_ROLE` - a role within the [sentinel][sentinel] to connect (default: `master`)
32
+ - `REDIS_SENTINEL_ROLE` - a role within the [sentinel][3] to connect (default: `master`)
33
+ - `REDIS_DISABLE_CLIENT_ID` - a flag to disable `CLIENT` command in [Sidekiq][4]
27
34
 
28
35
  :bulb: Note, that `REDIS_URL` and `REDIS_HOST` are exclusive. Since `REDIS_HOST` is more
29
36
  atomic value it will be checked after `REDIS_URL`.
@@ -31,6 +38,8 @@ atomic value it will be checked after `REDIS_URL`.
31
38
  :bulb: `REDIS_SENTINELS` will be parsed with `URI`, because of that it's
32
39
  mandatory for them to be formatted with protocol `redis://...`.
33
40
 
41
+ :bulb: `REDIS_DISABLE_CLIENT_ID` might be required if a SaaS Redis provider is being used.
42
+
34
43
  ## Examples
35
44
 
36
45
  If you don't have a running Redis instance, you can quickly spin an empty to
@@ -49,7 +58,3 @@ $ docker run -it --rm \
49
58
  -e REDIS_URL=redis://redis-instance \
50
59
  strech/sidekiq-prometheus-exporter
51
60
  ```
52
-
53
- [rfc3986]: https://www.iana.org/assignments/uri-schemes/prov/redis
54
- [namespace]: https://github.com/resque/redis-namespace
55
- [sentinel]: https://github.com/redis/redis-rb/tree/v4.1.3#sentinel-support
data/docker/config.ru CHANGED
@@ -33,6 +33,8 @@ if ENV.key?('REDIS_SENTINELS')
33
33
  end
34
34
  end
35
35
 
36
+ config[:id] = nil if ENV.key?('REDIS_DISABLE_CLIENT_ID')
37
+
36
38
  Sidekiq.configure_client { |client| client.redis = config }
37
39
 
38
40
  run Sidekiq::Prometheus::Exporter.to_app
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.13)
4
+ sidekiq-prometheus-exporter (0.1.15)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -13,32 +13,17 @@ GEM
13
13
  thor (>= 0.14.0)
14
14
  ast (2.4.0)
15
15
  byebug (10.0.2)
16
- celluloid (0.17.4)
17
- celluloid-essentials
18
- celluloid-extras
19
- celluloid-fsm
20
- celluloid-pool
21
- celluloid-supervision
22
- timers (>= 4.1.1)
23
- celluloid-essentials (0.20.5)
24
- timers (>= 4.1.1)
25
- celluloid-extras (0.20.5)
26
- timers (>= 4.1.1)
27
- celluloid-fsm (0.20.5)
28
- timers (>= 4.1.1)
29
- celluloid-pool (0.20.5)
30
- timers (>= 4.1.1)
31
- celluloid-supervision (0.20.6)
32
- timers (>= 4.1.1)
16
+ celluloid (0.18.0)
17
+ timers (~> 4)
33
18
  codeclimate-test-reporter (1.0.9)
34
19
  simplecov (<= 0.13)
35
20
  coderay (1.1.2)
36
21
  concurrent-ruby (1.1.6)
37
- connection_pool (2.2.2)
22
+ connection_pool (2.2.3)
38
23
  diff-lcs (1.3)
39
24
  docile (1.1.5)
40
25
  jaro_winkler (1.5.4)
41
- json (2.3.0)
26
+ json (2.5.1)
42
27
  method_source (0.9.2)
43
28
  mustermann (1.1.1)
44
29
  ruby2_keywords (~> 0.0.1)
@@ -110,7 +95,7 @@ GEM
110
95
  thor (1.0.1)
111
96
  tilt (2.0.10)
112
97
  timecop (0.9.1)
113
- timers (4.3.0)
98
+ timers (4.3.2)
114
99
  unicode-display_width (1.6.1)
115
100
 
116
101
  PLATFORMS
@@ -121,7 +106,7 @@ DEPENDENCIES
121
106
  bundler (~> 2.1)
122
107
  codeclimate-test-reporter (~> 1.0)
123
108
  concurrent-ruby
124
- pry-byebug (~> 3.6.0)
109
+ pry-byebug (~> 3.6)
125
110
  rack-test (~> 1.1)
126
111
  rake (~> 13.0)
127
112
  redis (~> 3.3)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.13)
4
+ sidekiq-prometheus-exporter (0.1.15)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -34,7 +34,7 @@ GEM
34
34
  simplecov (<= 0.13)
35
35
  coderay (1.1.2)
36
36
  concurrent-ruby (1.1.6)
37
- connection_pool (2.2.2)
37
+ connection_pool (2.2.3)
38
38
  diff-lcs (1.3)
39
39
  docile (1.1.5)
40
40
  jaro_winkler (1.5.4)
@@ -110,7 +110,7 @@ GEM
110
110
  thor (1.0.1)
111
111
  tilt (2.0.10)
112
112
  timecop (0.9.1)
113
- timers (4.3.0)
113
+ timers (4.3.2)
114
114
  unicode-display_width (1.6.1)
115
115
 
116
116
  PLATFORMS
@@ -121,7 +121,7 @@ DEPENDENCIES
121
121
  bundler (~> 2.1)
122
122
  codeclimate-test-reporter (~> 1.0)
123
123
  concurrent-ruby
124
- pry-byebug (~> 3.6.0)
124
+ pry-byebug (~> 3.6)
125
125
  rack-test (~> 1.1)
126
126
  rake (~> 13.0)
127
127
  redis (~> 3.3)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.13)
4
+ sidekiq-prometheus-exporter (0.1.15)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -16,8 +16,8 @@ GEM
16
16
  codeclimate-test-reporter (1.0.9)
17
17
  simplecov (<= 0.13)
18
18
  coderay (1.1.2)
19
- concurrent-ruby (1.1.6)
20
- connection_pool (2.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
23
  jaro_winkler (1.5.4)
@@ -32,8 +32,8 @@ GEM
32
32
  pry-byebug (3.6.0)
33
33
  byebug (~> 10.0)
34
34
  pry (~> 0.10)
35
- rack (2.2.2)
36
- rack-protection (2.0.8.1)
35
+ rack (2.2.3)
36
+ rack-protection (2.1.0)
37
37
  rack
38
38
  rack-test (1.1.0)
39
39
  rack (>= 1.0, < 3)
@@ -86,7 +86,7 @@ DEPENDENCIES
86
86
  appraisal (~> 2.2)
87
87
  bundler (~> 2.1)
88
88
  codeclimate-test-reporter (~> 1.0)
89
- pry-byebug (~> 3.6.0)
89
+ pry-byebug (~> 3.6)
90
90
  rack-test (~> 1.1)
91
91
  rake (~> 13.0)
92
92
  redis (~> 3.3)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.13)
4
+ sidekiq-prometheus-exporter (0.1.15)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@ GEM
16
16
  codeclimate-test-reporter (1.0.9)
17
17
  simplecov (<= 0.13)
18
18
  coderay (1.1.2)
19
- connection_pool (2.2.2)
19
+ connection_pool (2.2.3)
20
20
  diff-lcs (1.3)
21
21
  docile (1.1.5)
22
22
  jaro_winkler (1.5.4)
@@ -31,8 +31,8 @@ GEM
31
31
  pry-byebug (3.6.0)
32
32
  byebug (~> 10.0)
33
33
  pry (~> 0.10)
34
- rack (2.0.9)
35
- rack-protection (2.0.8.1)
34
+ rack (2.2.3)
35
+ rack-protection (2.1.0)
36
36
  rack
37
37
  rack-test (1.1.0)
38
38
  rack (>= 1.0, < 3)
@@ -64,11 +64,11 @@ GEM
64
64
  rubocop-rspec (1.28.0)
65
65
  rubocop (>= 0.58.0)
66
66
  ruby-progressbar (1.10.1)
67
- sidekiq (5.2.8)
67
+ sidekiq (5.2.9)
68
68
  connection_pool (~> 2.2, >= 2.2.2)
69
- rack (< 2.1.0)
69
+ rack (~> 2.0)
70
70
  rack-protection (>= 1.5.0)
71
- redis (>= 3.3.5, < 5)
71
+ redis (>= 3.3.5, < 4.2)
72
72
  simplecov (0.13.0)
73
73
  docile (~> 1.1.0)
74
74
  json (>= 1.8, < 3)
@@ -85,7 +85,7 @@ DEPENDENCIES
85
85
  appraisal (~> 2.2)
86
86
  bundler (~> 2.1)
87
87
  codeclimate-test-reporter (~> 1.0)
88
- pry-byebug (~> 3.6.0)
88
+ pry-byebug (~> 3.6)
89
89
  rack-test (~> 1.1)
90
90
  rake (~> 13.0)
91
91
  redis (~> 3.3)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sidekiq-prometheus-exporter (0.1.13)
4
+ sidekiq-prometheus-exporter (0.1.15)
5
5
  sidekiq (>= 3.3.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@ GEM
16
16
  codeclimate-test-reporter (1.0.9)
17
17
  simplecov (<= 0.13)
18
18
  coderay (1.1.2)
19
- connection_pool (2.2.2)
19
+ connection_pool (2.2.3)
20
20
  diff-lcs (1.3)
21
21
  docile (1.1.5)
22
22
  jaro_winkler (1.5.4)
@@ -31,14 +31,12 @@ GEM
31
31
  pry-byebug (3.6.0)
32
32
  byebug (~> 10.0)
33
33
  pry (~> 0.10)
34
- rack (2.2.2)
35
- rack-protection (2.0.8.1)
36
- rack
34
+ rack (2.2.3)
37
35
  rack-test (1.1.0)
38
36
  rack (>= 1.0, < 3)
39
37
  rainbow (3.0.0)
40
38
  rake (13.0.1)
41
- redis (4.1.3)
39
+ redis (4.2.5)
42
40
  rexml (3.2.4)
43
41
  rspec (3.9.0)
44
42
  rspec-core (~> 3.9.0)
@@ -64,11 +62,10 @@ GEM
64
62
  rubocop-rspec (1.28.0)
65
63
  rubocop (>= 0.58.0)
66
64
  ruby-progressbar (1.10.1)
67
- sidekiq (6.0.5)
65
+ sidekiq (6.1.3)
68
66
  connection_pool (>= 2.2.2)
69
67
  rack (~> 2.0)
70
- rack-protection (>= 2.0.0)
71
- redis (>= 4.1.0)
68
+ redis (>= 4.2.0)
72
69
  simplecov (0.13.0)
73
70
  docile (~> 1.1.0)
74
71
  json (>= 1.8, < 3)
@@ -85,7 +82,7 @@ DEPENDENCIES
85
82
  appraisal (~> 2.2)
86
83
  bundler (~> 2.1)
87
84
  codeclimate-test-reporter (~> 1.0)
88
- pry-byebug (~> 3.6.0)
85
+ pry-byebug (~> 3.6)
89
86
  rack-test (~> 1.1)
90
87
  rake (~> 13.0)
91
88
  redis (~> 4.1)
@@ -1,29 +1,28 @@
1
1
  GIT
2
2
  remote: https://github.com/mperham/sidekiq
3
- revision: 6e6d41500aafb37f23e4c7942ae9bb1ed1579b73
3
+ revision: 2f049eae5df957786c4e9c0b5b32e0a5acc1c7d1
4
4
  specs:
5
- sidekiq (6.0.6)
5
+ sidekiq (6.1.3)
6
6
  connection_pool (>= 2.2.2)
7
7
  rack (~> 2.0)
8
- rack-protection (>= 2.0.0)
9
- redis (>= 4.1.0)
8
+ redis (>= 4.2.0)
10
9
 
11
10
  GIT
12
11
  remote: https://github.com/rack/rack
13
- revision: 6196377654b7ff7ce7abaecea62bb285d77d53aa
12
+ revision: a05f8d56f9ac4da14dddb8f312a3b43644f73397
14
13
  specs:
15
14
  rack (2.3.0)
16
15
 
17
16
  GIT
18
17
  remote: https://github.com/redis/redis-rb
19
- revision: 41395e9a1923fe72fad8403e60cb98627d515a85
18
+ revision: b42d25162d9856a3091ca7830635a95eed9bcb74
20
19
  specs:
21
- redis (4.1.3)
20
+ redis (4.2.5)
22
21
 
23
22
  PATH
24
23
  remote: ..
25
24
  specs:
26
- sidekiq-prometheus-exporter (0.1.13)
25
+ sidekiq-prometheus-exporter (0.1.15)
27
26
  sidekiq (>= 3.3.1)
28
27
 
29
28
  GEM
@@ -38,7 +37,7 @@ GEM
38
37
  codeclimate-test-reporter (1.0.9)
39
38
  simplecov (<= 0.13)
40
39
  coderay (1.1.2)
41
- connection_pool (2.2.2)
40
+ connection_pool (2.2.3)
42
41
  diff-lcs (1.3)
43
42
  docile (1.1.5)
44
43
  jaro_winkler (1.5.4)
@@ -53,8 +52,6 @@ GEM
53
52
  pry-byebug (3.6.0)
54
53
  byebug (~> 10.0)
55
54
  pry (~> 0.10)
56
- rack-protection (2.0.8.1)
57
- rack
58
55
  rack-test (1.1.0)
59
56
  rack (>= 1.0, < 3)
60
57
  rainbow (3.0.0)
@@ -100,7 +97,7 @@ DEPENDENCIES
100
97
  appraisal (~> 2.2)
101
98
  bundler (~> 2.1)
102
99
  codeclimate-test-reporter (~> 1.0)
103
- pry-byebug (~> 3.6.0)
100
+ pry-byebug (~> 3.6)
104
101
  rack (>= 2)!
105
102
  rack-test (~> 1.1)
106
103
  rake (~> 13.0)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  apiVersion: v1
3
- appVersion: 0.1.13
3
+ appVersion: 0.1.15
4
4
  description: A Helm chart to deploy sidekiq-prometheus-exporter in Kubernetes
5
5
  name: sidekiq-prometheus-exporter
6
- version: 0.1.13
6
+ version: 0.1.15
@@ -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.13` |
54
+ | `image.tag` | Image tag | `0.1.15` |
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.13
12
+ tag: 0.1.15
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
@@ -85,6 +85,7 @@ containerPort: 9292
85
85
  # REDIS_NAMESPACE: "..."
86
86
  # REDIS_SENTINELS: "..."
87
87
  # REDIS_SENTINEL_ROLE: "..."
88
+ # REDIS_DISABLE_CLIENT_ID: "false"
88
89
  # envFrom:
89
90
  # type: configMapRef
90
91
  # name: myConfigMapReference
@@ -3,7 +3,7 @@
3
3
  module Sidekiq
4
4
  module Prometheus
5
5
  module Exporter
6
- VERSION = '0.1.14'.freeze
6
+ VERSION = '0.1.15'.freeze
7
7
  end
8
8
  end
9
9
  end
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'appraisal', '~> 2.2'
34
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.0'
36
+ spec.add_development_dependency 'pry-byebug', '~> 3.6'
37
37
  spec.add_development_dependency 'rack-test', '~> 1.1'
38
38
  spec.add_development_dependency 'rake', '~> 13.0'
39
39
  spec.add_development_dependency 'rspec', '~> 3.0'
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.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Fedorov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-05 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 3.6.0
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.0
82
+ version: '3.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rack-test
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -173,10 +173,10 @@ extra_rdoc_files: []
173
173
  files:
174
174
  - ".codeclimate.yml"
175
175
  - ".github/FUNDING.yml"
176
+ - ".github/workflows/ci.yaml"
176
177
  - ".gitignore"
177
178
  - ".rspec"
178
179
  - ".rubocop.yml"
179
- - ".travis.yml"
180
180
  - Appraisals
181
181
  - Gemfile
182
182
  - LICENSE
@@ -197,18 +197,18 @@ files:
197
197
  - examples/sidekiq/Dockerfile
198
198
  - examples/sidekiq/sidekiq.rb
199
199
  - examples/sidekiq/sidekiq.yml
200
- - gemfiles/sidekiq_3.3.1.gemfile
201
- - gemfiles/sidekiq_3.3.1.gemfile.lock
202
- - gemfiles/sidekiq_3.x.gemfile
203
- - gemfiles/sidekiq_3.x.gemfile.lock
204
- - gemfiles/sidekiq_4.x.gemfile
205
- - gemfiles/sidekiq_4.x.gemfile.lock
206
- - gemfiles/sidekiq_5.x.gemfile
207
- - gemfiles/sidekiq_5.x.gemfile.lock
208
- - gemfiles/sidekiq_6.x.gemfile
209
- - gemfiles/sidekiq_6.x.gemfile.lock
210
- - gemfiles/sidekiq_head.gemfile
211
- - gemfiles/sidekiq_head.gemfile.lock
200
+ - gemfiles/sidekiq_3.3.1.Gemfile
201
+ - gemfiles/sidekiq_3.3.1.Gemfile.lock
202
+ - gemfiles/sidekiq_3.x.Gemfile
203
+ - gemfiles/sidekiq_3.x.Gemfile.lock
204
+ - gemfiles/sidekiq_4.x.Gemfile
205
+ - gemfiles/sidekiq_4.x.Gemfile.lock
206
+ - gemfiles/sidekiq_5.x.Gemfile
207
+ - gemfiles/sidekiq_5.x.Gemfile.lock
208
+ - gemfiles/sidekiq_6.x.Gemfile
209
+ - gemfiles/sidekiq_6.x.Gemfile.lock
210
+ - gemfiles/sidekiq_latest.Gemfile
211
+ - gemfiles/sidekiq_latest.Gemfile.lock
212
212
  - helm/sidekiq-prometheus-exporter/.helmignore
213
213
  - helm/sidekiq-prometheus-exporter/Chart.yaml
214
214
  - helm/sidekiq-prometheus-exporter/README.md
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