Skip to content

Commit

Permalink
Update newrelic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahramadan authored Oct 30, 2024
1 parent e19f132 commit 2099fab
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ common: &default_settings
# audit_log.path: log/newrelic_audit.log

# An array of CLASS#METHOD (for instance methods) and/or CLASS.METHOD (for class
# methods) strings representing Ruby methods that the agent can automatically
# add custom instrumentation to. This doesn't require any modifications of the
# methods) strings representing Ruby methods for the agent to automatically
# add custom instrumentation to without the need for altering any of the
# source code that defines the methods.
#
# Use fully qualified class names (using the :: delimiter) that include any
Expand All @@ -141,25 +141,23 @@ common: &default_settings
#
# Given that source code, the newrelic.yml config file might request
# instrumentation for both of these methods like so:
#
#
# automatic_custom_instrumentation_method_list:
# - MyCompany::Image#render_png
# - MyCompany::User.notify
#
#
# That configuration example uses YAML array syntax to specify both methods.
# Alternatively, you can use a comma-delimited string:
# Alternatively, a comma-delimited string can be used instead:
#
# automatic_custom_instrumentation_method_list: 'MyCompany::Image#render_png,
# MyCompany::User.notify'
#
# Whitespace around the comma(s) in the list is optional. When configuring the
# agent with a list of methods via the
# NEW_RELIC_AUTOMATIC_CUSTOM_INSTRUMENTATION_METHOD_LIST environment variable,
# use this comma-delimited string format:
# this comma-delimited string format should be used:
#
# export
# NEW_RELIC_AUTOMATIC_CUSTOM_INSTRUMENTATION_METHOD_LIST='MyCompany::Image#render_png,
# MyCompany::User.notify'
# export NEW_RELIC_AUTOMATIC_CUSTOM_INSTRUMENTATION_METHOD_LIST='MyCompany::Image#render_png, MyCompany::User.notify'
#
# automatic_custom_instrumentation_method_list: []

Expand Down

0 comments on commit 2099fab

Please sign in to comment.