Skip to content

Commit e244cc5

Browse files
author
Mesaguy
committed
Install cloudwatch_exporter jar-with-dependencies
Fix ping_exporter_czerwonk tests for latest version
1 parent 5e234f8 commit e244cc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/cloudwatch_exporter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
- '{{ prometheus_software_port }} {{ prometheus_etc_dir }}/{{ prometheus_software_name }}.yml'
3232
prometheus_software_url:
3333
"https://github.com/{{ prometheus_software_author }}/{{ prometheus_software_name }}/releases/download/{{ prometheus_software_version }}/\
34-
{{ prometheus_software_name }}-{{ prometheus_software_version | regex_replace('^(v)?') }}.jar"
34+
{{ prometheus_software_name }}-{{ prometheus_software_version | regex_replace('^(v)?') }}-jar-with-dependencies.jar"
3535

3636

3737
- name: Install standalone file for {{ prometheus_software_name_version }}

tests/inspec/default/ping_exporter_czerwonk.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434

3535
describe http('http://127.0.0.1:9427/metrics') do
3636
its('status') { should cmp 200 }
37-
its('body') { should match /ping_rtt_mean_seconds_ms/ }
37+
its('body') { should match /ping_rtt_mean_ms/ }
3838
end

0 commit comments

Comments
 (0)