PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/config/newrelic.yml

https://bitbucket.org/evnpr/q
YAML | 234 lines | 33 code | 34 blank | 167 comment | 0 complexity | 0847b3b0acab04628f45f7644044735d MD5 | raw file
  1. #
  2. # This file configures the New Relic Agent. New Relic monitors
  3. # Ruby, Java, .NET, PHP, and Python applications with deep visibility and low overhead.
  4. # For more information, visit www.newrelic.com.
  5. #
  6. # Generated February 28, 2013
  7. #
  8. # This configuration file is custom generated for unyumenye
  9. # Here are the settings that are common to all environments:
  10. common: &default_settings
  11. # ============================== LICENSE KEY ===============================
  12. # You must specify the license key associated with your New Relic
  13. # account. This key binds your Agent's data to your account in the
  14. # New Relic service.
  15. license_key: '923f6477b01acd4492f0493a81fb2bf10ab44bc8'
  16. # Agent Enabled (Ruby/Rails Only)
  17. # Use this setting to force the agent to run or not run.
  18. # Default is 'auto' which means the agent will install and run only
  19. # if a valid dispatcher such as Mongrel is running. This prevents
  20. # it from running with Rake or the console. Set to false to
  21. # completely turn the agent off regardless of the other settings.
  22. # Valid values are true, false and auto.
  23. #
  24. # agent_enabled: auto
  25. # Application Name Set this to be the name of your application as
  26. # you'd like it show up in New Relic. The service will then auto-map
  27. # instances of your application into an "application" on your
  28. # dashboard page. If you want to map this instance into multiple
  29. # apps, like "AJAX Requests" and "All UI" then specify a semicolon
  30. # separated list of up to three distinct names, or a yaml list.
  31. # Defaults to the capitalized RAILS_ENV or RACK_ENV (i.e.,
  32. # Production, Staging, etc)
  33. #
  34. # Example:
  35. #
  36. # app_name:
  37. # - Ajax Service
  38. # - All Services
  39. #
  40. # Application Name
  41. # Set this to be the name of your application as you'd like it show
  42. # up in New Relic. New Relic will then auto-map instances of your application
  43. # into a New Relic "application" on your home dashboard page. If you want
  44. # to map this instance into multiple apps, like "AJAX Requests" and
  45. # "All UI" then specify a semicolon-separated list of up to three
  46. # distinct names. If you comment this out, it defaults to the
  47. # capitalized RAILS_ENV (i.e., Production, Staging, etc)
  48. app_name: My Application
  49. # When "true", the agent collects performance data about your
  50. # application and reports this data to the New Relic service at
  51. # newrelic.com. This global switch is normally overridden for each
  52. # environment below. (formerly called 'enabled')
  53. monitor_mode: true
  54. # Developer mode should be off in every environment but
  55. # development as it has very high overhead in memory.
  56. developer_mode: false
  57. # The newrelic agent generates its own log file to keep its logging
  58. # information separate from that of your application. Specify its
  59. # log level here.
  60. log_level: info
  61. # Optionally set the path to the log file This is expanded from the
  62. # root directory (may be relative or absolute, e.g. 'log/' or
  63. # '/var/log/') The agent will attempt to create this directory if it
  64. # does not exist.
  65. # log_file_path: 'log'
  66. # Optionally set the name of the log file, defaults to 'newrelic_agent.log'
  67. # log_file_name: 'newrelic_agent.log'
  68. # The newrelic agent communicates with the service via https by default. This
  69. # prevents eavesdropping on the performance metrics transmitted by the agent.
  70. # The encryption required by SSL introduces a nominal amount of CPU overhead,
  71. # which is performed asynchronously in a background thread. If you'd prefer
  72. # to send your metrics over http uncomment the following line.
  73. # ssl: false
  74. #============================== Browser Monitoring ===============================
  75. # New Relic Real User Monitoring gives you insight into the performance real users are
  76. # experiencing with your website. This is accomplished by measuring the time it takes for
  77. # your users' browsers to download and render your web pages by injecting a small amount
  78. # of JavaScript code into the header and footer of each page.
  79. browser_monitoring:
  80. # By default the agent automatically injects the monitoring JavaScript
  81. # into web pages. Set this attribute to false to turn off this behavior.
  82. auto_instrument: true
  83. # Proxy settings for connecting to the New Relic server.
  84. #
  85. # If a proxy is used, the host setting is required. Other settings
  86. # are optional. Default port is 8080.
  87. #
  88. # proxy_host: hostname
  89. # proxy_port: 8080
  90. # proxy_user:
  91. # proxy_pass:
  92. # The agent can optionally log all data it sends to New Relic servers to a
  93. # separate log file for human inspection and auditing purposes. To enable this
  94. # feature, change 'enabled' below to true.
  95. # See: https://newrelic.com/docs/ruby/audit-log
  96. audit_log:
  97. enabled: false
  98. # Tells transaction tracer and error collector (when enabled)
  99. # whether or not to capture HTTP params. When true, frameworks can
  100. # exclude HTTP parameters from being captured.
  101. # Rails: the RoR filter_parameter_logging excludes parameters
  102. # Java: create a config setting called "ignored_params" and set it to
  103. # a comma separated list of HTTP parameter names.
  104. # ex: ignored_params: credit_card, ssn, password
  105. capture_params: false
  106. # Transaction tracer captures deep information about slow
  107. # transactions and sends this to the New Relic service once a
  108. # minute. Included in the transaction is the exact call sequence of
  109. # the transactions including any SQL statements issued.
  110. transaction_tracer:
  111. # Transaction tracer is enabled by default. Set this to false to
  112. # turn it off. This feature is only available at the Professional
  113. # product level.
  114. enabled: true
  115. # Threshold in seconds for when to collect a transaction
  116. # trace. When the response time of a controller action exceeds
  117. # this threshold, a transaction trace will be recorded and sent to
  118. # New Relic. Valid values are any float value, or (default) "apdex_f",
  119. # which will use the threshold for an dissatisfying Apdex
  120. # controller action - four times the Apdex T value.
  121. transaction_threshold: apdex_f
  122. # When transaction tracer is on, SQL statements can optionally be
  123. # recorded. The recorder has three modes, "off" which sends no
  124. # SQL, "raw" which sends the SQL statement in its original form,
  125. # and "obfuscated", which strips out numeric and string literals.
  126. record_sql: obfuscated
  127. # Threshold in seconds for when to collect stack trace for a SQL
  128. # call. In other words, when SQL statements exceed this threshold,
  129. # then capture and send to New Relic the current stack trace. This is
  130. # helpful for pinpointing where long SQL calls originate from.
  131. stack_trace_threshold: 0.500
  132. # Determines whether the agent will capture query plans for slow
  133. # SQL queries. Only supported in mysql and postgres. Should be
  134. # set to false when using other adapters.
  135. # explain_enabled: true
  136. # Threshold for query execution time below which query plans will not
  137. # not be captured. Relevant only when `explain_enabled` is true.
  138. # explain_threshold: 0.5
  139. # Error collector captures information about uncaught exceptions and
  140. # sends them to New Relic for viewing
  141. error_collector:
  142. # Error collector is enabled by default. Set this to false to turn
  143. # it off. This feature is only available at the Professional
  144. # product level.
  145. enabled: true
  146. # Rails Only - tells error collector whether or not to capture a
  147. # source snippet around the place of the error when errors are View
  148. # related.
  149. capture_source: true
  150. # To stop specific errors from reporting to New Relic, set this property
  151. # to comma-separated values. Default is to ignore routing errors,
  152. # which are how 404's get triggered.
  153. ignore_errors: ActionController::RoutingError
  154. # If you're interested in capturing memcache keys as though they
  155. # were SQL uncomment this flag. Note that this does increase
  156. # overhead slightly on every memcached call, and can have security
  157. # implications if your memcached keys are sensitive
  158. # capture_memcache_keys: true
  159. # Application Environments
  160. # ------------------------------------------
  161. # Environment-specific settings are in this section.
  162. # For Rails applications, RAILS_ENV is used to determine the environment.
  163. # For Java applications, pass -Dnewrelic.environment <environment> to set
  164. # the environment.
  165. # NOTE if your application has other named environments, you should
  166. # provide newrelic configuration settings for these environments here.
  167. development:
  168. <<: *default_settings
  169. # Turn off communication to New Relic service in development mode (also
  170. # 'enabled').
  171. # NOTE: for initial evaluation purposes, you may want to temporarily
  172. # turn the agent on in development mode.
  173. monitor_mode: false
  174. # Rails Only - when running in Developer Mode, the New Relic Agent will
  175. # present performance information on the last 100 transactions you have
  176. # executed since starting the mongrel.
  177. # NOTE: There is substantial overhead when running in developer mode.
  178. # Do not use for production or load testing.
  179. developer_mode: true
  180. # Enable textmate links
  181. # textmate: true
  182. test:
  183. <<: *default_settings
  184. # It almost never makes sense to turn on the agent when running
  185. # unit, functional or integration tests or the like.
  186. monitor_mode: false
  187. # Turn on the agent in production for 24x7 monitoring. NewRelic
  188. # testing shows an average performance impact of < 5 ms per
  189. # transaction, you can leave this on all the time without
  190. # incurring any user-visible performance degradation.
  191. production:
  192. <<: *default_settings
  193. monitor_mode: true
  194. # Many applications have a staging environment which behaves
  195. # identically to production. Support for that environment is provided
  196. # here. By default, the staging environment has the agent turned on.
  197. staging:
  198. <<: *default_settings
  199. monitor_mode: true
  200. # app_name: My Application (Staging)