aboutsummaryrefslogtreecommitdiff
path: root/longboat
blob: bf2c13dd9c9c267bfe871958762ad955cf3e8d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env ruby
$LOAD_PATH << './lib'

require 'longboat'
require 'longboat/jobs/slurm_job_states'
#require 'longboat/server'

collector = Longboat::Collector.new
Longboat::Jobs::SlurmJobStates.new(collector)

collector.collect!
puts collector.metrics
#Longboat::Server.serve!