Skip to content

Commit

Permalink
Update code fences
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Nov 19, 2024
1 parent 57a6396 commit fb14a03
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ common: &default_settings
# Here is some Ruby source code that defines a render_png instance method for an
# Image class and a notify class method for a User class, both within a
# MyCompany module namespace:
# ``ruby
#
# module MyCompany
# class Image
# def render_png
Expand All @@ -142,29 +142,28 @@ common: &default_settings
# end
# end
# end
# `
#
# Given that source code, the newrelic.yml config file might request
# instrumentation for both of these methods like so:
# `yml
# 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:
# `yml
#
# 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:
# `sh
#
# export
# NEW_RELIC_AUTOMATIC_CUSTOM_INSTRUMENTATION_METHOD_LIST='MyCompany::Image#render_png,
# MyCompany::User.notify'
# ``
#
# automatic_custom_instrumentation_method_list: []

# Specify a list of constants that should prevent the agent from starting
Expand Down Expand Up @@ -322,18 +321,7 @@ common: &default_settings
# If true, disables agent middleware for Sinatra. This middleware is responsible
# for advanced feature support such as cross application tracing, page load
# timing, and error collection.
# Cross application tracing is deprecated in favor of distributed tracing.
# Distributed tracing is on by default for Ruby agent versions 8.0.0 and above.
# Middlewares are not required to support distributed tracing.
# To continue using cross application tracing, update the following options in
# your newrelic.yml configuration file:
# ``yaml
# # newrelic.yml
# cross_application_tracer:
# enabled: true
# distributed_tracing:
# enabled: false
# ``
#
# disable_sinatra_auto_middleware: false

# If true, disables view instrumentation.
Expand Down Expand Up @@ -961,7 +949,7 @@ common: &default_settings
# NOTE: All "security.*" configuration parameters are related only to the
# security agent, and all other configuration parameters that may
# have "security" in the name somewhere are related to the APM agent.

# If true, the security agent is loaded (a Ruby 'require' is performed)
# security.agent.enabled: false

Expand Down

0 comments on commit fb14a03

Please sign in to comment.