aboutsummaryrefslogtreecommitdiff
path: root/lib/longboat/collector.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/longboat/collector.rb')
-rw-r--r--lib/longboat/collector.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/longboat/collector.rb b/lib/longboat/collector.rb
index ccf103b..2b61c8d 100644
--- a/lib/longboat/collector.rb
+++ b/lib/longboat/collector.rb
@@ -2,7 +2,6 @@ module Longboat
class Collector
def initialize
@metrics = {}
- @jobs = []
end
def report!(name, value, help: nil, type: nil, labels: {})
@@ -30,15 +29,5 @@ module Longboat
end
res
end
-
- def register!(job)
- @jobs << job
- end
-
- def collect!
- @jobs.each do |job|
- job.run
- end
- end
end
end