Switch branches/tags
Find file History
Latest commit 26a0d46 May 12, 2017 @mwear mwear RUBY-1742 Handle cached queries for ActiveRecord 5.1 and add to Multi…
…verse

Changes were made to the ActiveRecordSubscriber payload in Rails 5.1.
In previous versions of Rails the :name would be set to CACHED to indicate
a cached query. For Rails 5.1 a key :cached will be present in the payload.
This commit dynamically defines a method, somewhat grossly, to test if a
query is cached across the supported Rails versions.
Permalink
..
Failed to load latest commit information.
excon RUBY-1588 Convert middleware-based Excon to use external segment Dec 15, 2016
memcache refactor out NewRelic::VersionNumber in favor of Gem::Version Jan 20, 2017
merb RUBY-1429 Factored filter params out of the ControllerInstrumentation… Jan 23, 2015
rails RUBY-1644 Remove newrelic_notice_error Feb 14, 2017
rails3 RUBY-1644 Remove newrelic_notice_error Feb 14, 2017
rails4 RUBY-1644 Remove newrelic_notice_error Feb 14, 2017
rails5 RUBY-1692 use ActiveSupport.on_load hook for including module Dec 22, 2016
sinatra RUBY-1607 Fix newrelic_ignore to work with mustermann routes Dec 2, 2016
action_cable_subscriber.rb Revert "RUBY-1724 Replace Transaction.stop with Segment#finish" Apr 4, 2017
action_controller_subscriber.rb RUBY-1724 Post revert fixes Apr 4, 2017
action_view_subscriber.rb RUBY-1691 dry up state access Dec 22, 2016
active_job.rb Conform to style guidelines for long ternaries Feb 11, 2016
active_merchant.rb Remove the :scoped_metric_only option to trace_execution_scoped May 17, 2014
active_record.rb RUBY-1645 Remove ActiveRecord instrumentation-level datastore instanc… Oct 19, 2016
active_record_4.rb RUBY-1542 Separate ActiveRecord 4 and 5 instrumentation Nov 16, 2016
active_record_5.rb RUBY-1542 Extract and prepend RelationExtensions module Nov 16, 2016
active_record_helper.rb RUBY-1644 Remove rollup_metrics_for Feb 14, 2017
active_record_subscriber.rb RUBY-1742 Handle cached queries for ActiveRecord 5.1 and add to Multi… May 13, 2017
acts_as_solr.rb RUBY-1730 Keep ActsAsSolr instrumentation working Apr 4, 2017
authlogic.rb Merge remote-tracking branch 'rpm/pr/121' into dev Jul 25, 2013
controller_instrumentation.rb RUBY-1724 Post revert fixes Apr 4, 2017
curb.rb refactor out NewRelic::VersionNumber in favor of Gem::Version Jan 20, 2017
data_mapper.rb RUBY-1730 notice_sql on segment for Datamapper instrumentation Apr 4, 2017
delayed_job_instrumentation.rb Collapse conditionals to reduce nesting Aug 25, 2016
evented_subscriber.rb RUBY-1691 dry up state access Dec 22, 2016
excon.rb refactor out NewRelic::VersionNumber in favor of Gem::Version Jan 20, 2017
grape.rb refactor out NewRelic::VersionNumber in favor of Gem::Version Jan 20, 2017
http.rb RUBY-1687 wrap response passed to segment Dec 15, 2016
httpclient.rb refactor out NewRelic::VersionNumber in favor of Gem::Version Jan 20, 2017
ignore_actions.rb Small change suggested in code review. Aug 11, 2014
memcache.rb RUBY-1640 refactor to use DatastoreSegment#notice_nosql_statement Oct 27, 2016
middleware_proxy.rb RUBY-1669 remove const definition checks (1.8 multiple requires) Feb 7, 2017
middleware_tracing.rb Revert "RUBY-1724 Replace Transaction.stop with Segment#finish" Apr 4, 2017
mongo.rb RUBY-1730 Use DatastoreSegment#notice_nosql for Mongo classic inst Apr 4, 2017
mongodb_command_subscriber.rb RUBY-1653 Do not do localhost replacement in instrumentation Nov 3, 2016
net.rb RUBY-1587 Use external request segment for Net:HTTP instrumentation Dec 9, 2016
padrino.rb Add padrino 0.13 routing support Apr 6, 2016
passenger_instrumentation.rb Add license header to source files Feb 22, 2013
queue_time.rb RUBY-1669 remove one more multiple const def conditional Feb 21, 2017
rack.rb RUBY-1644 Remove deprecated NewRelic::Agent::Instrumentation::Rack mo… Feb 16, 2017
rails_middleware.rb check for disabled_middleware_instrumentation first Feb 8, 2016
rainbows_instrumentation.rb RUBY-901 Adding license header to rainbows_instrumentation.rb Feb 27, 2013
rake.rb RUBY-1730 fix tests, add Segment#segment_complete to record node params Apr 11, 2017
redis.rb RUBY-1653 Do not do localhost replacement in instrumentation Nov 3, 2016
resque.rb RUBY-1669 Remove Ruby 1.9 version check and now unused using_version?… Feb 8, 2017
sequel.rb RUBY-1461 Circular require warnings May 14, 2015
sequel_helper.rb RUBY-1440 Map sequel adapters to additional supported datastore products Feb 26, 2015
sidekiq.rb RUBY-1470 Hook into Sidekiq 3.x's error handler May 14, 2015
sinatra.rb RUBY-1644 Remove Rack::ErrorCollector Feb 15, 2017
sunspot.rb RUBY-874: kill all whitespace Jul 1, 2013
typhoeus.rb refactor out NewRelic::VersionNumber in favor of Gem::Version Jan 20, 2017