diff options
author | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-03-16 10:15:21 +0000 |
---|---|---|
committer | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-03-16 10:15:21 +0000 |
commit | 666ea91e473554acabe6f6c3477eb915e70a7538 (patch) | |
tree | 2f245df6a494c63f6a829f4729552939ce0effdd /Readme.textile | |
parent | 58758e907801e332f5e80b4f2fed5a50f080fec1 (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 'Readme.textile')
-rw-r--r-- | Readme.textile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Readme.textile b/Readme.textile index d5f5f3a..7d993d5 100644 --- a/Readme.textile +++ b/Readme.textile @@ -2,17 +2,19 @@ h1. Longboat Longboat is a metric collection system. Intended for Viking, but theoretically generic. -h2. Jobs +h2. Raiders -Longboat will pick up all jobs in the lib/jobs directory. Each job consists of: +Raiders go out, raid things, and return to the longboat with metrics for the collector. -* a file with a snake_case name, such as @my_job.rb@ +Longboat will pick up all raiders in the lib/raiders directory. Each raider consists of: + +* a file with a snake_case name, such as @my_raider.rb@ * containing a single class with a CamelCase name matching the file name, such as @MyJob@ * with two methods: ** @initialize@, which takes two arguments of: *** the collector to @report!@ the metrics to, and -*** a hash containing config relevant to jobs -** @run@, no arguments, which triggers a job run and metric report +*** a hash containing config relevant to raiders +** @raid@, no arguments, which triggers a raid and metric report @Longboat::Collector#report!@ takes as arguments: |