Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: dev
Commits on Mar 18, 2015
  1. @mwear

    Merge pull request #1021 from ruby-agent/RUBY-1407-urlmap-initialize

    mwear authored
    RUBY-1407 Revised Rack::URLMap instrumentation
Commits on Mar 17, 2015
  1. @jasonrclark
  2. @jasonrclark
  3. @jasonrclark

    RUBY-1407 Instrument Rack::URLMap

    jasonrclark authored
    This provides better naming by making sure that the top-level elements
    passed into a Rack::URLMap instance get tracing applied. When used
    directly it was common for those Rack apps to miss instrumentation,
    yielding poor naming for transactions within them.
  4. @jasonrclark
  5. @jasonrclark
  6. @mwear

    Merge pull request #1033 from ruby-agent/RUBY-1417-carry-on-without-c…

    mwear authored
    …onfig
    
    RUBY-1417 Allow for failure in init_config
  7. @jasonrclark

    RUBY-1417 CHANGELOG update

    jasonrclark authored
  8. @jasonrclark

    RUBY-1417 Allow for failure in init_config

    jasonrclark authored
    If Rails has been required but isn't actually running, we might try to
    initialize for it but fail. In the case of that failure, log but let the
    agent carry on running.
  9. @mwear

    Merge pull request #1026 from ruby-agent/RUBY-1424-close-connections-…

    mwear authored
    …on-force-restart
    
    RUBY-1424 Close connections on ForceRestartException
  10. @mwear

    Merge pull request #1023 from ruby-agent/RUBY-1450-env-symbol

    mwear authored
    RUBY-1450 Allow passing symbol for env
  11. @mwear

    Merge pull request #1022 from ruby-agent/RUBY-1453-audit-log-stdout

    mwear authored
    RUBY-1453 Support audit logging to STDOUT
Commits on Mar 16, 2015
  1. @mwear

    Merge pull request #1027 from ruby-agent/RUBY-1454-makara-perf

    mwear authored
    RUBY-1454 Modify connection lookup for makara
  2. @jasonrclark

    RUBY-1453 Typo correction

    jasonrclark authored
Commits on Mar 13, 2015
  1. @1337807

    Merge pull request #1030 from ruby-agent/RUBY-1437-third-party-scoped…

    1337807 authored
    …-fix
    
    RUBY-1437 Fix for passing wrong scoped metric
  2. @mwear

    Merge pull request #1032 from ruby-agent/RUBY-1456-sequel

    mwear authored
    RUBY-1456 Scoped metric bug for Sequel
  3. @tkrajcar

    Merge pull request #1031 from ruby-agent/third-party-changelog

    tkrajcar authored
    CHANGELOG for third-party API and doc updates
  4. @mwear

    Merge pull request #1029 from ruby-agent/more-stable-slow-sql-test

    mwear authored
    Make test for SQL trace less flaky
  5. @jasonrclark

    API's -> APIs

    jasonrclark authored
  6. @jasonrclark

    RUBY-1456 Scoped metric bug for Sequel

    jasonrclark authored
    Same fix as other cases.
  7. @jasonrclark
  8. @jasonrclark

    RUBY-1437 Fix for passing wrong scoped metric

    jasonrclark authored
    Similar problem to what we had in ActiveRecord instrumentation,
    trace_execution_scoped was modifying the array that we were subsequently
    using. Because these API's are new, and we only really needed the scoped
    metric, I just changed them to take that single metric instead of the
    full list which avoids unnecessary allocation.
Commits on Mar 12, 2015
  1. @jasonrclark

    Make test for SQL trace less flaky

    jasonrclark authored
    Was depending on ordering, no reason to do that.
  2. @tkrajcar

    Merge pull request #1028 from ruby-agent/RUBY-1456-sql-trace-associat…

    tkrajcar authored
    …ed-metrics
    
    RUBY-1456 Associate SQL traces with proper metric
  3. @jasonrclark

    RUBY-1456 Gather metric name before array mutation

    jasonrclark authored
    Calls to trace_execution_scoped actually mutate the metrics array that
    is passed in. Our SQL sampler was relying on metrics.first, which was
    then mis-attributed to the second metric in the list, not the scoped
    metric.
  4. @jasonrclark
  5. @jasonrclark
  6. @jasonrclark

    RUBY-1454 Modify connection lookup for makara

    jasonrclark authored
    Based on taskrabbit/makara#59, there were perf
    issues in looking up the connection from the pool when on ActiveRecord
    4.x using the makara adapter.
    
    While this was a problem with makara itself, @mnelson suggested
    alternate lookup code which works with makara and actually allocates
    less, so we're updating to use that.
  7. @jasonrclark

    RUBY-1424 Close connections on ForceRestartException

    jasonrclark authored
    If a shared connection was being held when a ForceRestartException was
    received, this wouldn't close the connection. While not directly a
    problem since the connection is likely to die and be re-established next
    time around, it's best if we clean things up when we're restarting.
Commits on Mar 11, 2015
  1. @mwear

    Merge pull request #1025 from ruby-agent/datastore-perf

    mwear authored
    RUBY-1437 Datastore Performance Tuning
  2. @jasonrclark

    RUBY-1437 Perf test for ActiveRecordHelper

    jasonrclark authored
    This also nicely exercises the Datastores::MetricHelper for us.
  3. @jasonrclark
  4. @jasonrclark

    RUBY-1437 Avoid allocations on known names

    jasonrclark authored
    Our ActiveRecord operation mapping pretended like it didn't know values
    we'd be passed. This is silly, and makes extra work so just map out the
    actual values we will see to the desired outcomes and let the rest
    happen by downcase.
  5. @jasonrclark

    RUBY-1437 Reduce allocations breaking model/op name

    jasonrclark authored
    This reduces by 2 allocations per query which is worth the slightly more
    verbose code
  6. @jasonrclark

    RUBY-1437 Better perf for Datastores::MetricHelper

    jasonrclark authored
    Avoid using String#sub to generate product-specific rollup metrics.
Something went wrong with that request. Please try again.