diff options
Diffstat (limited to 'longboat')
-rwxr-xr-x | longboat | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -8,11 +8,10 @@ collector = Longboat::Collector.new jobs = Longboat::Jobs.new jobs.load(collector) -jobs.collect_every +t = jobs.collect_every + +sleep 5 +puts collector.metrics +t.exit -loop do - sleep 30 - puts collector.metrics - sleep 30 -end #Longboat::Server.serve! |