Class: Oboe_metal::Reporter
- Inherits:
-
Object
- Object
- Oboe_metal::Reporter
- Defined in:
- lib/heroku_metal.rb
Class Method Summary collapse
- .sendReport(evt) ⇒ Object
-
.start ⇒ Object
Initialize the Oboe Context, reporter and report the initialization.
Class Method Details
.sendReport(evt) ⇒ Object
62 63 64 |
# File 'lib/heroku_metal.rb', line 62 def self.sendReport(evt) Oboe.reporter.sendReport(evt) end |
.start ⇒ Object
Initialize the Oboe Context, reporter and report the initialization
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/heroku_metal.rb', line 45 def self.start begin Oboe_metal::Context.init() Oboe.logger.debug "[oboe/debug] Initializing Heroku based reporter." # The Oboe Reporter is configured via Heroku config variables. Oboe.reporter = Oboe::Reporter.new(nil, nil) Oboe::API.report_init rescue Exception => e $stderr.puts e. raise end end |