Skip to content

Commit

Permalink
Redis Exporter: Update 1.3.4->1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jun 8, 2020
1 parent c4997e0 commit 9f3082e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ prometheus::redis_exporter::group: 'redis-exporter'
prometheus::redis_exporter::package_ensure: 'latest'
prometheus::redis_exporter::package_name: 'redis_exporter'
prometheus::redis_exporter::user: 'redis-exporter'
prometheus::redis_exporter::version: '1.3.4'
prometheus::redis_exporter::version: '1.6.1'
prometheus::user: 'prometheus'
prometheus::varnish_exporter::download_extension: 'tar.gz'
prometheus::varnish_exporter::download_url_base: 'https://github.com/jonnenauha/prometheus_varnish_exporter/releases'
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/redis_exporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
it { is_expected.to be_listening.with('tcp6') }
end

it 'is version v1.3.4' do
it 'is version v1.6.1' do
shell('curl -s http://127.0.0.1:9121/metrics') do |r|
redis_exporter_build_info = r.stdout.split(%r{\n}).find { |line| line =~ %r{^redis_exporter_build_info} }
expect(redis_exporter_build_info).to match(%r{,version="v1\.3\.4"})
expect(redis_exporter_build_info).to match(%r{,version="v1\.6\.1"})
end
end
end
Expand Down

0 comments on commit 9f3082e

Please sign in to comment.