Permalink
Switch branches/tags
Commits on Oct 28, 2017
  1. Merge pull request #1615 from ruby-agent/dev

    Dana Scheider committed with GitHub Enterprise Oct 28, 2017
    Ruby Agent 4.6.0 RC 1
Commits on Oct 26, 2017
  1. Merge pull request #1614 from ruby-agent/prepare_for_4_6_release

    Dana Scheider committed with GitHub Enterprise Oct 26, 2017
    Prepare for 4.6 release
  2. Merge pull request #1613 from ruby-agent/fix_flaky_tracing_test

    Dana Scheider committed with GitHub Enterprise Oct 26, 2017
    Fix intermittent test failure
  3. Merge pull request #1611 from ruby-agent/revert-1606-RUBY-1732_flexib…

    Dana Scheider committed with GitHub Enterprise Oct 26, 2017
    …le_parenting
    
    Revert "RUBY-1732 Flexible parenting"
Commits on Oct 24, 2017
  1. Add link to docs in Changelog

    mwear committed Oct 24, 2017
  2. Prepare for 4.6 release

    mwear committed Oct 24, 2017
Commits on Oct 23, 2017
  1. Merge pull request #1612 from aharvey/go-exists

    mwear committed with GitHub Enterprise Oct 23, 2017
    Add Go to the newrelic.yml template comment
  2. Fix intermittent test failure

    mwear committed Oct 23, 2017
    The test_txn_not_recorded_when_tracing_is_disabled test intermittently
    fails due to a previous test leaving a transaction in the buffer.
    Adding a call to Agent.drop_buffered_data in setup fixes this.
Commits on Oct 20, 2017
Commits on Oct 19, 2017
  1. Revert "RUBY-1732 Flexible parenting"

    mwear committed with GitHub Enterprise Oct 19, 2017
Commits on Oct 13, 2017
  1. Merge pull request #1608 from ruby-agent/see_you_space_cowboy

    mwear committed with GitHub Enterprise Oct 13, 2017
    see you space cowboy
Commits on Oct 9, 2017
  1. see you space cowboy

    Kenichi Nakamura committed Oct 9, 2017
  2. Merge pull request #1606 from ruby-agent/RUBY-1732_flexible_parenting

    Kenichi Nakamura committed with GitHub Enterprise Oct 9, 2017
    RUBY-1732 Flexible parenting
  3. RUBY-1732 Post revert fixes

    mwear committed Oct 9, 2017
  4. Revert "RUBY-1732 Kwargify Segment constructor"

    mwear committed Oct 9, 2017
    Kwargs in constructors incur additional object allocations.
  5. Revert "RUBY-1732 Kwargify AbstractSegment constructor"

    mwear committed Oct 9, 2017
    Kwargs in constructors incur additional object allocations.
  6. Revert "RUBY-1732 Kwargify DatastoreSegment constructor"

    mwear committed Oct 9, 2017
    Kwargs in constructors incur additional object
    allocations.
  7. Revert "RUBY-1732 Kwargify ExternalRequestSegment constructor"

    mwear committed Oct 9, 2017
    Kwargs in constructors incur additional object allocations.
Commits on Oct 6, 2017
  1. RUBY-1732 Add start_time option for Tracing APIs

    mwear committed Oct 6, 2017
    When adding flexible parenting I noticed some of the segment API methods
    had start time, others didn't. This commit adds to the ones that didn't
    to make the APIs more consistent.
Commits on Oct 4, 2017
  1. Merge pull request #1605 from ruby-agent/RUBY-1747_defer_trace_building

    Kenichi Nakamura committed with GitHub Enterprise Oct 4, 2017
    RUBY-1747 Defer trace building
Commits on Oct 3, 2017
Commits on Oct 2, 2017
  1. RUBY-1747 Re-enable, update, and move commented out tests

    mwear committed Oct 2, 2017
    Some tests were commented out while this refactor was in progress. Tests have
    been preserved for the most part, but some have been moved or modified. Tests
    that were covered elsewhere were deleted.
  2. RUBY-1747 Avoid edge case by moving trace creation to TransactionSampler

    mwear committed Oct 2, 2017
    This fixes the situation described in the last commit, where we could end
    up creating a trace twice if, for example, you had a synthetics request
    that was also your slowest transaction. Previously, each buffer would
    convert transaction to traces independently. This change moves trace
    creation outside of the buffers to the TransactionSampler. Now we can
    unique the collection of transactions before creating traces, and avoid
    building a trace twice.
  3. RUBY-1747 Defer trace creation until harvest

    mwear committed Sep 29, 2017
    This is the goal of the branch of work, deferring trace creation until
    harvest. The buffers that store transactions now need to work in mixed
    mode. That is, some of the items will be transaction objects, others will
    be traces. For the most part the items should be transactions, but in the
    event of a failed harvest we will merge in trace objects. In order
    to facilitate this a handful of methods needed to be added to the Transaction
    class to give it the same interface as Trace. Another oddity of this change
    is that it is possible for a Transaction to be admitted to more than one buffer.
    One case where this can happen is if you have a synthetics request that is also
    the slowest transaction. In this case we will end up building two traces since
    each buffer holds on to a raw transaction and converts it into a trace at the
    last minute. There are several ways we can solve this problem, we'll settle on
    one in an upcoming commit.
    
    Here are the initial perf results:
    
    mwear:ruby_agent mwear$ be ./test/performance/script/runner -n test_basic_middleware_stack -C
    1 tests, 0 failures, 7.516735 s total
    +--------------------------------------------+-----------+-----------+--------+---------------+--------------+--------------+
    | name                                       | before    | after     | delta  | allocs_before | allocs_after | allocs_delta |
    |--------------------------------------------+-----------+-----------+--------+---------------+--------------+--------------|
    | RackMiddleware#test_basic_middleware_stack | 448.47 µs | 400.10 µs | -10.8% |           286 |          250 |       -12.6% |
    +--------------------------------------------+-----------+-----------+--------+---------------+--------------+--------------+