From fb14a031eeb0c41a607e15e78b09b7709bce2766 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Mon, 18 Nov 2024 16:19:12 -0800 Subject: [PATCH] Update code fences --- newrelic.yml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/newrelic.yml b/newrelic.yml index 764bc53155..f96eaf2538 100644 --- a/newrelic.yml +++ b/newrelic.yml @@ -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 @@ -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 @@ -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. @@ -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