Skip to content

Commit

Permalink
Merge pull request #402 from newrelic/prerelease_updates_v6.13.0
Browse files Browse the repository at this point in the history
Release preparation for version 6.13.0
  • Loading branch information
Rachel Klein authored Aug 28, 2020
2 parents 1cdcbd5 + db8e611 commit 097399a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 24 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# New Relic Ruby Agent Release Notes #

## v6.13.0

* **Bugfix: never use redirect host when accessing preconnect endpoint**

When connecting to New Relic, the Ruby Agent uses the value in `Agent.config[:host]` to post a request to the New Relic preconnect endpoint. This endpoint returns a "redirect host" which is the URL to which agents send data from that point on.
Expand All @@ -8,12 +10,34 @@
endpoint, when it should have used the original configured value in `Agent.config[:host]`. The agent now uses the correct host
for all calls to preconnect.

* **Bugfix: calling `add_custom_attributes` no longer modifies the params of the caller**

The previous agent's improvements to recording attributes at the span level had an unexpected
side-effect of modifying the params passed to the API call as duplicated attributes were deleted
in the process. This is now fixed and params passed in are no longer modified.

Thanks to Pete Johns (@johnsyweb) for the PR that resolves this bug.

* **Bugfix: `http.url` query parameters spans are now obfuscated**

Previously, the agent was recording the full URL of the external requests, including
the query and fragment parts of the URL as part of the attributes on the external request
span. This has been fixed so that the URL is obfuscated to filter out potentially sensitive data.

* **Use system SSL certificates by default**

The Ruby agent previously used a root SSL/TLS certificate bundle by default. Now the agent will attempt to use
the default system certificates, but will fall back to the bundled certs if there is an issue (and log that this occurred).

* **Bugfix: reduce allocations for segment attributes**

Previously, every segment received an `Attributes` object on initialization. The agent now lazily creates attributes
on segments, resulting in a significant reduction in object allocations for a typical transaction.

* **Bugfix: eliminate errors around Rake::VERSION with Rails**

When running a Rails application with rake tasks, customers could see the following error:

* **Prevent connecting agent thread from hanging on shutdown**

A bug in `Net::HTTP`'s Gzip decoder can cause the (un-catchable)
Expand All @@ -39,6 +63,12 @@

Thanks to @CamilleDrapier for pointing out this issue.

* **Remove NewRelic::Metrics**

The `NewRelic::Metrics` module has been removed from the agent since it is no longer used.

Thanks to @csaura for the contribution!

## v6.12.0

* The New Relic Ruby Agent is now open source under the [Apache 2 license](LICENSE)
Expand Down
2 changes: 1 addition & 1 deletion lib/new_relic/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def self.build_version_string(*parts)
end

MAJOR = 6
MINOR = 12
MINOR = 13
TINY = 0

begin
Expand Down
23 changes: 0 additions & 23 deletions test/performance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,6 @@ There are two main goals driving the development of this framework:

## Examples

### Invoking via rake task

Basic performance test invocations can be done using a rake task provided in the
newrelic_rpm Rakefile.

Run all performance tests, reporting results to the console:

```
$ rake test:performance
```

Run one specific suite:

```
$ rake test:performance[TransactionTracingPerfTests]
```

Run one specific suite and test (test name matching is via regex):

```
$ rake test:performance[TransactionTracingPerfTests,test_short_transactions]
```

### Invoking via the runner directly

More advanced options can be specified by invoking the runner script directly.
Expand Down

0 comments on commit 097399a

Please sign in to comment.