<commit_before>#
# This file configures the New Relic Agent.  New Relic monitors Ruby, Java,
# .NET, PHP, Python and Node applications with deep visibility and low
# overhead.  For more information, visit www.newrelic.com.
#
# Generated December 20, 2019
#
#

common: &default_settings
  # Required license key associated with your New Relic account.
  license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>

  # Your application name. Renaming here affects where data displays in New
  # Relic.  For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
  app_name: Quill LMS

  # To disable the agent regardless of other settings, uncomment the following:
  # agent_enabled: false

  # Logging level for log/newrelic_agent.log
  log_level: info

  # https://docs.newrelic.com/docs/apm/agents/ruby-agent/background-jobs/sidekiq-instrumentation/
  sidekiq.capture_params: true

  # https://docs.newrelic.com/docs/apm/agents/ruby-agent/attributes/ruby-attribute-examples/
  attributes.include: request.parameters.*
  attributes.exclude: [request.parameters.password, request.parameters.password_confirmation, request.parameters.email, request.parameters.name]

# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
  <<: *default_settings
  app_name: My Application (Development)
  monitor_mode: false

test:
  <<: *default_settings
  # It doesn't make sense to report to New Relic from automated test runs.
  monitor_mode: false

staging:
  <<: *default_settings
  app_name: Quill LMS (Staging)

production:
  <<: *default_settings<commit_msg>Exclude some params to cut down on data usage. (#9038)<commit_after>#
# This file configures the New Relic Agent.  New Relic monitors Ruby, Java,
# .NET, PHP, Python and Node applications with deep visibility and low
# overhead.  For more information, visit www.newrelic.com.
#
# Generated December 20, 2019
#
#

common: &default_settings
  # Required license key associated with your New Relic account.
  license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>

  # Your application name. Renaming here affects where data displays in New
  # Relic.  For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
  app_name: Quill LMS

  # To disable the agent regardless of other settings, uncomment the following:
  # agent_enabled: false

  # Logging level for log/newrelic_agent.log
  log_level: info

  # https://docs.newrelic.com/docs/apm/agents/ruby-agent/background-jobs/sidekiq-instrumentation/
  sidekiq.capture_params: true

  # https://docs.newrelic.com/docs/apm/agents/ruby-agent/attributes/ruby-attribute-examples/
  attributes.include: request.parameters.*
  # Note, excluding 'active_activity_session' and 'activity_session' to cut down on NR data usage. They are very large params.
  attributes.exclude: [request.parameters.password, request.parameters.password_confirmation, request.parameters.email, request.parameters.name, request.parameters.active_activity_session, request.parameters.activity_session]

# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
  <<: *default_settings
  app_name: My Application (Development)
  monitor_mode: false

test:
  <<: *default_settings
  # It doesn't make sense to report to New Relic from automated test runs.
  monitor_mode: false

staging:
  <<: *default_settings
  app_name: Quill LMS (Staging)

production:
  <<: *default_settings
{'fraction_non_alphanumeric': 0.09025367156208278, 'fraction_numerical': 0.004272363150867824, 'mean_word_length': 4.701674277016743, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1672614', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1092, 'n_words': 341}