bin/metrics-emr-steps.rb in sensu-plugins-aws-2.3.0 vs bin/metrics-emr-steps.rb in sensu-plugins-aws-2.4.0

- old
+ new

@@ -72,9 +72,10 @@ cluster = clusters.sort_by { |c| c.status.timeline.creation_date_time }.reverse.first data = {} STATUS.each_entry { |status| data[status] = 0 } cluster_steps(emr, cluster.id, data) safe_name = config[:cluster_name].tr(' ', '_') + output config[:scheme] + '.' + safe_name + '.id.' + cluster_id STATUS.each_entry { |status| output config[:scheme] + '.' + safe_name + '.step.' + status, data[status] } end ok end end