techarch-newrelic_rpm 2.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. data/CHANGELOG +335 -0
  2. data/LICENSE +37 -0
  3. data/Manifest +159 -0
  4. data/README.md +138 -0
  5. data/Rakefile +22 -0
  6. data/bin/mongrel_rpm +33 -0
  7. data/bin/newrelic_cmd +4 -0
  8. data/cert/cacert.pem +34 -0
  9. data/init.rb +38 -0
  10. data/install.rb +45 -0
  11. data/lib/new_relic/agent.rb +281 -0
  12. data/lib/new_relic/agent/agent.rb +636 -0
  13. data/lib/new_relic/agent/chained_call.rb +13 -0
  14. data/lib/new_relic/agent/collection_helper.rb +66 -0
  15. data/lib/new_relic/agent/error_collector.rb +121 -0
  16. data/lib/new_relic/agent/instrumentation/active_merchant.rb +18 -0
  17. data/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb +88 -0
  18. data/lib/new_relic/agent/instrumentation/authlogic.rb +8 -0
  19. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +437 -0
  20. data/lib/new_relic/agent/instrumentation/data_mapper.rb +90 -0
  21. data/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb +167 -0
  22. data/lib/new_relic/agent/instrumentation/memcache.rb +24 -0
  23. data/lib/new_relic/agent/instrumentation/merb/controller.rb +26 -0
  24. data/lib/new_relic/agent/instrumentation/merb/dispatcher.rb +13 -0
  25. data/lib/new_relic/agent/instrumentation/merb/errors.rb +8 -0
  26. data/lib/new_relic/agent/instrumentation/net.rb +23 -0
  27. data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +20 -0
  28. data/lib/new_relic/agent/instrumentation/rack.rb +108 -0
  29. data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +59 -0
  30. data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +27 -0
  31. data/lib/new_relic/agent/instrumentation/rails/dispatcher.rb +41 -0
  32. data/lib/new_relic/agent/instrumentation/rails/errors.rb +27 -0
  33. data/lib/new_relic/agent/instrumentation/sinatra.rb +39 -0
  34. data/lib/new_relic/agent/method_tracer.rb +349 -0
  35. data/lib/new_relic/agent/patch_const_missing.rb +125 -0
  36. data/lib/new_relic/agent/sampler.rb +12 -0
  37. data/lib/new_relic/agent/samplers/cpu_sampler.rb +49 -0
  38. data/lib/new_relic/agent/samplers/memory_sampler.rb +138 -0
  39. data/lib/new_relic/agent/samplers/mongrel_sampler.rb +22 -0
  40. data/lib/new_relic/agent/shim_agent.rb +21 -0
  41. data/lib/new_relic/agent/stats_engine.rb +22 -0
  42. data/lib/new_relic/agent/stats_engine/metric_stats.rb +111 -0
  43. data/lib/new_relic/agent/stats_engine/samplers.rb +71 -0
  44. data/lib/new_relic/agent/stats_engine/transactions.rb +152 -0
  45. data/lib/new_relic/agent/transaction_sampler.rb +310 -0
  46. data/lib/new_relic/agent/worker_loop.rb +118 -0
  47. data/lib/new_relic/commands/deployments.rb +145 -0
  48. data/lib/new_relic/commands/new_relic_commands.rb +30 -0
  49. data/lib/new_relic/control.rb +473 -0
  50. data/lib/new_relic/control/external.rb +13 -0
  51. data/lib/new_relic/control/merb.rb +22 -0
  52. data/lib/new_relic/control/rails.rb +145 -0
  53. data/lib/new_relic/control/ruby.rb +36 -0
  54. data/lib/new_relic/control/sinatra.rb +14 -0
  55. data/lib/new_relic/histogram.rb +89 -0
  56. data/lib/new_relic/local_environment.rb +328 -0
  57. data/lib/new_relic/merbtasks.rb +6 -0
  58. data/lib/new_relic/metric_data.rb +42 -0
  59. data/lib/new_relic/metric_parser.rb +124 -0
  60. data/lib/new_relic/metric_parser/action_mailer.rb +9 -0
  61. data/lib/new_relic/metric_parser/active_merchant.rb +26 -0
  62. data/lib/new_relic/metric_parser/active_record.rb +25 -0
  63. data/lib/new_relic/metric_parser/controller.rb +54 -0
  64. data/lib/new_relic/metric_parser/controller_cpu.rb +38 -0
  65. data/lib/new_relic/metric_parser/errors.rb +6 -0
  66. data/lib/new_relic/metric_parser/external.rb +50 -0
  67. data/lib/new_relic/metric_parser/mem_cache.rb +12 -0
  68. data/lib/new_relic/metric_parser/view.rb +61 -0
  69. data/lib/new_relic/metric_parser/web_frontend.rb +14 -0
  70. data/lib/new_relic/metric_parser/web_service.rb +9 -0
  71. data/lib/new_relic/metric_spec.rb +52 -0
  72. data/lib/new_relic/metrics.rb +7 -0
  73. data/lib/new_relic/noticed_error.rb +23 -0
  74. data/lib/new_relic/rack/metric_app.rb +56 -0
  75. data/lib/new_relic/rack/newrelic.ru +25 -0
  76. data/lib/new_relic/rack/newrelic.yml +25 -0
  77. data/lib/new_relic/rack_app.rb +5 -0
  78. data/lib/new_relic/recipes.rb +82 -0
  79. data/lib/new_relic/stats.rb +361 -0
  80. data/lib/new_relic/transaction_analysis.rb +121 -0
  81. data/lib/new_relic/transaction_sample.rb +666 -0
  82. data/lib/new_relic/version.rb +54 -0
  83. data/lib/new_relic_api.rb +313 -0
  84. data/lib/newrelic_rpm.rb +40 -0
  85. data/lib/tasks/all.rb +4 -0
  86. data/lib/tasks/install.rake +7 -0
  87. data/lib/tasks/tests.rake +13 -0
  88. data/newrelic.yml +227 -0
  89. data/recipes/newrelic.rb +6 -0
  90. data/techarch-newrelic_rpm.gemspec +32 -0
  91. data/test/active_record_fixtures.rb +55 -0
  92. data/test/config/newrelic.yml +46 -0
  93. data/test/config/test_control.rb +39 -0
  94. data/test/new_relic/agent/active_record_instrumentation_test.rb +264 -0
  95. data/test/new_relic/agent/agent_controller_test.rb +107 -0
  96. data/test/new_relic/agent/agent_test.rb +119 -0
  97. data/test/new_relic/agent/agent_test_controller.rb +44 -0
  98. data/test/new_relic/agent/classloader_patch_test.rb +56 -0
  99. data/test/new_relic/agent/collection_helper_test.rb +125 -0
  100. data/test/new_relic/agent/dispatcher_instrumentation_test.rb +76 -0
  101. data/test/new_relic/agent/error_collector_test.rb +172 -0
  102. data/test/new_relic/agent/method_tracer_test.rb +340 -0
  103. data/test/new_relic/agent/metric_data_test.rb +56 -0
  104. data/test/new_relic/agent/mock_ar_connection.rb +40 -0
  105. data/test/new_relic/agent/mock_scope_listener.rb +23 -0
  106. data/test/new_relic/agent/net_instrumentation_test.rb +63 -0
  107. data/test/new_relic/agent/stats_engine/metric_stats_test.rb +79 -0
  108. data/test/new_relic/agent/stats_engine/samplers_test.rb +81 -0
  109. data/test/new_relic/agent/stats_engine/stats_engine_test.rb +184 -0
  110. data/test/new_relic/agent/task_instrumentation_test.rb +126 -0
  111. data/test/new_relic/agent/testable_agent.rb +13 -0
  112. data/test/new_relic/agent/transaction_sample_builder_test.rb +195 -0
  113. data/test/new_relic/agent/transaction_sample_test.rb +186 -0
  114. data/test/new_relic/agent/transaction_sampler_test.rb +385 -0
  115. data/test/new_relic/agent/worker_loop_test.rb +103 -0
  116. data/test/new_relic/control_test.rb +113 -0
  117. data/test/new_relic/deployments_api_test.rb +68 -0
  118. data/test/new_relic/environment_test.rb +75 -0
  119. data/test/new_relic/metric_parser_test.rb +172 -0
  120. data/test/new_relic/metric_spec_test.rb +177 -0
  121. data/test/new_relic/shim_agent_test.rb +9 -0
  122. data/test/new_relic/stats_test.rb +291 -0
  123. data/test/new_relic/version_number_test.rb +74 -0
  124. data/test/test_helper.rb +38 -0
  125. data/test/ui/newrelic_controller_test.rb +14 -0
  126. data/test/ui/newrelic_helper_test.rb +53 -0
  127. data/ui/controllers/newrelic_controller.rb +220 -0
  128. data/ui/helpers/google_pie_chart.rb +55 -0
  129. data/ui/helpers/newrelic_helper.rb +317 -0
  130. data/ui/views/layouts/newrelic_default.rhtml +47 -0
  131. data/ui/views/newrelic/_explain_plans.rhtml +27 -0
  132. data/ui/views/newrelic/_sample.rhtml +19 -0
  133. data/ui/views/newrelic/_segment.rhtml +28 -0
  134. data/ui/views/newrelic/_segment_limit_message.rhtml +1 -0
  135. data/ui/views/newrelic/_segment_row.rhtml +14 -0
  136. data/ui/views/newrelic/_show_sample_detail.rhtml +24 -0
  137. data/ui/views/newrelic/_show_sample_sql.rhtml +20 -0
  138. data/ui/views/newrelic/_show_sample_summary.rhtml +3 -0
  139. data/ui/views/newrelic/_sql_row.rhtml +11 -0
  140. data/ui/views/newrelic/_stack_trace.rhtml +30 -0
  141. data/ui/views/newrelic/_table.rhtml +12 -0
  142. data/ui/views/newrelic/explain_sql.rhtml +42 -0
  143. data/ui/views/newrelic/images/arrow-close.png +0 -0
  144. data/ui/views/newrelic/images/arrow-open.png +0 -0
  145. data/ui/views/newrelic/images/blue_bar.gif +0 -0
  146. data/ui/views/newrelic/images/file_icon.png +0 -0
  147. data/ui/views/newrelic/images/gray_bar.gif +0 -0
  148. data/ui/views/newrelic/images/new_relic_rpm_desktop.gif +0 -0
  149. data/ui/views/newrelic/images/textmate.png +0 -0
  150. data/ui/views/newrelic/index.rhtml +57 -0
  151. data/ui/views/newrelic/javascript/prototype-scriptaculous.js +7288 -0
  152. data/ui/views/newrelic/javascript/transaction_sample.js +107 -0
  153. data/ui/views/newrelic/sample_not_found.rhtml +2 -0
  154. data/ui/views/newrelic/show_sample.rhtml +80 -0
  155. data/ui/views/newrelic/show_source.rhtml +3 -0
  156. data/ui/views/newrelic/stylesheets/style.css +484 -0
  157. data/ui/views/newrelic/threads.rhtml +52 -0
  158. metadata +330 -0
@@ -0,0 +1,335 @@
1
+ v2.10.1.
2
+ * truncating extremely large transaction traces for efficiency
3
+ * fix error reporting in recipes; add newrelic_rails_env option to recipes to
4
+ override the rails env used to pull the app_name out of newrelic.yml
5
+ * added TorqueBox recognition (thanks Bob McWhirter)
6
+ * renamed config settings: enabled => monitor_mode; developer => developer_mode;
7
+ old names will still work in newrelic.yml
8
+ * instrumentation for DelayedJob (thanks Travis Tilley)
9
+ * added config switches to turn off certain instrumentation when you aren't
10
+ interested in the metrics, to save on overhead--see newrelic.yml for details.
11
+ * add profiling support to dev mode; very experimental!
12
+ * add 'multi_threaded' config option to indicate when the app is running
13
+ multi-threaded, so we can disable some instrumentation
14
+ * fix test failures in JRuby, REE
15
+ * improve Net::HTTP instrumentation so its more efficient and distinguishes calls
16
+ between web and non-web transactions.
17
+ * database instrumentation notices all database commands in addition to the core commands
18
+ * add support for textmate to dev mode
19
+ * preliminary sinatra support, displays actions named by the URI pattern matched
20
+ * added add_transaction_tracer method to support instrumenting methods as
21
+ if they were web transactions; this will facilitate better visibility of background
22
+ tasks and eventually things like rack, metal and Sinatra
23
+ * adjusted apdex scores to reflect time spent in the mongrel queue
24
+ * fixed incompatibility with JRuby on startup
25
+ * implmented CPU measure for JRuby which reflects the cpu burn for
26
+ all controller actions (does not include background tasks)
27
+ * fixed scope issue with GC instrumentation, subtracting time from caller
28
+ * added # of GC calls to GC instrumentation
29
+ * renamed the dispatcher metric
30
+ * refactored stats_engine code for readability
31
+
32
+ v2.10.0.
33
+ * support unicorn
34
+ * instrumentation of GC for REE and MRE with GC patch
35
+ * support agent restarting when changes are made to the account
36
+ * removed #newrelic_notice_error from Object class, replaced by NewRelic::Agent#notic_error
37
+ * collect histogram statistics
38
+ * add custom parameters to newrelic_notice_error call to display
39
+ extra info for errors
40
+ * add method disable_all_tracing(&block) to execute a block without
41
+ capturing metrics
42
+ * newrelic_ignore now blocks all instrumentation collection for
43
+ the specified actions
44
+ * added doc to method_tracer API and removed second arg
45
+ requirement for add_method_tracer call
46
+ * instrumentation for Net::HTTP
47
+ * remove method_tracer shim to avoid timing problems in monitoring daemons
48
+ * for non-rails daemons, look at APP_ROOT and NRCONFIG env vars for custom locations
49
+
50
+ v2.9.8.
51
+ * add instrumentation for Net::HTTP calls, to show up as "External"
52
+ * added support for validating agents in the cloud.
53
+ * recognize Unicorn dispatcher
54
+ * add NewRelic module definitions to ActiveRecord instrumentation
55
+
56
+ v2.9.5.
57
+ * Snow Leopard memory fix
58
+
59
+ v2.9.4.
60
+ * clamp size of data sent to server
61
+ * reset statistics for passenger when forking to avoid erroneous data
62
+ * fix problem deserializing errors from the server
63
+ * fix incompatibility with postgres introduced in 2.9.
64
+
65
+ v2.9.3.
66
+ * fix startup failure in Windows due to memory sampler
67
+ * add JRuby environment information
68
+
69
+ v2.9.2.
70
+ * change default apdex_t to 0.5 seconds
71
+ * fix bug in deployments introduced by multi_homed setting
72
+ * support overriding the log in the agent api
73
+ * fix JRuby problem using objectspace
74
+ * display custom parameters when looking at transactions in dev mode
75
+ * display count of sql statements on the list of transactions in dev mode
76
+ * fixes for merb--thanks to Carl Lerche
77
+
78
+ v2.9.1.
79
+ * add newrelic_ignore_apdex method to controller classes to allow
80
+ you to omit some actions from apdex statistics
81
+ * Add hook for Passenger shutdown events to get more timely shutdown
82
+ notices; this will help in more accurate memory readings in
83
+ Passenger
84
+ * add newrelic_notice_error to Object class
85
+ * optional ability to verify SSL certificates, note that this has some
86
+ performance and reliability implications
87
+ * support multi-homed host with multiple apps running on duplicate
88
+ ports
89
+
90
+ v2.9.0.
91
+ Noteworthy Enhancements
92
+ * give visibility to templates and partials in Rails 2.1 and later, in
93
+ dev mode and production
94
+ * change active record metrics to capture statistics in adapter log()
95
+ call, resulting in lower overhead and improved visibility into
96
+ different DB operations; only AR operations that are not hitting the
97
+ query cache will be measured to avoid overhead
98
+ * added mongrel_rpm to the gem, a standalone daemon listening for custom
99
+ metric values sent from local processes (experimental); do mongrel_rpm
100
+ --help
101
+ * add API for system monitoring daemons (refer to KB articles); changed
102
+ API for manual starting of the agent; refer to
103
+ NewRelic::Agent.manual_start for details
104
+ * do certificate verification on ssl connections to
105
+ collector.newrelic.com
106
+ * support instances appearing in more than one application by allowing a
107
+ semicolon separated list of names for the newrelic.yml app_name
108
+ setting.
109
+ * combined agent logfiles into a single logfile
110
+ * use rpm server time for transaction traces rather than agent time
111
+
112
+ Developer Mode (only) Enhancements
113
+ * show partial rendering in traces
114
+ * improved formatting of metric names in traces
115
+ * added number of queries to transactions in the transaction list
116
+ * added some sorting options for the transaction list
117
+ * added a page showing the list of active threads
118
+
119
+ Compatibility Enhancements
120
+ * ruby 1.9.1 compatibility
121
+ * support concurrency when determining busy times, for 2.2 compatibility
122
+ * in jruby, use Java used heap for memory sampling if the system memory
123
+ is not accessible from an unsupported platform
124
+ * jruby will no longer start the agent now when running the console or
125
+ rake tasks
126
+ * API support for RPM as a footnote add-in
127
+ * webrick support restored
128
+
129
+ Noteworthy bugfixes
130
+ * sample memory on linux by reading /proc/#{$$}/status file
131
+ * fixed ambiguous 'View' metrics showing up in controller breakdown
132
+ * removed Numeric extensions, including round_to, and to_ms
133
+ * using a different timeout mechanism when we post data to RPM
134
+ * remove usage of Rails::Info which had a side effect of enabling
135
+ ActiveRecord even when it wasn't an active framework
136
+ * moved CPU sampler off background thread and onto the harvest thread
137
+ * tests now run cleanly in any rails app using test:newrelic or
138
+ test:plugins
139
+
140
+ Agent improvements to support future RPM enhancements
141
+ * add instrumentation to capture metrics on response codes; not yet
142
+ working in rails 2.3.*
143
+ * added http referer to traced errors
144
+ * capture gem requirements from rails
145
+ * capture cpu utilization adjusted for processor count
146
+ * transaction sampling
147
+
148
+ v2.8.10.
149
+ * fix thin support with rails 2.3.2 when using script/server
150
+ * fix incompatibility with rails 2.3.2 and script/server options
151
+ processing
152
+ * minor tweak to environment gathering for gem mode
153
+
154
+ v2.8.9.
155
+ * fix problem finding the newrelic controller in dev mode
156
+ * fix incompatibility with older versions of optparse
157
+ * fix potential jvm problem with jruby
158
+ * remove test:all task definition to avoid conflicts
159
+ * change error message about window sampler in windows not supported to a
160
+ warning message
161
+
162
+ v2.8.8.
163
+ * fix error with jruby on windows
164
+ * fix problem where webrick was being incorrectly detected causing some
165
+ problems with mongrel application assignments--had to disable webrick
166
+ for now
167
+
168
+ v2.8.7.
169
+ * fix for ssl connection hanging problems
170
+ * fix problem recognizing mongrel in rails 2.3.2
171
+ * fastcgi support in rails 2.3.2
172
+ * put back webrick support
173
+
174
+ v2.8.6.
175
+ * fix for capture_params when using file uploads in controller actions
176
+ * use pure ruby NS lookup for collector host to eliminate possibly
177
+ blocking applications
178
+
179
+ v2.8.5.
180
+ * fix reference to CommandError which was breaking some cap scripts
181
+ * fix incompatibility with Rails 2.0 in the server API
182
+ * fix problem with litespeed with Lite accounts
183
+ * fix problem when ActiveRecord is disabled
184
+ * moved merb instrumentation to Merb::Controller instead of
185
+ AbstractController to address incompatibility with MailController
186
+ * fix problem in devmode displaying sql with embedded urls
187
+
188
+ v2.8.4.
189
+ * fix bug in capistrano recipe causing cap commands to fail with error
190
+ about not finding Version class
191
+
192
+ v2.8.3.
193
+ * refactor unit tests so they will run in a generic rails environment
194
+ * require classes in advance to avoid autoloading. this is to address
195
+ incompatibilities with desert as well as more flexibility in gem
196
+ initialization
197
+ * fixed newrelic_helper.rb 1.9 incompatibility
198
+
199
+ v2.8.2.
200
+ * fix Ruby 1.9 syntax compatibility errors
201
+ * update the class loading sanity check, will notify server of errors
202
+ * fix agent output on script and rake task execution
203
+
204
+ v2.8.1.
205
+ * Convert the deployment information upload script to an executable and
206
+ put in the bin directory. When installed as a gem this command is
207
+ symlinked to /usr/bin. Usage: newrelic_cmd deployments --help
208
+ * Fix issue invoking api when host is not set in newrelic.yml
209
+ * Fix deployments api so it will work from a gem
210
+ * Fix thin incompatibility in developer mode
211
+
212
+ v2.8.0.
213
+ * add beta of api in new_relic_api.rb
214
+ * instrumented dynamic finders in ActiveRecord
215
+ * preliminary support for capturing deployment information via capistrano
216
+ * change memory sampler for solaris to use /usr/bin/ps
217
+ * allow ERB in newrelic.yml file
218
+ * merged support for merb into this version
219
+ * fix incompatibility in the developer mode with the safe_erb plugin
220
+ * fix module namespace issue causing an error accessing
221
+ NewRelic::Instrumentation modules
222
+ * fix issue where the agent sometimes failed to start up if there was a
223
+ transient network problem
224
+ * fix IgnoreSilentlyException message
225
+
226
+ v2.7.4.
227
+ * fix error when trying to serialize some kinds of Enumerable objects
228
+ * added extra debug logging
229
+ * added app_name to app mapping
230
+
231
+ v2.7.3.
232
+ * fix compatibility issue with 1.8.5 causing error with Dir.glob
233
+
234
+ v2.7.2.
235
+ * fix problem with passenger edge not being a detected environment
236
+
237
+ v2.7.1.
238
+ * fix problem with skipped dispatcher instrumentation
239
+
240
+ v2.7.0.
241
+ * Repackage to support both plugin and Gem installation
242
+ * Support passenger/litespeed/jruby application naming
243
+ * Update method for calculating dispatcher queue time
244
+ * Show stack traces in RPM Transaction Traces
245
+ * Capture error source for TemplateErrors
246
+ * Clean up error stack traces.
247
+ * Support query plans from postgres
248
+ * Performance tuning
249
+ * bugfixes
250
+
251
+ v2.5.3.
252
+ * fix error in transaction tracing causing traces not to show up
253
+
254
+ v2.5.2.
255
+ * fixes for postgres explain plan support
256
+
257
+ v2.5.1.
258
+ * bugfixes
259
+
260
+ v2.5.0.
261
+ * add agent support for rpm 1.1 features
262
+ * Fix regression error with thin support
263
+
264
+ v2.4.3.
265
+ * added 'newrelic_ignore' controller class method with :except and :only options for finer grained control
266
+ over the blocking of instrumentation in controllers.
267
+ * bugfixes
268
+
269
+ v2.4.2.
270
+ * error reporting in early access
271
+
272
+ v2.4.1.
273
+ * bugfix: initializing developer mode
274
+
275
+ v2.4.0.
276
+ * Beta support for LiteSpeed and Passenger
277
+
278
+ v2.3.7.
279
+ * bugfixes
280
+
281
+ v2.3.6.
282
+ * bugfixes
283
+
284
+ v2.3.5.
285
+ * bugfixes: pie chart data, rails 1.1 compability
286
+
287
+ v2.3.4.
288
+ * bugfix
289
+
290
+ v2.3.3.
291
+ * bugfix for non-mysql databases
292
+
293
+ v2.3.2.
294
+ * bugfixes
295
+ * Add enhancement for Transaction Traces early access feature
296
+
297
+ v2.3.1.
298
+ * bugfixes
299
+
300
+ v2.3.0.
301
+ + Add support for Transaction Traces early access feature
302
+
303
+ v2.2.2.
304
+ * bugfixes
305
+
306
+ v2.2.1.
307
+ + Add rails 2.1 support for Developer Mode
308
+ + Changes to memory sampler: Add support for JRuby and fix Solaris support.
309
+ * Stop catching exceptions and start catching StandardError; other exception cleanup
310
+ * Add protective exception catching to the stats engine
311
+ * Improved support for thin domain sockets
312
+ * Support JRuby environments
313
+
314
+ v2.1.6.
315
+ * bugfixes
316
+
317
+ v2.1.5.
318
+ * bugfixes
319
+
320
+ v2.1.4.
321
+ * bugfixes
322
+
323
+ v2.1.3.
324
+ * bugfixes
325
+
326
+ v2.1.2.
327
+ * bugfixes
328
+
329
+ v2.1.1.
330
+ * bugfixes
331
+
332
+ v2.1.0.
333
+ * release for private beta
334
+
335
+
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.
@@ -0,0 +1,159 @@
1
+ CHANGELOG
2
+ LICENSE
3
+ README.md
4
+ Rakefile
5
+ bin/mongrel_rpm
6
+ bin/newrelic_cmd
7
+ cert/cacert.pem
8
+ init.rb
9
+ install.rb
10
+ lib/newrelic_rpm.rb
11
+ lib/new_relic_api.rb
12
+ lib/new_relic/agent.rb
13
+ lib/new_relic/control.rb
14
+ lib/new_relic/histogram.rb
15
+ lib/new_relic/local_environment.rb
16
+ lib/new_relic/merbtasks.rb
17
+ lib/new_relic/metrics.rb
18
+ lib/new_relic/metric_data.rb
19
+ lib/new_relic/metric_parser.rb
20
+ lib/new_relic/metric_spec.rb
21
+ lib/new_relic/noticed_error.rb
22
+ lib/new_relic/rack_app.rb
23
+ lib/new_relic/recipes.rb
24
+ lib/new_relic/stats.rb
25
+ lib/new_relic/transaction_analysis.rb
26
+ lib/new_relic/transaction_sample.rb
27
+ lib/new_relic/version.rb
28
+ lib/new_relic/agent/agent.rb
29
+ lib/new_relic/agent/chained_call.rb
30
+ lib/new_relic/agent/collection_helper.rb
31
+ lib/new_relic/agent/error_collector.rb
32
+ lib/new_relic/agent/method_tracer.rb
33
+ lib/new_relic/agent/patch_const_missing.rb
34
+ lib/new_relic/agent/sampler.rb
35
+ lib/new_relic/agent/shim_agent.rb
36
+ lib/new_relic/agent/stats_engine.rb
37
+ lib/new_relic/agent/transaction_sampler.rb
38
+ lib/new_relic/agent/worker_loop.rb
39
+ lib/new_relic/agent/instrumentation/active_merchant.rb
40
+ lib/new_relic/agent/instrumentation/active_record_instrumentation.rb
41
+ lib/new_relic/agent/instrumentation/authlogic.rb
42
+ lib/new_relic/agent/instrumentation/camping.rb
43
+ lib/new_relic/agent/instrumentation/controller_instrumentation.rb
44
+ lib/new_relic/agent/instrumentation/data_mapper.rb
45
+ lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
46
+ lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb
47
+ lib/new_relic/agent/instrumentation/memcache.rb
48
+ lib/new_relic/agent/instrumentation/net.rb
49
+ lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
50
+ lib/new_relic/agent/instrumentation/rack.rb
51
+ lib/new_relic/agent/instrumentation/sinatra.rb
52
+ lib/new_relic/agent/instrumentation/merb/controller.rb
53
+ lib/new_relic/agent/instrumentation/merb/dispatcher.rb
54
+ lib/new_relic/agent/instrumentation/merb/errors.rb
55
+ lib/new_relic/agent/instrumentation/rails/action_controller.rb
56
+ lib/new_relic/agent/instrumentation/rails/action_web_service.rb
57
+ lib/new_relic/agent/instrumentation/rails/dispatcher.rb
58
+ lib/new_relic/agent/instrumentation/rails/errors.rb
59
+ lib/new_relic/agent/samplers/cpu_sampler.rb
60
+ lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb
61
+ lib/new_relic/agent/samplers/memory_sampler.rb
62
+ lib/new_relic/agent/samplers/mongrel_sampler.rb
63
+ lib/new_relic/agent/samplers/object_sampler.rb
64
+ lib/new_relic/agent/stats_engine/metric_stats.rb
65
+ lib/new_relic/agent/stats_engine/samplers.rb
66
+ lib/new_relic/agent/stats_engine/transactions.rb
67
+ lib/new_relic/commands/deployments.rb
68
+ lib/new_relic/commands/new_relic_commands.rb
69
+ lib/new_relic/control/external.rb
70
+ lib/new_relic/control/merb.rb
71
+ lib/new_relic/control/rails.rb
72
+ lib/new_relic/control/ruby.rb
73
+ lib/new_relic/control/sinatra.rb
74
+ lib/new_relic/metric_parser/action_mailer.rb
75
+ lib/new_relic/metric_parser/active_merchant.rb
76
+ lib/new_relic/metric_parser/active_record.rb
77
+ lib/new_relic/metric_parser/controller.rb
78
+ lib/new_relic/metric_parser/controller_cpu.rb
79
+ lib/new_relic/metric_parser/errors.rb
80
+ lib/new_relic/metric_parser/external.rb
81
+ lib/new_relic/metric_parser/mem_cache.rb
82
+ lib/new_relic/metric_parser/other_transaction.rb
83
+ lib/new_relic/metric_parser/view.rb
84
+ lib/new_relic/metric_parser/web_frontend.rb
85
+ lib/new_relic/metric_parser/web_service.rb
86
+ lib/new_relic/rack/metric_app.rb
87
+ lib/tasks/all.rb
88
+ lib/tasks/install.rake
89
+ lib/tasks/tests.rake
90
+ newrelic.yml
91
+ recipes/newrelic.rb
92
+ test/active_record_fixtures.rb
93
+ test/config/newrelic.yml
94
+ test/config/test_control.rb
95
+ test/new_relic/agent/active_record_instrumentation_test.rb
96
+ test/new_relic/agent/agent_controller_test.rb
97
+ test/new_relic/agent/agent_test.rb
98
+ test/new_relic/agent/agent_test_controller.rb
99
+ test/new_relic/agent/classloader_patch_test.rb
100
+ test/new_relic/agent/collection_helper_test.rb
101
+ test/new_relic/agent/dispatcher_instrumentation_test.rb
102
+ test/new_relic/agent/error_collector_test.rb
103
+ test/new_relic/agent/method_tracer_test.rb
104
+ test/new_relic/agent/metric_data_test.rb
105
+ test/new_relic/agent/mock_ar_connection.rb
106
+ test/new_relic/agent/mock_scope_listener.rb
107
+ test/new_relic/agent/net_instrumentation_test.rb
108
+ test/new_relic/agent/stats_engine/metric_stats_test.rb
109
+ test/new_relic/agent/stats_engine/samplers_test.rb
110
+ test/new_relic/agent/stats_engine/stats_engine_test.rb
111
+ test/new_relic/agent/task_instrumentation_test.rb
112
+ test/new_relic/agent/testable_agent.rb
113
+ test/new_relic/agent/transaction_sample_builder_test.rb
114
+ test/new_relic/agent/transaction_sample_test.rb
115
+ test/new_relic/agent/transaction_sampler_test.rb
116
+ test/new_relic/agent/worker_loop_test.rb
117
+ test/new_relic/control_test.rb
118
+ test/new_relic/deployments_api_test.rb
119
+ test/new_relic/environment_test.rb
120
+ test/new_relic/metric_parser_test.rb
121
+ test/new_relic/metric_spec_test.rb
122
+ test/new_relic/shim_agent_test.rb
123
+ test/new_relic/stats_test.rb
124
+ test/new_relic/version_number_test.rb
125
+ test/test_helper.rb
126
+ test/ui/newrelic_controller_test.rb
127
+ test/ui/newrelic_helper_test.rb
128
+ ui/controllers/newrelic_controller.rb
129
+ ui/helpers/google_pie_chart.rb
130
+ ui/helpers/newrelic_helper.rb
131
+ ui/views/layouts/newrelic_default.rhtml
132
+ ui/views/newrelic/_explain_plans.rhtml
133
+ ui/views/newrelic/_sample.rhtml
134
+ ui/views/newrelic/_segment.rhtml
135
+ ui/views/newrelic/_segment_limit_message.rhtml
136
+ ui/views/newrelic/_segment_row.rhtml
137
+ ui/views/newrelic/_show_sample_detail.rhtml
138
+ ui/views/newrelic/_show_sample_sql.rhtml
139
+ ui/views/newrelic/_show_sample_summary.rhtml
140
+ ui/views/newrelic/_sql_row.rhtml
141
+ ui/views/newrelic/_stack_trace.rhtml
142
+ ui/views/newrelic/_table.rhtml
143
+ ui/views/newrelic/explain_sql.rhtml
144
+ ui/views/newrelic/images/arrow-close.png
145
+ ui/views/newrelic/images/arrow-open.png
146
+ ui/views/newrelic/images/blue_bar.gif
147
+ ui/views/newrelic/images/file_icon.png
148
+ ui/views/newrelic/images/gray_bar.gif
149
+ ui/views/newrelic/images/new_relic_rpm_desktop.gif
150
+ ui/views/newrelic/images/textmate.png
151
+ ui/views/newrelic/index.rhtml
152
+ ui/views/newrelic/javascript/prototype-scriptaculous.js
153
+ ui/views/newrelic/javascript/transaction_sample.js
154
+ ui/views/newrelic/sample_not_found.rhtml
155
+ ui/views/newrelic/show_sample.rhtml
156
+ ui/views/newrelic/show_source.rhtml
157
+ ui/views/newrelic/stylesheets/style.css
158
+ ui/views/newrelic/threads.rhtml
159
+ Manifest