Module: Bigcommerce::Lightstep::RailsControllerInstrumentation
- Defined in:
- lib/bigcommerce/lightstep/rails_controller_instrumentation.rb
Overview
Helper module that can be included into Rails controllers to automatically instrument them with LightStep
Constant Summary collapse
- OPEN_TRACING_HEADER_KEYS =
%w[ot-tracer-traceid ot-tracer-spanid ot-tracer-sampled].freeze
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
11 12 13 |
# File 'lib/bigcommerce/lightstep/rails_controller_instrumentation.rb', line 11 def self.included(base) base.send(:around_action, :lightstep_trace) end |