Permalink
Switch branches/tags
Commits on Feb 27, 2012
  1. Update Dataset instrumentation to prevent metric explosion

    kevintom committed Feb 27, 2012
    - https://newrelic.com/docs/general/what-is-metric-explosion
    - logging every sql query is bad for new_relic, also there could be
      sensitive data leakage
    - i could not find a better identifier that would always be there or
      that wouldn't possibly throw an exception, so I resorted to bucketing
    them into "Dataset"
Commits on Feb 10, 2012
  1. Removing method calls to methods that don't always exist

    kevintom committed Feb 10, 2012
    - first_source isn't always available
    - Models are dataset and have a #model and #first_source but a dataset
      isn't necessarily a model, so it will not always respond to those
    method calls.
Commits on Feb 7, 2012
  1. Update instrumentation on Sequel::Dataset

    kevintom committed Feb 7, 2012
    - not all datasets respond to .model, datasets based on model classes do
      but if you make a raw SQL query the dataset object does not
    - check if the object responds to model before calling it, and if it
      does not then call first_source
    - also make it explicit calling self.model
Commits on Dec 15, 2011
Commits on Dec 14, 2011
  1. RUBY-742 Re-raise it so we know to disable serialization

    Sam Goldstein
    Sam Goldstein committed Dec 14, 2011
Commits on Dec 9, 2011
  1. Quick fix for errors re permissions in serialization

    Sam Goldstein
    Sam Goldstein committed Dec 5, 2011
    This should disable_serialization if any issue is encountered in
    save_or_transmit_data
Commits on Dec 7, 2011
  1. Don't lie to people

    Sam Goldstein
    Sam Goldstein committed Dec 7, 2011
    This warning is wrong more often than it's right.  Shut it up for now.
Commits on Dec 2, 2011
Commits on Dec 1, 2011
  1. Don't force syck with JRuby running in 1.9 mode

    Robert Rasmussen authored and gnarg committed Dec 1, 2011
Commits on Nov 30, 2011
  1. No longer need to expire the NRAGENT cookie - Browser JavaScript expi…

    darinrelic committed Nov 30, 2011
    …res the cookie in 1 second
Commits on Nov 29, 2011
Commits on Nov 28, 2011
  1. fix for syntax warning

    gnarg committed Nov 28, 2011
Commits on Nov 22, 2011
Commits on Nov 21, 2011
Commits on Nov 18, 2011
  1. Update comments for time conversions in gc_profiler

    Sam Goldstein
    Sam Goldstein committed Nov 18, 2011
Commits on Nov 16, 2011
  1. fixed test environment path

    gnarg committed Nov 16, 2011
  2. No boolean logic here

    Sam Goldstein
    Sam Goldstein committed Nov 16, 2011
  3. RUBY-725 - Basic fix

    Sam Goldstein
    Sam Goldstein committed Nov 16, 2011
    Don't clear TransactionInfo if auto instrumentation is enabled.  This
    prevents the info about the cookies configured by the middleware from
    being lost when the request is cleared again
Commits on Nov 11, 2011
Commits on Nov 10, 2011
Commits on Nov 8, 2011
  1. Don't check dependencies in delayed_job_injection.rb if Rails is defined

    Lewis Marshall Sam Goldstein
    Lewis Marshall authored and Sam Goldstein committed Nov 8, 2011
    This was causing NewRelic::Control to be instantiated (in the depends_on block) before Rails had initialized.
    
    DependencyDetection.detect! is called in the Rails#init_config method anyway so no need to call it here.