PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/integration-tests/apps/rack/task-concurrency/newrelic.yml

https://gitlab.com/meetly/torquebox
YAML | 227 lines | 32 code | 34 blank | 161 comment | 0 complexity | 754719afdc6305a52b25076dad5f4c26 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 23, 2012
  7. #
  8. # This configuration file is custom generated for Red Hat_1
  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: 'bogus'
  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. # agent_enabled: auto
  24. # Application Name
  25. # Set this to be the name of your application as you'd like it show
  26. # up in New Relic. New Relic will then auto-map instances of your application
  27. # into a New Relic "application" on your home dashboard page. If you want
  28. # to map this instance into multiple apps, like "AJAX Requests" and
  29. # "All UI" then specify a semicolon-separated list of up to three
  30. # distinct names. If you comment this out, it defaults to the
  31. # capitalized RAILS_ENV (i.e., Production, Staging, etc)
  32. app_name: Local Food Guide
  33. # When "true", the agent collects performance data about your
  34. # application and reports this data to the New Relic service at
  35. # newrelic.com. This global switch is normally overridden for each
  36. # environment below. (formerly called 'enabled')
  37. monitor_mode: true
  38. # Developer mode should be off in every environment but
  39. # development as it has very high overhead in memory.
  40. developer_mode: false
  41. # The newrelic agent generates its own log file to keep its logging
  42. # information separate from that of your application. Specify its
  43. # log level here.
  44. log_level: info
  45. # The newrelic agent communicates with the New Relic service via http by
  46. # default. If you want to communicate via https to increase
  47. # security, then turn on SSL by setting this value to true. Note,
  48. # this will result in increased CPU overhead to perform the
  49. # encryption involved in SSL communication, but this work is done
  50. # asynchronously to the threads that process your application code,
  51. # so it should not impact response times.
  52. ssl: false
  53. # EXPERIMENTAL: enable verification of the SSL certificate sent by
  54. # the server. This setting has no effect unless SSL is enabled
  55. # above. This may block your application. Only enable it if the data
  56. # you send us needs end-to-end verified certificates.
  57. #
  58. # This means we cannot cache the DNS lookup, so each request to the
  59. # New Relic service will perform a lookup. It also means that we cannot
  60. # use a non-blocking lookup, so in a worst case, if you have DNS
  61. # problems, your app may block indefinitely.
  62. # verify_certificate: true
  63. # Set your application's Apdex threshold value with the 'apdex_t'
  64. # setting, in seconds. The apdex_t value determines the buckets used
  65. # to compute your overall Apdex score.
  66. # Requests that take less than apdex_t seconds to process will be
  67. # classified as Satisfying transactions; more than apdex_t seconds
  68. # as Tolerating transactions; and more than four times the apdex_t
  69. # value as Frustrating transactions.
  70. # For more about the Apdex standard, see
  71. # http://newrelic.com/docs/general/apdex
  72. apdex_t: 0.5
  73. # Proxy settings for connecting to the New Relic server.
  74. #
  75. # If a proxy is used, the host setting is required. Other settings
  76. # are optional. Default port is 8080.
  77. #
  78. # proxy_host: hostname
  79. # proxy_port: 8080
  80. # proxy_user:
  81. # proxy_pass:
  82. # Tells transaction tracer and error collector (when enabled)
  83. # whether or not to capture HTTP params. When true, frameworks can
  84. # exclude HTTP parameters from being captured.
  85. # Rails: the RoR filter_parameter_logging excludes parameters
  86. # Java: create a config setting called "ignored_params" and set it to
  87. # a comma separated list of HTTP parameter names.
  88. # ex: ignored_params: credit_card, ssn, password
  89. capture_params: false
  90. # Transaction tracer captures deep information about slow
  91. # transactions and sends this to the New Relic service once a
  92. # minute. Included in the transaction is the exact call sequence of
  93. # the transactions including any SQL statements issued.
  94. transaction_tracer:
  95. # Transaction tracer is enabled by default. Set this to false to
  96. # turn it off. This feature is only available at the Professional
  97. # product level.
  98. enabled: true
  99. # Threshold in seconds for when to collect a transaction
  100. # trace. When the response time of a controller action exceeds
  101. # this threshold, a transaction trace will be recorded and sent to
  102. # New Relic. Valid values are any float value, or (default) "apdex_f",
  103. # which will use the threshold for an dissatisfying Apdex
  104. # controller action - four times the Apdex T value.
  105. transaction_threshold: apdex_f
  106. # When transaction tracer is on, SQL statements can optionally be
  107. # recorded. The recorder has three modes, "off" which sends no
  108. # SQL, "raw" which sends the SQL statement in its original form,
  109. # and "obfuscated", which strips out numeric and string literals.
  110. record_sql: obfuscated
  111. # Threshold in seconds for when to collect stack trace for a SQL
  112. # call. In other words, when SQL statements exceed this threshold,
  113. # then capture and send to New Relic the current stack trace. This is
  114. # helpful for pinpointing where long SQL calls originate from.
  115. stack_trace_threshold: 0.500
  116. # Determines whether the agent will capture query plans for slow
  117. # SQL queries. Only supported in mysql and postgres. Should be
  118. # set to false when using other adapters.
  119. # explain_enabled: true
  120. # Threshold for query execution time below which query plans will not
  121. # not be captured. Relevant only when `explain_enabled` is true.
  122. # explain_threshold: 0.5
  123. # Error collector captures information about uncaught exceptions and
  124. # sends them to New Relic for viewing
  125. error_collector:
  126. # Error collector is enabled by default. Set this to false to turn
  127. # it off. This feature is only available at the Professional
  128. # product level.
  129. enabled: true
  130. # Rails Only - tells error collector whether or not to capture a
  131. # source snippet around the place of the error when errors are View
  132. # related.
  133. capture_source: true
  134. # To stop specific errors from reporting to New Relic, set this property
  135. # to comma-separated values. Default is to ignore routing errors,
  136. # which are how 404's get triggered.
  137. ignore_errors: ActionController::RoutingError
  138. # (Advanced) Uncomment this to ensure the CPU and memory samplers
  139. # won't run. Useful when you are using the agent to monitor an
  140. # external resource
  141. # disable_samplers: true
  142. # If you aren't interested in visibility in these areas, you can
  143. # disable the instrumentation to reduce overhead.
  144. #
  145. # disable_view_instrumentation: true
  146. # disable_activerecord_instrumentation: true
  147. # disable_memcache_instrumentation: true
  148. # disable_dj: true
  149. # Certain types of instrumentation such as GC stats will not work if
  150. # you are running multi-threaded. Please let us know.
  151. # multi_threaded = false
  152. # Application Environments
  153. # ------------------------------------------
  154. # Environment-specific settings are in this section.
  155. # For Rails applications, RAILS_ENV is used to determine the environment.
  156. # For Java applications, pass -Dnewrelic.environment <environment> to set
  157. # the environment.
  158. # NOTE if your application has other named environments, you should
  159. # provide newrelic configuration settings for these environments here.
  160. development:
  161. <<: *default_settings
  162. # Turn off communication to New Relic service in development mode (also
  163. # 'enabled').
  164. # NOTE: for initial evaluation purposes, you may want to temporarily
  165. # turn agent communication on in development mode.
  166. monitor_mode: false
  167. # Rails Only - when running in Developer Mode, the New Relic Agent will
  168. # present performance information on the last 100 transactions you have
  169. # executed since starting the app server.
  170. # NOTE: There is substantial overhead when running in developer mode.
  171. # Do not use for production or load testing.
  172. developer_mode: true
  173. # Enable textmate links
  174. # textmate: true
  175. test:
  176. <<: *default_settings
  177. # It almost never makes sense to turn on the agent when running
  178. # unit, functional or integration tests or the like.
  179. monitor_mode: false
  180. # Turn on the agent in production for 24x7 monitoring. New Relic
  181. # testing shows an average performance impact of < 5 ms per
  182. # transaction, so you can leave this on all the time without
  183. # incurring any user-visible performance degradation.
  184. production:
  185. <<: *default_settings
  186. monitor_mode: true
  187. # Many applications have a staging environment which behaves
  188. # identically to production. Support for that environment is provided
  189. # here. By default, the staging environment has the agent turned on.
  190. staging:
  191. <<: *default_settings
  192. monitor_mode: true
  193. app_name: My Application (Staging)