Sha256: 7bd9892249623b1de7597ab57eb8ffff5ada901ef11a7b7391df5832691c72ef
Contents?: true
Size: 314 Bytes
Versions: 2
Compression:
Stored size: 314 Bytes
Contents
require_relative 'server' require_relative 'collector' EventMachine::run { EventMachine::open_datagram_socket("127.0.0.1", 8125, Rstatsd::Collector) EventMachine::start_server("127.0.0.1", 8126, Rstatsd::Server) puts "http server running at http://localhost:8126/" puts "go there for more instructions" }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rstatsd-0.3 | lib/rstatsd/autorun.rb |
rstatsd-0.2 | lib/rstatsd/autorun.rb |