aboutsummaryrefslogtreecommitdiff
path: root/longboat
diff options
context:
space:
mode:
Diffstat (limited to 'longboat')
-rwxr-xr-xlongboat9
1 files changed, 6 insertions, 3 deletions
diff --git a/longboat b/longboat
index 3907d87..bf2c13d 100755
--- a/longboat
+++ b/longboat
@@ -2,9 +2,12 @@
$LOAD_PATH << './lib'
require 'longboat'
-require 'longboat/jobs'
+require 'longboat/jobs/slurm_job_states'
#require 'longboat/server'
-Longboat::Metrics.collect!
-puts Longboat::Metrics
+collector = Longboat::Collector.new
+Longboat::Jobs::SlurmJobStates.new(collector)
+
+collector.collect!
+puts collector.metrics
#Longboat::Server.serve!