Module: SignalFx::Tracing::Instrumenter::Rack
- Defined in:
- lib/signalfx/tracing/instrumentation/rack.rb
Class Method Summary collapse
Class Method Details
.instrument(opts = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/signalfx/tracing/instrumentation/rack.rb', line 10 def instrument(opts = {}) begin require 'rack' rescue LoadError return end begin require 'rack/tracer' rescue LoadError => e puts e. return end end |