Permalink
Browse files

work in progress

  • Loading branch information...
1 parent c5078dc commit a28e9139615f27f6243ea86164ecfee9db3b0090 @robbyt robbyt committed Dec 20, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/puppet/reports/datadog_reports.rb
@@ -53,6 +53,12 @@ def process
event_priority = "low"
end
+ if defined?(self.configuration_version)
+ event_data = "Puppet applied version #{self.configuration_version} "
+ else
+ event_data = ""
+ end
+
Puppet.debug "Sending metrics for #{@msg_host} to DataDog"
@dog = Dogapi::Client.new(API_KEY)
self.metrics.each { |metric,data|

0 comments on commit a28e913

Please sign in to comment.