From 8322c53083587f21e1c5433a82ab75861e6403f1 Mon Sep 17 00:00:00 2001 From: newrelic-ruby-agent-bot Date: Mon, 11 Sep 2023 22:51:54 +0000 Subject: [PATCH] bump version --- CHANGELOG.md | 4 ++-- lib/new_relic/version.rb | 4 ++-- newrelic.yml | 45 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c4cb22282..73f65e4c06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # New Relic Ruby Agent Release Notes -## dev +## v9.5.0 -Version introduces Stripe instrumentation, allows the agent to record additional response information on a transaction when middleware instrumentation is disabled, introduces new `:'sidekiq.args.include'` and `:'sidekiq.args.exclude:` configuration options to permit capturing only certain Sidekiq job arguments, updates Elasticsearch datastore instance metrics, and fixes a bug in `NewRelic::Rack::AgentHooks.needed?`. +Version 9.5.0 introduces Stripe instrumentation, allows the agent to record additional response information on a transaction when middleware instrumentation is disabled, introduces new `:'sidekiq.args.include'` and `:'sidekiq.args.exclude:` configuration options to permit capturing only certain Sidekiq job arguments, updates Elasticsearch datastore instance metrics, and fixes a bug in `NewRelic::Rack::AgentHooks.needed?`. - **Feature: Add Stripe instrumentation** diff --git a/lib/new_relic/version.rb b/lib/new_relic/version.rb index 415fcef887..2212f8a740 100644 --- a/lib/new_relic/version.rb +++ b/lib/new_relic/version.rb @@ -6,8 +6,8 @@ module NewRelic module VERSION # :nodoc: MAJOR = 9 - MINOR = 4 - TINY = 2 + MINOR = 5 + TINY = 0 STRING = "#{MAJOR}.#{MINOR}.#{TINY}" end diff --git a/newrelic.yml b/newrelic.yml index 6aa5454354..9d74fa56a6 100644 --- a/newrelic.yml +++ b/newrelic.yml @@ -223,6 +223,9 @@ common: &default_settings # If true, the agent won't wrap third-party middlewares in instrumentation # (regardless of whether they are installed via Rack::Builder or Rails). + # When middleware instrumentation is disabled, if an application is using + # middleware that could alter the response code, the HTTP status code reported on + # the transaction may not reflect the altered value. # disable_middleware_instrumentation: false # If true, disables agent middleware for Roda. This middleware is responsible for @@ -494,6 +497,10 @@ common: &default_settings # prepend, chain, disabled. # instrumentation.sinatra: auto + # Controls auto-instrumentation of Stripe at startup. May be one of: enabled, + # disabled. + # instrumentation.stripe: enabled + # Controls auto-instrumentation of the Thread class at start up to allow the agent # to correctly nest spans inside of an asynchronous transaction. This does not # enable the agent to automatically trace all threads created (see @@ -585,6 +592,26 @@ common: &default_settings # before shutting down. # send_data_on_exit: true + # An array of strings that will collectively serve as a denylist for filtering + # which Sidekiq job arguments get reported to New Relic. To capture any Sidekiq + # arguments, 'job.sidekiq.args.*' must be added to the separate + # :'attributes.include' configuration option. Each string in this array will be + # turned into a regular expression via Regexp.new to permit advanced matching. For + # job argument hashes, if either a key or value matches the pair will be excluded. + # All matching job argument array elements and job argument scalars will be + # excluded. + # sidekiq.args.exclude: [] + + # An array of strings that will collectively serve as an allowlist for filtering + # which Sidekiq job arguments get reported to New Relic. To capture any Sidekiq + # arguments, 'job.sidekiq.args.*' must be added to the separate + # :'attributes.include' configuration option. Each string in this array will be + # turned into a regular expression via Regexp.new to permit advanced matching. For + # job argument hashes, if either a key or value matches the pair will be included. + # All matching job argument array elements and job argument scalars will be + # included. + # sidekiq.args.include: [] + # If true, the agent collects slow SQL queries. # slow_sql.enabled: true @@ -634,6 +661,24 @@ common: &default_settings # allowlist. Enabled automatically in high security mode. # strip_exception_messages.enabled: false + # An array of strings to specify which keys and/or values inside a Stripe event's + # user_data hash should + # not be reported to New Relic. Each string in this array will be turned into a + # regular expression via + # Regexp.new to permit advanced matching. For each hash pair, if either the key or + # value is matched the + # pair will not be reported. By default, no user_data is reported, so this option + # should only be used if + # the stripe.user_data.include option is being used. + # stripe.user_data.exclude: [] + + # An array of strings to specify which keys inside a Stripe event's user_data hash + # should be reported + # to New Relic. Each string in this array will be turned into a regular expression + # via Regexp.new to + # permit advanced matching. Setting the value to ["."] will report all user_data. + # stripe.user_data.include: [] + # When set to true, forces a synchronous connection to the New Relic collector # during application startup. For very short-lived processes, this helps ensure # the New Relic agent has time to report.