Module: ElasticAPM::Spies::TiltSpy::Ext Private

Defined in:
lib/elastic_apm/spies/tilt.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#render(*args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
32
33
34
35
# File 'lib/elastic_apm/spies/tilt.rb', line 29

def render(*args, &block)
  name = options[:__elastic_apm_template_name] || 'Unknown template'

  ElasticAPM.with_span name, TYPE do
    super(*args, &block)
  end
end