lib/sapience/appender/datadog.rb in sapience-0.1.10 vs lib/sapience/appender/datadog.rb in sapience-0.1.11
- old
+ new
@@ -66,10 +66,10 @@
def timing(metric, duration = 0)
if block_given?
start = Time.now
yield
- provider.timing(metric, ((Time.now - start)*1000).floor)
+ provider.timing(metric, ((Time.now - start) * 1000).floor)
else
provider.timing(metric, duration)
end
end