lib/joboe_metal.rb in oboe-2.6.5.5 vs lib/joboe_metal.rb in oboe-2.6.6.1
- old
+ new
@@ -83,10 +83,10 @@
Oboe.reporter = Oboe::UdpReporter.new(Oboe::Config[:reporter_host])
end
# Only report __Init from here if we are not instrumenting a framework.
# Otherwise, frameworks will handle reporting __Init after full initialization
- unless defined?(::Rails) or defined?(::Sinatra) or defined?(::Padrino)
+ unless defined?(::Rails) or defined?(::Sinatra) or defined?(::Padrino) or defined?(::Grape)
Oboe::API.report_init
end
rescue Exception => e
$stderr.puts e.message