Skip to content

Commit

Permalink
Line length fixes for RuboCop
Browse files Browse the repository at this point in the history
We don't typically break up the description lines, but our RuboCop todo
file has a threshold of the longest known line so let's not break that
threshold.
  • Loading branch information
fallwith committed Aug 26, 2023
1 parent 7996532 commit 55940fb
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions lib/new_relic/agent/configuration/default_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1722,14 +1722,24 @@ def self.enforce_fallback(allowed_values: nil, fallback: nil)
public: true,
type: Array,
allowed_from_server: false,
description: "An array of strings that will collectively serve as an allowlist for filtering which Sidekiq job arguments get reported to New Relic. The capturing of any Sidekiq arguments requires that 'job.sidekiq.args.*' 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."
description: 'An array of strings that will collectively serve as an allowlist for filtering which Sidekiq ' +
'job arguments get reported to New Relic. The capturing of any Sidekiq arguments requires that ' +
"'job.sidekiq.args.*' 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.exclude' => {
default: NewRelic::EMPTY_ARRAY,
public: true,
type: Array,
allowed_from_server: false,
description: "An array of strings that will collectively serve as a denylist for filtering which Sidekiq job arguments get reported to New Relic. The capturing of any Sidekiq arguments requires that 'job.sidekiq.args.*' 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."
description: 'An array of strings that will collectively serve as a denylist for filtering which Sidekiq ' +
'job arguments get reported to New Relic. The capturing of any Sidekiq arguments requires that ' +
"'job.sidekiq.args.*' 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.'
},
# Slow SQL
:'slow_sql.enabled' => {
Expand Down

0 comments on commit 55940fb

Please sign in to comment.