lib/onering/plugins/reporter.rb in onering-client-0.0.64 vs lib/onering/plugins/reporter.rb in onering-client-0.0.65

- old
+ new

@@ -86,14 +86,16 @@ instance_eval(&block) end end def property(name, value=nil) + name.gsub!('.','_') @_report[:properties].set(name, value) if value end def stat(name, value=nil) + name.gsub!('.','_') @_report[:properties][:metrics] ||= {} @_report[:properties][:metrics].set(name, value) if value end def report() @@ -122,6 +124,6 @@ {} end end end -end \ No newline at end of file +end