aboutsummaryrefslogtreecommitdiff
path: root/lib/longboat/config.rb
diff options
context:
space:
mode:
authorNat Lasseter <nat.lasseter@york.ac.uk>2020-03-16 10:15:21 +0000
committerNat Lasseter <nat.lasseter@york.ac.uk>2020-03-16 10:15:21 +0000
commit666ea91e473554acabe6f6c3477eb915e70a7538 (patch)
tree2f245df6a494c63f6a829f4729552939ce0effdd /lib/longboat/config.rb
parent58758e907801e332f5e80b4f2fed5a50f080fec1 (diff)
Refactor: renamed jobs to raiders, becaus pun, and jobs is confusing given the intended application of longboat by the original authors.
Diffstat (limited to 'lib/longboat/config.rb')
-rw-r--r--lib/longboat/config.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/longboat/config.rb b/lib/longboat/config.rb
index 3fd1510..7e793c1 100644
--- a/lib/longboat/config.rb
+++ b/lib/longboat/config.rb
@@ -5,15 +5,15 @@ module Longboat
def self.parse!
Optimist::options do
# Collection interval
- opt :collect_every, "Collection interval", type: Integer, default: 60
+ opt :raid_every, "Collection interval", type: Integer, default: 60
# Job data
- opt :jobs_path, "Paths to search for jobs", type: String, default: "./lib/jobs", multi: true
- opt :metric_prefix, "Prefix for metric names", type: String, default: "longboat_"
+ opt :raiders_path, "Paths to search for raiders", type: String, default: "./lib/raiders", multi: true
+ opt :metric_prefix, "Prefix for metric names", type: String, default: "longboat_"
# Sinatra server
- opt :server_bind, "Server listening address", type: String, default: "127.0.0.1:8564"
- opt :server_path, "Path to metrics", type: String, default: "/metrics"
+ opt :server_bind, "Server listening address", type: String, default: "127.0.0.1:8564"
+ opt :server_path, "Path to metrics", type: String, default: "/metrics"
end
end
end