Skip to content

Commit

Permalink
Merge pull request #3052 from brnhensley/patch-1
Browse files Browse the repository at this point in the history
chore: move ignore_classes in docs
  • Loading branch information
hannahramadan authored Feb 19, 2025
2 parents 8e243ba + c68f35b commit 4b40692
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions lib/new_relic/agent/configuration/default_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -698,20 +698,6 @@ def self.enforce_fallback(allowed_values: nil, fallback: nil)
:description => 'Specify a threshold in seconds. Transactions with a duration longer than this threshold are eligible for transaction traces. Specify a float value or the string `apdex_f`.'
},
# Error collector
:'error_collector.ignore_classes' => {
:default => ['ActionController::RoutingError', 'Sinatra::NotFound'],
:public => true,
:type => Array,
:allowed_from_server => true,
:dynamic_name => true,
:description => <<~DESCRIPTION
A list of error classes that the agent should ignore.
<Callout variant="caution">
This option can't be set via environment variable.
</Callout>
DESCRIPTION
},
:'error_collector.capture_events' => {
:default => value_of(:'error_collector.enabled'),
:documentation_default => true,
Expand Down Expand Up @@ -764,7 +750,20 @@ def self.enforce_fallback(allowed_values: nil, fallback: nil)
:dynamic_name => true,
:description => 'A comma separated list of status codes, possibly including ranges. Errors associated with these status codes, where applicable, will be treated as expected.'
},
:'error_collector.ignore_classes' => {
:default => ['ActionController::RoutingError', 'Sinatra::NotFound'],
:public => true,
:type => Array,
:allowed_from_server => true,
:dynamic_name => true,
:description => <<~DESCRIPTION
A list of error classes that the agent should ignore.
<Callout variant="caution">
This option can't be set via environment variable.
</Callout>
DESCRIPTION
},
:'error_collector.ignore_messages' => {
:default => {},
:public => true,
Expand Down

0 comments on commit 4b40692

Please sign in to comment.