#!/usr/bin/env ruby $LOAD_PATH << './lib' require 'longboat' # Handle command line options config = Longboat::Config.parse! # Start collection collector = Longboat::Collector.new jobs = Longboat::Jobs.new(collector, config) jobs.load! t = jobs.collect_every # Serve metrics on HTTP Longboat::Server.serve!(collector, config)