diff options
Diffstat (limited to 'longboat')
-rwxr-xr-x | longboat | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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! |