Module: TemplateStreaming::NewRelic::ControllerInstrumentationShim

Defined in:
lib/template_streaming/new_relic.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



341
342
343
344
# File 'lib/template_streaming/new_relic.rb', line 341

def self.included(base)
  # This shim method takes the wrong number of args. Fix it.
  base.module_eval 'def newrelic_metric_path(*args); end', __FILE__, __LINE__ + 1
end

Instance Method Details

#_is_filtered?(key) ⇒ Boolean

This is private in the real ControllerInstrumentation module, but we need it.

Returns:

  • (Boolean)


348
349
350
# File 'lib/template_streaming/new_relic.rb', line 348

def _is_filtered?(key)
  true
end