Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 294 Bytes
#!/usr/bin/env ruby
require 'rubygems'
require 'statsd-ruby'
require 'jsonl'
raw_json =
parsed_json = JSONL.parse(raw_json)
$statsd ="localhost", 9125)
# Here you could grab a user and also increment updates by user
parsed_json.each { |j| $statsd.increment('update') }
You can’t perform that action at this time.