chef-handler-librato 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "chef-handler-librato"
6
- s.version = "1.1.3"
6
+ s.version = "1.1.4"
7
7
  s.authors = ["Brian Scott"]
8
8
  s.email = ["brainscott@gmail.com"]
9
9
  s.homepage = ""
@@ -60,7 +60,11 @@ class LibratoReporting < Chef::Handler
60
60
 
61
61
  metrics.each do |metric, value|
62
62
  Chef::Log.debug("#{metric} #{value} #{Time.now}")
63
+ begin
63
64
  Librato::Metrics.submit :"#{metric}" => {:type => :"#{@metric_type}", :value => "#{value}", :source => "#{@source}" }
65
+ rescue Exception => e
66
+ puts "#{e}"
67
+ end
64
68
  end
65
69
  end
66
70
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 3
9
- version: 1.1.3
8
+ - 4
9
+ version: 1.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Scott