Version 8.12.0 of the agent delivers new Elasticsearch instrumentation, some valuable code cleanup, increases the default number of recorded Custom Events, and announces the deprecation of Ruby 2.3.
Support for Elasticsearch instrumentation
This release adds support to automatically instrument the elasticsearch gem. Versions 7.x and 8.x are supported. PR#1525
Configuration name
Default
Behavior
instrumentation.elasticsearch
auto
Controls auto-instrumentation of the elasticsearch library at start up. May be one of auto, prepend, chain, disabled.
elasticsearch.capture_queries
true
If true, the agent captures Elasticsearch queries in transaction traces.
elasticsearch.obfuscate_queries
true
If true, the agent obfuscates Elasticsearch queries in transaction traces.
Cleanup: Remove orphaned code from unit tests
As outlined by newrelic/newrelic-ruby-agent#1181, the project's unit tests have ended up with orphaned content that has become vestigal. Some good related cleanup was performed for this release. PR#1537
Thank you to @ohbarye for contributing this helpful cleanup!
Increase default for custom_insights_events.max_samples_stored
New Relic has discovered a large number of Custom Events are dropped due to the configured value for custom_insights_events.max_samples_stored. In an effort to help customers receive more of their custom events, we're raising the default maximum value for custom events stored per minute from 1,000 events to 3,000 events. The highest possible number of events that can be sent per minute is 100,000.
Deprecate support for Ruby 2.3
Ruby 2.3 reached end of life on March 31, 2019. The Ruby agent has deprecated support for Ruby 2.3 and will make breaking changes for this version in its next major release, v9.0.0 (release date not yet planned). All 8.x.x versions of the agent will remain compatible with Ruby 2.3.
v8.11.0
Version 8.11.0 of the agent updates the newrelic deployments command to work with API keys issued to newer accounts, fixes a memory leak in the instrumentation of Curb error handling, further preps for Ruby 3.2.0 support, and includes several community member driven cleanup and improvement efforts. Thank you to everyone involved!
Added support for New Relic REST API v2 when using newrelic deployments command
Previously, the newrelic deployments command only supported the older version of the deployments api, which does not currently support newer license keys. Now you can use the New Relic REST API v2 to record deployments by providing your user API key to the agent configuration using api_key. When this configuration option is present, the newrelic deployments command will automatically use the New Relic REST API v2 deployment endpoint. PR#1461
Thank you to @Arkham for bringing this to our attention!
Cleanup: Performance tests, constants, rubocop-minitest assertions and refutations
Community member @esquith contributed a whole slew of cleanup successes for our performance test configuration, orphaned constants in our code base, and RuboCop related improvements. PR#1406PR#1408PR#1409PR#1411
Thank you @esquith for these great contributions!
... (truncated)
Commits
9a58e24 Merge pull request #1535 from newrelic/dr_perf_md
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Coverage remained the same at 78.723% when pulling b3e666676076eb4d8289e942bfa80a4101a9c6fd on dependabot/bundler/newrelic_rpm-8.11.0 into c421d47bdd4448d1ead8ef61631bdf0e9a6d7ed5 on master.
Bumps newrelic_rpm from 8.10.1 to 8.11.0.
Release notes
Sourced from newrelic_rpm's releases.
Changelog
Sourced from newrelic_rpm's changelog.
... (truncated)
Commits
9a58e24
Merge pull request #1535 from newrelic/dr_perf_md93d2386
perf tests: use markdown4a2a3d7
Merge pull request #1532 from newrelic/v8110_release_notes_docs_site_backport48a5ea4
CHANGELOG updates for v8.11.0a5a1e40
Merge pull request #1531 from newrelic/8110_version_bump2f8da55
bump version to 8.11.0e8d11f7
Merge pull request #1530 from newrelic/811_changelog_updates24855d4
CHANGELOG typo fixesa5775bb
CHANGELOG: PR 1530 feedback based changes4d5b812
Update CHANGELOG.mdDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)