onyx_newrelic_rpm 2.12.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. data/CHANGELOG +436 -0
  2. data/LICENSE +37 -0
  3. data/README.md +138 -0
  4. data/bin/mongrel_rpm +33 -0
  5. data/bin/newrelic_cmd +4 -0
  6. data/cert/cacert.pem +34 -0
  7. data/install.rb +46 -0
  8. data/lib/new_relic/agent/agent.rb +668 -0
  9. data/lib/new_relic/agent/busy_calculator.rb +91 -0
  10. data/lib/new_relic/agent/chained_call.rb +13 -0
  11. data/lib/new_relic/agent/error_collector.rb +128 -0
  12. data/lib/new_relic/agent/instrumentation/active_merchant.rb +18 -0
  13. data/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb +92 -0
  14. data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +45 -0
  15. data/lib/new_relic/agent/instrumentation/authlogic.rb +8 -0
  16. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +404 -0
  17. data/lib/new_relic/agent/instrumentation/data_mapper.rb +90 -0
  18. data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +22 -0
  19. data/lib/new_relic/agent/instrumentation/memcache.rb +40 -0
  20. data/lib/new_relic/agent/instrumentation/merb/controller.rb +26 -0
  21. data/lib/new_relic/agent/instrumentation/merb/errors.rb +9 -0
  22. data/lib/new_relic/agent/instrumentation/metric_frame.rb +307 -0
  23. data/lib/new_relic/agent/instrumentation/net.rb +17 -0
  24. data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +22 -0
  25. data/lib/new_relic/agent/instrumentation/rack.rb +112 -0
  26. data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +59 -0
  27. data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +27 -0
  28. data/lib/new_relic/agent/instrumentation/rails/errors.rb +24 -0
  29. data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +45 -0
  30. data/lib/new_relic/agent/instrumentation/rails3/errors.rb +21 -0
  31. data/lib/new_relic/agent/instrumentation/sinatra.rb +46 -0
  32. data/lib/new_relic/agent/instrumentation/sunspot.rb +17 -0
  33. data/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb +10 -0
  34. data/lib/new_relic/agent/method_tracer.rb +350 -0
  35. data/lib/new_relic/agent/sampler.rb +46 -0
  36. data/lib/new_relic/agent/samplers/cpu_sampler.rb +54 -0
  37. data/lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb +37 -0
  38. data/lib/new_relic/agent/samplers/memory_sampler.rb +142 -0
  39. data/lib/new_relic/agent/samplers/object_sampler.rb +24 -0
  40. data/lib/new_relic/agent/shim_agent.rb +21 -0
  41. data/lib/new_relic/agent/stats_engine/metric_stats.rb +118 -0
  42. data/lib/new_relic/agent/stats_engine/samplers.rb +80 -0
  43. data/lib/new_relic/agent/stats_engine/transactions.rb +149 -0
  44. data/lib/new_relic/agent/stats_engine.rb +24 -0
  45. data/lib/new_relic/agent/transaction_sampler.rb +315 -0
  46. data/lib/new_relic/agent/worker_loop.rb +80 -0
  47. data/lib/new_relic/agent.rb +369 -0
  48. data/lib/new_relic/collection_helper.rb +69 -0
  49. data/lib/new_relic/commands/deployments.rb +145 -0
  50. data/lib/new_relic/commands/new_relic_commands.rb +30 -0
  51. data/lib/new_relic/control/external.rb +13 -0
  52. data/lib/new_relic/control/merb.rb +24 -0
  53. data/lib/new_relic/control/rails.rb +151 -0
  54. data/lib/new_relic/control/rails3.rb +75 -0
  55. data/lib/new_relic/control/ruby.rb +36 -0
  56. data/lib/new_relic/control/sinatra.rb +18 -0
  57. data/lib/new_relic/control.rb +528 -0
  58. data/lib/new_relic/delayed_job_injection.rb +27 -0
  59. data/lib/new_relic/histogram.rb +89 -0
  60. data/lib/new_relic/local_environment.rb +333 -0
  61. data/lib/new_relic/merbtasks.rb +6 -0
  62. data/lib/new_relic/metric_data.rb +42 -0
  63. data/lib/new_relic/metric_parser/action_mailer.rb +9 -0
  64. data/lib/new_relic/metric_parser/active_merchant.rb +26 -0
  65. data/lib/new_relic/metric_parser/active_record.rb +25 -0
  66. data/lib/new_relic/metric_parser/controller.rb +54 -0
  67. data/lib/new_relic/metric_parser/controller_cpu.rb +38 -0
  68. data/lib/new_relic/metric_parser/errors.rb +6 -0
  69. data/lib/new_relic/metric_parser/external.rb +50 -0
  70. data/lib/new_relic/metric_parser/mem_cache.rb +50 -0
  71. data/lib/new_relic/metric_parser/other_transaction.rb +15 -0
  72. data/lib/new_relic/metric_parser/view.rb +61 -0
  73. data/lib/new_relic/metric_parser/web_frontend.rb +14 -0
  74. data/lib/new_relic/metric_parser/web_service.rb +9 -0
  75. data/lib/new_relic/metric_parser.rb +125 -0
  76. data/lib/new_relic/metric_spec.rb +67 -0
  77. data/lib/new_relic/metrics.rb +9 -0
  78. data/lib/new_relic/noticed_error.rb +24 -0
  79. data/lib/new_relic/rack/metric_app.rb +58 -0
  80. data/lib/new_relic/rack/mongrel_rpm.ru +25 -0
  81. data/lib/new_relic/rack/newrelic.yml +26 -0
  82. data/lib/new_relic/rack_app.rb +5 -0
  83. data/lib/new_relic/recipes.rb +82 -0
  84. data/lib/new_relic/stats.rb +376 -0
  85. data/lib/new_relic/transaction_analysis.rb +124 -0
  86. data/lib/new_relic/transaction_sample.rb +654 -0
  87. data/lib/new_relic/version.rb +55 -0
  88. data/lib/new_relic_api.rb +276 -0
  89. data/lib/newrelic_rpm.rb +40 -0
  90. data/lib/tasks/all.rb +4 -0
  91. data/lib/tasks/install.rake +7 -0
  92. data/lib/tasks/tests.rake +15 -0
  93. data/newrelic.yml +235 -0
  94. data/onyx_newrelic_rpm.gemspec +221 -0
  95. data/recipes/newrelic.rb +6 -0
  96. data/test/active_record_fixtures.rb +55 -0
  97. data/test/config/newrelic.yml +43 -0
  98. data/test/config/test_control.rb +38 -0
  99. data/test/new_relic/agent/active_record_instrumentation_test.rb +287 -0
  100. data/test/new_relic/agent/agent_controller_test.rb +280 -0
  101. data/test/new_relic/agent/agent_test_controller.rb +82 -0
  102. data/test/new_relic/agent/busy_calculator_test.rb +79 -0
  103. data/test/new_relic/agent/collection_helper_test.rb +125 -0
  104. data/test/new_relic/agent/error_collector_test.rb +171 -0
  105. data/test/new_relic/agent/memcache_instrumentation_test.rb +103 -0
  106. data/test/new_relic/agent/method_tracer_test.rb +340 -0
  107. data/test/new_relic/agent/metric_data_test.rb +56 -0
  108. data/test/new_relic/agent/metric_frame_test.rb +51 -0
  109. data/test/new_relic/agent/mock_ar_connection.rb +40 -0
  110. data/test/new_relic/agent/mock_scope_listener.rb +23 -0
  111. data/test/new_relic/agent/net_instrumentation_test.rb +77 -0
  112. data/test/new_relic/agent/rpm_agent_test.rb +138 -0
  113. data/test/new_relic/agent/stats_engine/metric_stats_test.rb +79 -0
  114. data/test/new_relic/agent/stats_engine/samplers_test.rb +72 -0
  115. data/test/new_relic/agent/stats_engine/stats_engine_test.rb +184 -0
  116. data/test/new_relic/agent/task_instrumentation_test.rb +193 -0
  117. data/test/new_relic/agent/testable_agent.rb +13 -0
  118. data/test/new_relic/agent/transaction_sample_builder_test.rb +195 -0
  119. data/test/new_relic/agent/transaction_sample_test.rb +186 -0
  120. data/test/new_relic/agent/transaction_sampler_test.rb +385 -0
  121. data/test/new_relic/agent/worker_loop_test.rb +60 -0
  122. data/test/new_relic/control_test.rb +117 -0
  123. data/test/new_relic/deployments_api_test.rb +69 -0
  124. data/test/new_relic/environment_test.rb +75 -0
  125. data/test/new_relic/metric_parser_test.rb +172 -0
  126. data/test/new_relic/metric_spec_test.rb +177 -0
  127. data/test/new_relic/shim_agent_test.rb +9 -0
  128. data/test/new_relic/stats_test.rb +311 -0
  129. data/test/new_relic/version_number_test.rb +89 -0
  130. data/test/test_helper.rb +53 -0
  131. data/test/ui/newrelic_controller_test.rb +14 -0
  132. data/test/ui/newrelic_helper_test.rb +53 -0
  133. data/ui/controllers/newrelic_controller.rb +220 -0
  134. data/ui/helpers/google_pie_chart.rb +49 -0
  135. data/ui/helpers/newrelic_helper.rb +319 -0
  136. data/ui/views/layouts/newrelic_default.rhtml +47 -0
  137. data/ui/views/newrelic/_explain_plans.rhtml +27 -0
  138. data/ui/views/newrelic/_sample.rhtml +19 -0
  139. data/ui/views/newrelic/_segment.rhtml +28 -0
  140. data/ui/views/newrelic/_segment_limit_message.rhtml +1 -0
  141. data/ui/views/newrelic/_segment_row.rhtml +14 -0
  142. data/ui/views/newrelic/_show_sample_detail.rhtml +24 -0
  143. data/ui/views/newrelic/_show_sample_sql.rhtml +20 -0
  144. data/ui/views/newrelic/_show_sample_summary.rhtml +3 -0
  145. data/ui/views/newrelic/_sql_row.rhtml +11 -0
  146. data/ui/views/newrelic/_stack_trace.rhtml +30 -0
  147. data/ui/views/newrelic/_table.rhtml +12 -0
  148. data/ui/views/newrelic/explain_sql.rhtml +42 -0
  149. data/ui/views/newrelic/images/arrow-close.png +0 -0
  150. data/ui/views/newrelic/images/arrow-open.png +0 -0
  151. data/ui/views/newrelic/images/blue_bar.gif +0 -0
  152. data/ui/views/newrelic/images/file_icon.png +0 -0
  153. data/ui/views/newrelic/images/gray_bar.gif +0 -0
  154. data/ui/views/newrelic/images/new-relic-rpm-desktop.gif +0 -0
  155. data/ui/views/newrelic/images/new_relic_rpm_desktop.gif +0 -0
  156. data/ui/views/newrelic/images/textmate.png +0 -0
  157. data/ui/views/newrelic/index.rhtml +57 -0
  158. data/ui/views/newrelic/javascript/prototype-scriptaculous.js +7288 -0
  159. data/ui/views/newrelic/javascript/transaction_sample.js +107 -0
  160. data/ui/views/newrelic/sample_not_found.rhtml +2 -0
  161. data/ui/views/newrelic/show_sample.rhtml +80 -0
  162. data/ui/views/newrelic/show_source.rhtml +3 -0
  163. data/ui/views/newrelic/stylesheets/style.css +484 -0
  164. data/ui/views/newrelic/threads.rhtml +52 -0
  165. metadata +248 -0
data/CHANGELOG ADDED
@@ -0,0 +1,436 @@
1
+ v2.12.3
2
+ * fix regression in startup sequence
3
+
4
+ v2.12.2
5
+ * fix for regression in Rails 2.1 inline rendering
6
+ * workaround bug found in some rubies that caused a segv and/or NoMemoryError
7
+ when deflating content for upload
8
+ * avoid creating connection thread in unicorn/passenger spawners
9
+
10
+ v2.12.1
11
+ * fix bug in profile mode
12
+ * fix race condition in Delayed::Job instrumentation loading
13
+ * fix glassfish detection in latest glassfish gem
14
+
15
+ v2.12.0
16
+ * support basic instrumentation for ActsAsSolr and Sunspot
17
+
18
+ v2.11.3
19
+ * fix bug in startup when running JRuby
20
+
21
+ v2.11.2
22
+ * fix for unicorn not reporting when the proc line had 'master' in it
23
+ * fix regression for passenger 2.0 and earlier
24
+ * fix after_fork in the shim
25
+
26
+ v2.11.1
27
+ * republished gem without generated rdocs
28
+
29
+ v2.11.0
30
+ * rails3 instrumentation (no developer mode support yet)
31
+ * removed the ensure_worker_thread started and instead defined an after_fork
32
+ handler that will set up the agent properly in forked processes.
33
+ * change at_exit handler so the shutdown always goes after other shutdown
34
+ handlers
35
+ * add visibility to active record db transactions in the rpm transaction
36
+ traces (thanks to jeremy kemper)
37
+ * fix regression in merb support which caused merb apps not to start
38
+ * added NewRelic::Agent.logger to the public api to write to the agent
39
+ log file.
40
+ * optimizations to background thread, controller instrumentation, memory
41
+ usage
42
+ * add logger method to public_api
43
+ * support list notation for ignored exceptions in the newrelic.yml
44
+
45
+ v2.10.8
46
+ * fix bug in delayed_job instrumentation that caused the job queue sampler
47
+ to run in the wrong place
48
+ * change startup sequence and code that restarts the worker loop
49
+ thread
50
+ * detect the unicorn master and dont start the agent; hook in after_fork
51
+ * fix problem with the Authlogic metric names which caused errors in
52
+ developer mode. Authlogic metrics now adhere to the convention of
53
+ prefixing the name with 'Custom'
54
+ * allow more correct overriding of transaction trace settings in the
55
+ call to #manual_start
56
+ * simplify WorkerLoop and add better protection for concurrency
57
+ * preliminary support for rails3
58
+
59
+ v2.10.6
60
+ * fix missing URL and referer on some traced errors and transactions
61
+ * gather traced errors *after* executing the rescue chain in ActionController
62
+ * always load controller instrumentation
63
+ * pick up token validation from newrelic.yml
64
+
65
+ v2.10.5
66
+ * fix bug in delayed_job instrumentation occurring when there was no DJ log
67
+
68
+ v2.10.4
69
+ * fix incompatibility with Capistrano 2.5.16
70
+ * strip down URLs reported in transactions and errors to path only
71
+
72
+ v2.10.3
73
+ * optimization to reduce overhead: move background samplers into foreground thread
74
+ * change default config file to ignore RoutingErrors
75
+ * moved the background task instrumentation into a separate tab in the RPM UI
76
+ * allow override of the RPM application name via NEWRELIC_APP_NAME environment variable
77
+ * revised Delayed::Job instrumentation so no manual_start is required
78
+ * send buffered data on shutdown
79
+ * expanded support for queue length and queue time
80
+ * remove calls to starts_with to fix Sinatra and non-rails deployments
81
+ * fix problem with apdex scores recording too low in some circumstances
82
+ * switch to jeweler for gem building
83
+ * minor fixes, test improvements, doc and rakefile improvements
84
+ * fix incompatibility with Hoptoad where Hoptoad was not getting errors handled by New Relic
85
+ * many other optimizations, bug fixes and documentation improvements
86
+
87
+ v2.10.2.
88
+ * beta release of 2.10
89
+ * fix bugs with Sinatra app instrumentation
90
+ * minor doc updates
91
+
92
+ v2.10.1.
93
+ * alpha release of 2.10
94
+ * rack support, including metal; ignores 404s; requires a module inclusion (see docs)
95
+ * sinatra support, displays actions named by the URI pattern matched
96
+ * add API method to abort transaction recording for in-flight transactions
97
+ * remove account management calls from newrelic_api.rb
98
+ * truncating extremely large transaction traces for efficiency
99
+ * fix error reporting in recipes; add newrelic_rails_env option to recipes to
100
+ override the rails env used to pull the app_name out of newrelic.yml
101
+ * added TorqueBox recognition (thanks Bob McWhirter)
102
+ * renamed config settings: enabled => monitor_mode; developer => developer_mode;
103
+ old names will still work in newrelic.yml
104
+ * instrumentation for DelayedJob (thanks Travis Tilley)
105
+ * added config switches to turn off certain instrumentation when you aren't
106
+ interested in the metrics, to save on overhead--see newrelic.yml for details.
107
+ * add profiling support to dev mode; very experimental!
108
+ * add 'multi_threaded' config option to indicate when the app is running
109
+ multi-threaded, so we can disable some instrumentation
110
+ * fix test failures in JRuby, REE
111
+ * improve Net::HTTP instrumentation so its more efficient and distinguishes calls
112
+ between web and non-web transactions.
113
+ * database instrumentation notices all database commands in addition to the core commands
114
+ * add support for textmate to dev mode
115
+ * added add_transaction_tracer method to support instrumenting methods as
116
+ if they were web transactions; this will facilitate better visibility of background
117
+ tasks and eventually things like rack, metal and Sinatra
118
+ * adjusted apdex scores to reflect time spent in the mongrel queue
119
+ * fixed incompatibility with JRuby on startup
120
+ * implmented CPU measure for JRuby which reflects the cpu burn for
121
+ all controller actions (does not include background tasks)
122
+ * fixed scope issue with GC instrumentation, subtracting time from caller
123
+ * added # of GC calls to GC instrumentation
124
+ * renamed the dispatcher metric
125
+ * refactored stats_engine code for readability
126
+ * optimization: reduce wakeup times for harvest thread
127
+
128
+ v2.10.0.
129
+ * alpha release of 2.10
130
+ * support unicorn
131
+ * instrumentation of GC for REE and MRE with GC patch
132
+ * support agent restarting when changes are made to the account
133
+ * removed #newrelic_notice_error from Object class, replaced by NewRelic::Agent#notic_error
134
+ * collect histogram statistics
135
+ * add custom parameters to newrelic_notice_error call to display
136
+ extra info for errors
137
+ * add method disable_all_tracing(&block) to execute a block without
138
+ capturing metrics
139
+ * newrelic_ignore now blocks all instrumentation collection for
140
+ the specified actions
141
+ * added doc to method_tracer API and removed second arg
142
+ requirement for add_method_tracer call
143
+ * instrumentation for Net::HTTP
144
+ * remove method_tracer shim to avoid timing problems in monitoring daemons
145
+ * for non-rails daemons, look at APP_ROOT and NRCONFIG env vars for custom locations
146
+
147
+ v2.9.9.
148
+ * Disable at_exit handler for Unicorn which sometimes caused the
149
+ agent to stop reporting immediately.
150
+
151
+ v2.9.8.
152
+ * add instrumentation for Net::HTTP calls, to show up as "External"
153
+ * added support for validating agents in the cloud.
154
+ * recognize Unicorn dispatcher
155
+ * add NewRelic module definitions to ActiveRecord instrumentation
156
+
157
+ v2.9.5.
158
+ * Snow Leopard memory fix
159
+
160
+ v2.9.4.
161
+ * clamp size of data sent to server
162
+ * reset statistics for passenger when forking to avoid erroneous data
163
+ * fix problem deserializing errors from the server
164
+ * fix incompatibility with postgres introduced in 2.9.
165
+
166
+ v2.9.3.
167
+ * fix startup failure in Windows due to memory sampler
168
+ * add JRuby environment information
169
+
170
+ v2.9.2.
171
+ * change default apdex_t to 0.5 seconds
172
+ * fix bug in deployments introduced by multi_homed setting
173
+ * support overriding the log in the agent api
174
+ * fix JRuby problem using objectspace
175
+ * display custom parameters when looking at transactions in dev mode
176
+ * display count of sql statements on the list of transactions in dev mode
177
+ * fixes for merb--thanks to Carl Lerche
178
+
179
+ v2.9.1.
180
+ * add newrelic_ignore_apdex method to controller classes to allow
181
+ you to omit some actions from apdex statistics
182
+ * Add hook for Passenger shutdown events to get more timely shutdown
183
+ notices; this will help in more accurate memory readings in
184
+ Passenger
185
+ * add newrelic_notice_error to Object class
186
+ * optional ability to verify SSL certificates, note that this has some
187
+ performance and reliability implications
188
+ * support multi-homed host with multiple apps running on duplicate
189
+ ports
190
+
191
+ v2.9.0.
192
+ Noteworthy Enhancements
193
+ * give visibility to templates and partials in Rails 2.1 and later, in
194
+ dev mode and production
195
+ * change active record metrics to capture statistics in adapter log()
196
+ call, resulting in lower overhead and improved visibility into
197
+ different DB operations; only AR operations that are not hitting the
198
+ query cache will be measured to avoid overhead
199
+ * added mongrel_rpm to the gem, a standalone daemon listening for custom
200
+ metric values sent from local processes (experimental); do mongrel_rpm
201
+ --help
202
+ * add API for system monitoring daemons (refer to KB articles); changed
203
+ API for manual starting of the agent; refer to
204
+ NewRelic::Agent.manual_start for details
205
+ * do certificate verification on ssl connections to
206
+ collector.newrelic.com
207
+ * support instances appearing in more than one application by allowing a
208
+ semicolon separated list of names for the newrelic.yml app_name
209
+ setting.
210
+ * combined agent logfiles into a single logfile
211
+ * use rpm server time for transaction traces rather than agent time
212
+
213
+ Developer Mode (only) Enhancements
214
+ * show partial rendering in traces
215
+ * improved formatting of metric names in traces
216
+ * added number of queries to transactions in the transaction list
217
+ * added some sorting options for the transaction list
218
+ * added a page showing the list of active threads
219
+
220
+ Compatibility Enhancements
221
+ * ruby 1.9.1 compatibility
222
+ * support concurrency when determining busy times, for 2.2 compatibility
223
+ * in jruby, use Java used heap for memory sampling if the system memory
224
+ is not accessible from an unsupported platform
225
+ * jruby will no longer start the agent now when running the console or
226
+ rake tasks
227
+ * API support for RPM as a footnote add-in
228
+ * webrick support restored
229
+
230
+ Noteworthy bugfixes
231
+ * sample memory on linux by reading /proc/#{$$}/status file
232
+ * fixed ambiguous 'View' metrics showing up in controller breakdown
233
+ * removed Numeric extensions, including round_to, and to_ms
234
+ * using a different timeout mechanism when we post data to RPM
235
+ * remove usage of Rails::Info which had a side effect of enabling
236
+ ActiveRecord even when it wasn't an active framework
237
+ * moved CPU sampler off background thread and onto the harvest thread
238
+ * tests now run cleanly in any rails app using test:newrelic or
239
+ test:plugins
240
+
241
+ Agent improvements to support future RPM enhancements
242
+ * add instrumentation to capture metrics on response codes; not yet
243
+ working in rails 2.3.*
244
+ * added http referer to traced errors
245
+ * capture gem requirements from rails
246
+ * capture cpu utilization adjusted for processor count
247
+ * transaction sampling
248
+
249
+ v2.8.10.
250
+ * fix thin support with rails 2.3.2 when using script/server
251
+ * fix incompatibility with rails 2.3.2 and script/server options
252
+ processing
253
+ * minor tweak to environment gathering for gem mode
254
+
255
+ v2.8.9.
256
+ * fix problem finding the newrelic controller in dev mode
257
+ * fix incompatibility with older versions of optparse
258
+ * fix potential jvm problem with jruby
259
+ * remove test:all task definition to avoid conflicts
260
+ * change error message about window sampler in windows not supported to a
261
+ warning message
262
+
263
+ v2.8.8.
264
+ * fix error with jruby on windows
265
+ * fix problem where webrick was being incorrectly detected causing some
266
+ problems with mongrel application assignments--had to disable webrick
267
+ for now
268
+
269
+ v2.8.7.
270
+ * fix for ssl connection hanging problems
271
+ * fix problem recognizing mongrel in rails 2.3.2
272
+ * fastcgi support in rails 2.3.2
273
+ * put back webrick support
274
+
275
+ v2.8.6.
276
+ * fix for capture_params when using file uploads in controller actions
277
+ * use pure ruby NS lookup for collector host to eliminate possibly
278
+ blocking applications
279
+
280
+ v2.8.5.
281
+ * fix reference to CommandError which was breaking some cap scripts
282
+ * fix incompatibility with Rails 2.0 in the server API
283
+ * fix problem with litespeed with Lite accounts
284
+ * fix problem when ActiveRecord is disabled
285
+ * moved merb instrumentation to Merb::Controller instead of
286
+ AbstractController to address incompatibility with MailController
287
+ * fix problem in devmode displaying sql with embedded urls
288
+
289
+ v2.8.4.
290
+ * fix bug in capistrano recipe causing cap commands to fail with error
291
+ about not finding Version class
292
+
293
+ v2.8.3.
294
+ * refactor unit tests so they will run in a generic rails environment
295
+ * require classes in advance to avoid autoloading. this is to address
296
+ incompatibilities with desert as well as more flexibility in gem
297
+ initialization
298
+ * fixed newrelic_helper.rb 1.9 incompatibility
299
+
300
+ v2.8.2.
301
+ * fix Ruby 1.9 syntax compatibility errors
302
+ * update the class loading sanity check, will notify server of errors
303
+ * fix agent output on script and rake task execution
304
+
305
+ v2.8.1.
306
+ * Convert the deployment information upload script to an executable and
307
+ put in the bin directory. When installed as a gem this command is
308
+ symlinked to /usr/bin. Usage: newrelic_cmd deployments --help
309
+ * Fix issue invoking api when host is not set in newrelic.yml
310
+ * Fix deployments api so it will work from a gem
311
+ * Fix thin incompatibility in developer mode
312
+
313
+ v2.8.0.
314
+ * add beta of api in new_relic_api.rb
315
+ * instrumented dynamic finders in ActiveRecord
316
+ * preliminary support for capturing deployment information via capistrano
317
+ * change memory sampler for solaris to use /usr/bin/ps
318
+ * allow ERB in newrelic.yml file
319
+ * merged support for merb into this version
320
+ * fix incompatibility in the developer mode with the safe_erb plugin
321
+ * fix module namespace issue causing an error accessing
322
+ NewRelic::Instrumentation modules
323
+ * fix issue where the agent sometimes failed to start up if there was a
324
+ transient network problem
325
+ * fix IgnoreSilentlyException message
326
+
327
+ v2.7.4.
328
+ * fix error when trying to serialize some kinds of Enumerable objects
329
+ * added extra debug logging
330
+ * added app_name to app mapping
331
+
332
+ v2.7.3.
333
+ * fix compatibility issue with 1.8.5 causing error with Dir.glob
334
+
335
+ v2.7.2.
336
+ * fix problem with passenger edge not being a detected environment
337
+
338
+ v2.7.1.
339
+ * fix problem with skipped dispatcher instrumentation
340
+
341
+ v2.7.0.
342
+ * Repackage to support both plugin and Gem installation
343
+ * Support passenger/litespeed/jruby application naming
344
+ * Update method for calculating dispatcher queue time
345
+ * Show stack traces in RPM Transaction Traces
346
+ * Capture error source for TemplateErrors
347
+ * Clean up error stack traces.
348
+ * Support query plans from postgres
349
+ * Performance tuning
350
+ * bugfixes
351
+
352
+ v2.5.3.
353
+ * fix error in transaction tracing causing traces not to show up
354
+
355
+ v2.5.2.
356
+ * fixes for postgres explain plan support
357
+
358
+ v2.5.1.
359
+ * bugfixes
360
+
361
+ v2.5.0.
362
+ * add agent support for rpm 1.1 features
363
+ * Fix regression error with thin support
364
+
365
+ v2.4.3.
366
+ * added 'newrelic_ignore' controller class method with :except and :only options for finer grained control
367
+ over the blocking of instrumentation in controllers.
368
+ * bugfixes
369
+
370
+ v2.4.2.
371
+ * error reporting in early access
372
+
373
+ v2.4.1.
374
+ * bugfix: initializing developer mode
375
+
376
+ v2.4.0.
377
+ * Beta support for LiteSpeed and Passenger
378
+
379
+ v2.3.7.
380
+ * bugfixes
381
+
382
+ v2.3.6.
383
+ * bugfixes
384
+
385
+ v2.3.5.
386
+ * bugfixes: pie chart data, rails 1.1 compability
387
+
388
+ v2.3.4.
389
+ * bugfix
390
+
391
+ v2.3.3.
392
+ * bugfix for non-mysql databases
393
+
394
+ v2.3.2.
395
+ * bugfixes
396
+ * Add enhancement for Transaction Traces early access feature
397
+
398
+ v2.3.1.
399
+ * bugfixes
400
+
401
+ v2.3.0.
402
+ + Add support for Transaction Traces early access feature
403
+
404
+ v2.2.2.
405
+ * bugfixes
406
+
407
+ v2.2.1.
408
+ + Add rails 2.1 support for Developer Mode
409
+ + Changes to memory sampler: Add support for JRuby and fix Solaris support.
410
+ * Stop catching exceptions and start catching StandardError; other exception cleanup
411
+ * Add protective exception catching to the stats engine
412
+ * Improved support for thin domain sockets
413
+ * Support JRuby environments
414
+
415
+ v2.1.6.
416
+ * bugfixes
417
+
418
+ v2.1.5.
419
+ * bugfixes
420
+
421
+ v2.1.4.
422
+ * bugfixes
423
+
424
+ v2.1.3.
425
+ * bugfixes
426
+
427
+ v2.1.2.
428
+ * bugfixes
429
+
430
+ v2.1.1.
431
+ * bugfixes
432
+
433
+ v2.1.0.
434
+ * release for private beta
435
+
436
+
data/LICENSE ADDED
@@ -0,0 +1,37 @@
1
+ Copyright (c) 2008-2009 New Relic, Inc. All rights reserved.
2
+
3
+ Certain inventions disclosed in this file may be claimed within
4
+ patents owned or patent applications filed by New Relic, Inc. or third
5
+ parties.
6
+
7
+ Subject to the terms of this notice, New Relic grants you a
8
+ nonexclusive, nontransferable license, without the right to
9
+ sublicense, to (a) install and execute one copy of these files on any
10
+ number of workstations owned or controlled by you and (b) distribute
11
+ verbatim copies of these files to third parties. As a condition to the
12
+ foregoing grant, you must provide this notice along with each copy you
13
+ distribute and you must not remove, alter, or obscure this notice. All
14
+ other use, reproduction, modification, distribution, or other
15
+ exploitation of these files is strictly prohibited, except as may be set
16
+ forth in a separate written license agreement between you and New
17
+ Relic. The terms of any such license agreement will control over this
18
+ notice. The license stated above will be automatically terminated and
19
+ revoked if you exceed its scope or violate any of the terms of this
20
+ notice.
21
+
22
+ This License does not grant permission to use the trade names,
23
+ trademarks, service marks, or product names of New Relic, except as
24
+ required for reasonable and customary use in describing the origin of
25
+ this file and reproducing the content of this notice. You may not
26
+ mark or brand this file with any trade name, trademarks, service
27
+ marks, or product names other than the original brand (if any)
28
+ provided by New Relic.
29
+
30
+ Unless otherwise expressly agreed by New Relic in a separate written
31
+ license agreement, these files are provided AS IS, WITHOUT WARRANTY OF
32
+ ANY KIND, including without any implied warranties of MERCHANTABILITY,
33
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE, or NON-INFRINGEMENT. As a
34
+ condition to your use of these files, you are solely responsible for
35
+ such use. New Relic will have no liability to you for direct,
36
+ indirect, consequential, incidental, special, or punitive damages or
37
+ for lost profits or data.