class ElasticAPM::Spies::JSONSpy
@api private
Public Instance Methods
install()
click to toggle source
# File lib/elastic_apm/spies/json.rb, line 27 def install ::JSON.class_eval do include SpanHelpers span_class_method :parse, 'JSON#parse', 'json.parse' span_class_method :parse!, 'JSON#parse!', 'json.parse' span_class_method :generate, 'JSON#generate', 'json.generate' end end