Skip to content
Browse files

include repo name in metric

  • Loading branch information...
1 parent 30292be commit 1df0efee63d56e7e023d5a47bdc6c4ec5648e1a1 @obfuscurity committed Jul 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/backstop/web.rb
View
2 lib/backstop/web.rb
@@ -67,7 +67,7 @@ def sockets
data["commits"].each do |commit|
s = sockets.sample
measure_time = DateTime.parse(commit["timestamp"]).strftime("%s")
- s.puts "#{data['source']}.#{data['ref']}.#{commit['id']} 1 #{measure_time}"
+ s.puts "#{data['source']}.#{data['repository']['name']}.#{data['ref']}.#{commit['id']} 1 #{measure_time}"
end
"ok"
end

0 comments on commit 1df0efe

Please sign in to comment.
Something went wrong with that request. Please try again.