ghazel-newrelic_rpm 3.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +525 -0
- data/LICENSE +37 -0
- data/README.rdoc +179 -0
- data/bin/mongrel_rpm +33 -0
- data/bin/newrelic +13 -0
- data/bin/newrelic_cmd +5 -0
- data/cert/cacert.pem +118 -0
- data/cert/oldsite.pem +28 -0
- data/cert/site.pem +27 -0
- data/install.rb +9 -0
- data/lib/conditional_vendored_dependency_detection.rb +3 -0
- data/lib/conditional_vendored_metric_parser.rb +5 -0
- data/lib/new_relic/agent.rb +423 -0
- data/lib/new_relic/agent/agent.rb +1040 -0
- data/lib/new_relic/agent/beacon_configuration.rb +61 -0
- data/lib/new_relic/agent/browser_monitoring.rb +83 -0
- data/lib/new_relic/agent/busy_calculator.rb +91 -0
- data/lib/new_relic/agent/chained_call.rb +13 -0
- data/lib/new_relic/agent/error_collector.rb +203 -0
- data/lib/new_relic/agent/instrumentation.rb +9 -0
- data/lib/new_relic/agent/instrumentation/active_merchant.rb +21 -0
- data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +62 -0
- data/lib/new_relic/agent/instrumentation/authlogic.rb +13 -0
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +413 -0
- data/lib/new_relic/agent/instrumentation/data_mapper.rb +232 -0
- data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +44 -0
- data/lib/new_relic/agent/instrumentation/memcache.rb +56 -0
- data/lib/new_relic/agent/instrumentation/merb/controller.rb +36 -0
- data/lib/new_relic/agent/instrumentation/merb/errors.rb +23 -0
- data/lib/new_relic/agent/instrumentation/metric_frame.rb +326 -0
- data/lib/new_relic/agent/instrumentation/metric_frame/pop.rb +84 -0
- data/lib/new_relic/agent/instrumentation/net.rb +23 -0
- data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +34 -0
- data/lib/new_relic/agent/instrumentation/queue_time.rb +210 -0
- data/lib/new_relic/agent/instrumentation/rack.rb +98 -0
- data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +83 -0
- data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +36 -0
- data/lib/new_relic/agent/instrumentation/rails/active_record_instrumentation.rb +108 -0
- data/lib/new_relic/agent/instrumentation/rails/errors.rb +36 -0
- data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +60 -0
- data/lib/new_relic/agent/instrumentation/rails3/active_record_instrumentation.rb +112 -0
- data/lib/new_relic/agent/instrumentation/rails3/errors.rb +31 -0
- data/lib/new_relic/agent/instrumentation/sinatra.rb +54 -0
- data/lib/new_relic/agent/instrumentation/sunspot.rb +23 -0
- data/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb +16 -0
- data/lib/new_relic/agent/method_tracer.rb +422 -0
- data/lib/new_relic/agent/sampler.rb +50 -0
- data/lib/new_relic/agent/samplers/cpu_sampler.rb +58 -0
- data/lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb +40 -0
- data/lib/new_relic/agent/samplers/memory_sampler.rb +144 -0
- data/lib/new_relic/agent/samplers/object_sampler.rb +26 -0
- data/lib/new_relic/agent/shim_agent.rb +29 -0
- data/lib/new_relic/agent/stats_engine.rb +24 -0
- data/lib/new_relic/agent/stats_engine/metric_stats.rb +182 -0
- data/lib/new_relic/agent/stats_engine/samplers.rb +89 -0
- data/lib/new_relic/agent/stats_engine/transactions.rb +184 -0
- data/lib/new_relic/agent/transaction_sample_builder.rb +101 -0
- data/lib/new_relic/agent/transaction_sampler.rb +378 -0
- data/lib/new_relic/agent/worker_loop.rb +81 -0
- data/lib/new_relic/collection_helper.rb +69 -0
- data/lib/new_relic/command.rb +85 -0
- data/lib/new_relic/commands/deployments.rb +105 -0
- data/lib/new_relic/commands/install.rb +91 -0
- data/lib/new_relic/control.rb +48 -0
- data/lib/new_relic/control/class_methods.rb +47 -0
- data/lib/new_relic/control/configuration.rb +157 -0
- data/lib/new_relic/control/frameworks/external.rb +16 -0
- data/lib/new_relic/control/frameworks/merb.rb +30 -0
- data/lib/new_relic/control/frameworks/rails.rb +151 -0
- data/lib/new_relic/control/frameworks/rails3.rb +70 -0
- data/lib/new_relic/control/frameworks/ruby.rb +42 -0
- data/lib/new_relic/control/frameworks/sinatra.rb +23 -0
- data/lib/new_relic/control/instance_methods.rb +154 -0
- data/lib/new_relic/control/instrumentation.rb +81 -0
- data/lib/new_relic/control/logging_methods.rb +88 -0
- data/lib/new_relic/control/profiling.rb +25 -0
- data/lib/new_relic/control/server_methods.rb +104 -0
- data/lib/new_relic/data_serialization.rb +84 -0
- data/lib/new_relic/delayed_job_injection.rb +38 -0
- data/lib/new_relic/histogram.rb +91 -0
- data/lib/new_relic/local_environment.rb +391 -0
- data/lib/new_relic/merbtasks.rb +6 -0
- data/lib/new_relic/metric_data.rb +46 -0
- data/lib/new_relic/metric_spec.rb +73 -0
- data/lib/new_relic/metrics.rb +9 -0
- data/lib/new_relic/noticed_error.rb +24 -0
- data/lib/new_relic/rack/browser_monitoring.rb +68 -0
- data/lib/new_relic/rack/developer_mode.rb +267 -0
- data/lib/new_relic/rack/metric_app.rb +65 -0
- data/lib/new_relic/rack/mongrel_rpm.ru +28 -0
- data/lib/new_relic/rack/newrelic.yml +27 -0
- data/lib/new_relic/rack_app.rb +6 -0
- data/lib/new_relic/recipes.rb +73 -0
- data/lib/new_relic/stats.rb +378 -0
- data/lib/new_relic/timer_lib.rb +27 -0
- data/lib/new_relic/transaction_analysis.rb +76 -0
- data/lib/new_relic/transaction_analysis/segment_summary.rb +47 -0
- data/lib/new_relic/transaction_sample.rb +272 -0
- data/lib/new_relic/transaction_sample/composite_segment.rb +27 -0
- data/lib/new_relic/transaction_sample/fake_segment.rb +9 -0
- data/lib/new_relic/transaction_sample/segment.rb +251 -0
- data/lib/new_relic/transaction_sample/summary_segment.rb +21 -0
- data/lib/new_relic/url_rule.rb +14 -0
- data/lib/new_relic/version.rb +55 -0
- data/lib/newrelic_rpm.rb +49 -0
- data/lib/tasks/all.rb +4 -0
- data/lib/tasks/install.rake +7 -0
- data/lib/tasks/tests.rake +19 -0
- data/newrelic.yml +265 -0
- data/newrelic_rpm.gemspec +330 -0
- data/recipes/newrelic.rb +6 -0
- data/test/active_record_fixtures.rb +77 -0
- data/test/config/newrelic.yml +48 -0
- data/test/config/test_control.rb +48 -0
- data/test/new_relic/agent/agent/connect_test.rb +316 -0
- data/test/new_relic/agent/agent/start_test.rb +340 -0
- data/test/new_relic/agent/agent/start_worker_thread_test.rb +155 -0
- data/test/new_relic/agent/agent_test.rb +173 -0
- data/test/new_relic/agent/agent_test_controller.rb +77 -0
- data/test/new_relic/agent/agent_test_controller_test.rb +366 -0
- data/test/new_relic/agent/apdex_from_server_test.rb +9 -0
- data/test/new_relic/agent/beacon_configuration_test.rb +104 -0
- data/test/new_relic/agent/browser_monitoring_test.rb +274 -0
- data/test/new_relic/agent/busy_calculator_test.rb +81 -0
- data/test/new_relic/agent/error_collector/notice_error_test.rb +257 -0
- data/test/new_relic/agent/error_collector_test.rb +168 -0
- data/test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb +522 -0
- data/test/new_relic/agent/instrumentation/controller_instrumentation_test.rb +36 -0
- data/test/new_relic/agent/instrumentation/instrumentation_test.rb +11 -0
- data/test/new_relic/agent/instrumentation/metric_frame/pop_test.rb +179 -0
- data/test/new_relic/agent/instrumentation/metric_frame_test.rb +50 -0
- data/test/new_relic/agent/instrumentation/net_instrumentation_test.rb +84 -0
- data/test/new_relic/agent/instrumentation/queue_time_test.rb +387 -0
- data/test/new_relic/agent/instrumentation/rack_test.rb +35 -0
- data/test/new_relic/agent/instrumentation/task_instrumentation_test.rb +184 -0
- data/test/new_relic/agent/memcache_instrumentation_test.rb +107 -0
- data/test/new_relic/agent/method_tracer/class_methods/add_method_tracer_test.rb +164 -0
- data/test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb +234 -0
- data/test/new_relic/agent/method_tracer_test.rb +386 -0
- data/test/new_relic/agent/mock_scope_listener.rb +23 -0
- data/test/new_relic/agent/rpm_agent_test.rb +149 -0
- data/test/new_relic/agent/sampler_test.rb +19 -0
- data/test/new_relic/agent/shim_agent_test.rb +20 -0
- data/test/new_relic/agent/stats_engine/metric_stats/harvest_test.rb +150 -0
- data/test/new_relic/agent/stats_engine/metric_stats_test.rb +81 -0
- data/test/new_relic/agent/stats_engine/samplers_test.rb +99 -0
- data/test/new_relic/agent/stats_engine_test.rb +185 -0
- data/test/new_relic/agent/transaction_sample_builder_test.rb +195 -0
- data/test/new_relic/agent/transaction_sampler_test.rb +945 -0
- data/test/new_relic/agent/worker_loop_test.rb +66 -0
- data/test/new_relic/collection_helper_test.rb +127 -0
- data/test/new_relic/command/deployments_test.rb +68 -0
- data/test/new_relic/control/class_methods_test.rb +62 -0
- data/test/new_relic/control/logging_methods_test.rb +157 -0
- data/test/new_relic/control_test.rb +195 -0
- data/test/new_relic/data_serialization_test.rb +70 -0
- data/test/new_relic/local_environment_test.rb +72 -0
- data/test/new_relic/metric_data_test.rb +125 -0
- data/test/new_relic/metric_spec_test.rb +95 -0
- data/test/new_relic/rack/all_test.rb +11 -0
- data/test/new_relic/rack/browser_monitoring_test.rb +84 -0
- data/test/new_relic/rack/developer_mode_test.rb +43 -0
- data/test/new_relic/stats_test.rb +426 -0
- data/test/new_relic/transaction_analysis/segment_summary_test.rb +77 -0
- data/test/new_relic/transaction_analysis_test.rb +121 -0
- data/test/new_relic/transaction_sample/composite_segment_test.rb +35 -0
- data/test/new_relic/transaction_sample/fake_segment_test.rb +17 -0
- data/test/new_relic/transaction_sample/segment_test.rb +454 -0
- data/test/new_relic/transaction_sample/summary_segment_test.rb +31 -0
- data/test/new_relic/transaction_sample_subtest_test.rb +56 -0
- data/test/new_relic/transaction_sample_test.rb +170 -0
- data/test/new_relic/version_number_test.rb +89 -0
- data/test/test_contexts.rb +29 -0
- data/test/test_helper.rb +144 -0
- data/ui/helpers/developer_mode_helper.rb +351 -0
- data/ui/helpers/google_pie_chart.rb +49 -0
- data/ui/views/layouts/newrelic_default.rhtml +47 -0
- data/ui/views/newrelic/_explain_plans.rhtml +27 -0
- data/ui/views/newrelic/_sample.rhtml +20 -0
- data/ui/views/newrelic/_segment.rhtml +28 -0
- data/ui/views/newrelic/_segment_limit_message.rhtml +1 -0
- data/ui/views/newrelic/_segment_row.rhtml +12 -0
- data/ui/views/newrelic/_show_sample_detail.rhtml +24 -0
- data/ui/views/newrelic/_show_sample_sql.rhtml +24 -0
- data/ui/views/newrelic/_show_sample_summary.rhtml +3 -0
- data/ui/views/newrelic/_sql_row.rhtml +16 -0
- data/ui/views/newrelic/_stack_trace.rhtml +15 -0
- data/ui/views/newrelic/_table.rhtml +12 -0
- data/ui/views/newrelic/explain_sql.rhtml +43 -0
- data/ui/views/newrelic/file/images/arrow-close.png +0 -0
- data/ui/views/newrelic/file/images/arrow-open.png +0 -0
- data/ui/views/newrelic/file/images/blue_bar.gif +0 -0
- data/ui/views/newrelic/file/images/file_icon.png +0 -0
- data/ui/views/newrelic/file/images/gray_bar.gif +0 -0
- data/ui/views/newrelic/file/images/new-relic-rpm-desktop.gif +0 -0
- data/ui/views/newrelic/file/images/new_relic_rpm_desktop.gif +0 -0
- data/ui/views/newrelic/file/images/textmate.png +0 -0
- data/ui/views/newrelic/file/javascript/jquery-1.4.2.js +6240 -0
- data/ui/views/newrelic/file/javascript/transaction_sample.js +120 -0
- data/ui/views/newrelic/file/stylesheets/style.css +490 -0
- data/ui/views/newrelic/index.rhtml +71 -0
- data/ui/views/newrelic/sample_not_found.rhtml +2 -0
- data/ui/views/newrelic/show_sample.rhtml +80 -0
- data/ui/views/newrelic/show_source.rhtml +3 -0
- data/ui/views/newrelic/threads.rhtml +53 -0
- data/vendor/gems/dependency_detection-0.0.1.build/LICENSE +19 -0
- data/vendor/gems/dependency_detection-0.0.1.build/README +0 -0
- data/vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb +57 -0
- data/vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb +3 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/LICENSE +0 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/README +0 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb +1 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb +64 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb +14 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb +31 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb +33 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb +89 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb +7 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb +46 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb +67 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb +43 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb +17 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb +48 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb +24 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb +28 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb +17 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb +11 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb +55 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb +40 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb +20 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb +7 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb +31 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb +17 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb +34 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb +7 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb +55 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb +122 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb +27 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb +40 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb +7 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb +7 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb +7 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb +27 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb +15 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb +54 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb +6 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb +6 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb +20 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb +20 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb +5 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb +66 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb +18 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb +14 -0
- data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb +133 -0
- metadata +399 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
#require 'new_relic/metric_parser/java'
|
2
|
+
class NewRelic::MetricParser::SolrRequestHandler < NewRelic::MetricParser::MetricParser
|
3
|
+
|
4
|
+
def short_name
|
5
|
+
if segments[1] == "org.apache.solr.handler.XmlUpdateRequestHandler"
|
6
|
+
"UpdateProcessor"
|
7
|
+
else
|
8
|
+
super
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def call_rate_suffix
|
13
|
+
'cpm'
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
class NewRelic::MetricParser::Spring < NewRelic::MetricParser::MetricParser
|
2
|
+
def initialize(name)
|
3
|
+
super
|
4
|
+
|
5
|
+
if segment_1 == 'Java'
|
6
|
+
self.extend JavaParser
|
7
|
+
end
|
8
|
+
=begin
|
9
|
+
case segment_1
|
10
|
+
when 'Controller'
|
11
|
+
self.extend NewRelic::MetricParser::Spring::Controller
|
12
|
+
when 'View'
|
13
|
+
self.extend NewRelic::MetricParser::Spring::View
|
14
|
+
end
|
15
|
+
=end
|
16
|
+
end
|
17
|
+
|
18
|
+
|
19
|
+
def pie_chart_label
|
20
|
+
short_name
|
21
|
+
end
|
22
|
+
|
23
|
+
def tooltip_name
|
24
|
+
developer_name
|
25
|
+
end
|
26
|
+
|
27
|
+
def component_type
|
28
|
+
'Spring'
|
29
|
+
end
|
30
|
+
|
31
|
+
def short_name
|
32
|
+
component_type + ' ' + developer_name
|
33
|
+
end
|
34
|
+
|
35
|
+
def developer_name
|
36
|
+
'/' + segments[1..-1].join(SEPARATOR)
|
37
|
+
end
|
38
|
+
|
39
|
+
module JavaParser
|
40
|
+
def developer_name
|
41
|
+
"#{segment_2}.#{segment_3}()"
|
42
|
+
end
|
43
|
+
|
44
|
+
def class_name_without_package
|
45
|
+
segment_2 =~ /(.*\.)(.*)$/ ? $2 : segment_2
|
46
|
+
end
|
47
|
+
|
48
|
+
# class name with/out package name and method name
|
49
|
+
def short_name
|
50
|
+
"#{component_type} #{class_name_without_package}.#{segment_3}()"
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'new_relic/metric_parser/java_parser'
|
2
|
+
module NewRelic
|
3
|
+
module MetricParser
|
4
|
+
class StrutsAction < NewRelic::MetricParser::MetricParser
|
5
|
+
include NewRelic::MetricParser::JavaParser
|
6
|
+
|
7
|
+
def method_name
|
8
|
+
"execute"
|
9
|
+
end
|
10
|
+
|
11
|
+
def full_class_name
|
12
|
+
segment_1
|
13
|
+
end
|
14
|
+
|
15
|
+
def call_rate_suffix
|
16
|
+
'cpm'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'new_relic/metric_parser/java_parser'
|
2
|
+
module NewRelic
|
3
|
+
module MetricParser
|
4
|
+
class StrutsResult < NewRelic::MetricParser::MetricParser
|
5
|
+
include JavaParser
|
6
|
+
|
7
|
+
def method_name
|
8
|
+
"execute"
|
9
|
+
end
|
10
|
+
|
11
|
+
def full_class_name
|
12
|
+
segment_1
|
13
|
+
end
|
14
|
+
|
15
|
+
def call_rate_suffix
|
16
|
+
'cpm'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'new_relic/metric_parser'
|
2
|
+
module NewRelic
|
3
|
+
module MetricParser
|
4
|
+
class View < NewRelic::MetricParser::MetricParser
|
5
|
+
def is_view?; true; end
|
6
|
+
|
7
|
+
def is_render?
|
8
|
+
segments.last == "Rendering"
|
9
|
+
end
|
10
|
+
def is_compiler?
|
11
|
+
segments.last == "Compile"
|
12
|
+
end
|
13
|
+
def pie_chart_label
|
14
|
+
case segments.last
|
15
|
+
when "Rendering"
|
16
|
+
"#{file_name(segments[-2])} Template"
|
17
|
+
when "Partial"
|
18
|
+
"#{file_name(segments[-2])} Partial"
|
19
|
+
when ".rhtml Processing"
|
20
|
+
"ERB compilation"
|
21
|
+
else
|
22
|
+
segments[1..-1]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
def template_label
|
26
|
+
case segments.last
|
27
|
+
when "Rendering"
|
28
|
+
"#{file_name(segments[1..-2].join(NewRelic::MetricParser::MetricParser::SEPARATOR))} Template"
|
29
|
+
when "Partial"
|
30
|
+
"#{file_name(segments[1..-2].join(NewRelic::MetricParser::MetricParser::SEPARATOR))} Partial"
|
31
|
+
when ".rhtml Processing"
|
32
|
+
"ERB compilation"
|
33
|
+
else
|
34
|
+
segments[1..-1].join("/")
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def short_name
|
39
|
+
segments[1..-2].join(NewRelic::MetricParser::MetricParser::SEPARATOR)
|
40
|
+
end
|
41
|
+
|
42
|
+
def controller_name
|
43
|
+
template_label
|
44
|
+
end
|
45
|
+
|
46
|
+
def action_name
|
47
|
+
# Strip the extension
|
48
|
+
segments[-2].gsub(/\..*$/, "")
|
49
|
+
end
|
50
|
+
|
51
|
+
def developer_name
|
52
|
+
template_label
|
53
|
+
end
|
54
|
+
|
55
|
+
def url
|
56
|
+
'/' + file_name(segments[1..-2].join('/'))
|
57
|
+
end
|
58
|
+
private
|
59
|
+
def file_name(path)
|
60
|
+
label = path.gsub /\.html\.rhtml/, '.rhtml'
|
61
|
+
label = segments[1] if label.empty?
|
62
|
+
label
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'new_relic/metric_parser'
|
2
|
+
# The metric where the mongrel queue time is stored
|
3
|
+
module NewRelic
|
4
|
+
module MetricParser
|
5
|
+
class WebFrontend < NewRelic::MetricParser::MetricParser
|
6
|
+
def short_name
|
7
|
+
if segments.last == 'Average Queue Time'
|
8
|
+
'Mongrel Average Queue Time'
|
9
|
+
else
|
10
|
+
super
|
11
|
+
end
|
12
|
+
end
|
13
|
+
def legend_name
|
14
|
+
'Mongrel Wait'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'new_relic/metric_parser'
|
2
|
+
module NewRelic
|
3
|
+
module MetricParser
|
4
|
+
class WebService < NewRelic::MetricParser::MetricParser
|
5
|
+
def is_web_service?
|
6
|
+
segments[1] != 'Soap' && segments[1] != 'Xml Rpc'
|
7
|
+
end
|
8
|
+
|
9
|
+
def webservice_call_rate_suffix
|
10
|
+
'rpm'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,133 @@
|
|
1
|
+
class NewRelic::MetricParser::WebTransaction < NewRelic::MetricParser::MetricParser
|
2
|
+
|
3
|
+
def is_web_transaction?; true; end
|
4
|
+
def is_transaction?; true; end
|
5
|
+
|
6
|
+
module Controller
|
7
|
+
def category; 'Controller'; end
|
8
|
+
# If the controller name segments look like a file path, convert it to the controller
|
9
|
+
# class name. If it begins with a capital letter, assume it's already a class name
|
10
|
+
def controller_name
|
11
|
+
path = segments[2..-2].join('/')
|
12
|
+
path < 'a' ? path : camelize(path)+"Controller"
|
13
|
+
end
|
14
|
+
|
15
|
+
def action_name
|
16
|
+
segments[-1]
|
17
|
+
end
|
18
|
+
|
19
|
+
def developer_name
|
20
|
+
if action_name
|
21
|
+
"#{controller_name}##{action_name}"
|
22
|
+
else
|
23
|
+
controller_name
|
24
|
+
end
|
25
|
+
end
|
26
|
+
def short_name
|
27
|
+
developer_name
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
# Wow, ugliness. Ganked from Rails to make metric parser rails-free
|
33
|
+
def camelize(str)
|
34
|
+
str.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase }
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# Like a controller but 2nd segment is always full class name,
|
39
|
+
# and 3rd segment (optional) is the action name
|
40
|
+
module Task
|
41
|
+
include Controller
|
42
|
+
def is_web_transaction?; false; end
|
43
|
+
def category; 'Task'; end
|
44
|
+
def action_name; segments[3]; end
|
45
|
+
def controller_name; segments[2]; end
|
46
|
+
end
|
47
|
+
|
48
|
+
module Rack
|
49
|
+
include Task
|
50
|
+
|
51
|
+
def is_web_transaction?; true; end
|
52
|
+
def category; 'Rack App'; end
|
53
|
+
end
|
54
|
+
|
55
|
+
module Spring
|
56
|
+
def category; 'Spring Transaction'; end
|
57
|
+
end
|
58
|
+
|
59
|
+
module SpringView
|
60
|
+
def is_web_transaction?; true; end
|
61
|
+
def category; 'Spring View'; end
|
62
|
+
end
|
63
|
+
|
64
|
+
module SpringController
|
65
|
+
def is_web_transaction?; true; end
|
66
|
+
def category; 'Spring Controller'; end
|
67
|
+
end
|
68
|
+
|
69
|
+
module Solr
|
70
|
+
def category; 'Solr Request'; end
|
71
|
+
end
|
72
|
+
|
73
|
+
module CXF
|
74
|
+
def category; 'CXF Transaction'; end
|
75
|
+
end
|
76
|
+
|
77
|
+
module Pattern
|
78
|
+
def category;'Pattern';end
|
79
|
+
def developer_name
|
80
|
+
"#{category}: #{pattern}"
|
81
|
+
end
|
82
|
+
def pattern
|
83
|
+
segments[2..-1].join('/')
|
84
|
+
end
|
85
|
+
def short_name
|
86
|
+
pattern
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
module Sinatra
|
91
|
+
include Pattern
|
92
|
+
def is_web_transaction?; true; end
|
93
|
+
def category; 'Sinatra'; end
|
94
|
+
end
|
95
|
+
|
96
|
+
def initialize(name)
|
97
|
+
super
|
98
|
+
if %w[Sinatra Spring SpringController SpringView Solr CXF Task Pattern Rack Controller].include?(segment_1)
|
99
|
+
self.extend NewRelic::MetricParser::WebTransaction.const_get(segment_1)
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
def developer_name
|
104
|
+
url
|
105
|
+
end
|
106
|
+
|
107
|
+
def short_name
|
108
|
+
if segments.length > 2
|
109
|
+
developer_name
|
110
|
+
else
|
111
|
+
'All Web Transactions'
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
def url
|
116
|
+
'/' + segments[2..-1].join('/')
|
117
|
+
end
|
118
|
+
|
119
|
+
# this is used to match transaction traces to controller actions.
|
120
|
+
# TT's don't have a preceding slash :P
|
121
|
+
def tt_path
|
122
|
+
segments[2..-1].join('/')
|
123
|
+
end
|
124
|
+
|
125
|
+
def call_rate_suffix
|
126
|
+
'rpm'
|
127
|
+
end
|
128
|
+
|
129
|
+
# default to v2 Web Transactions tab
|
130
|
+
def drilldown_url(metric_id)
|
131
|
+
{:controller => '/v2/transactions', :action => 'index', :anchor => "id=#{metric_id}"}
|
132
|
+
end
|
133
|
+
end
|
metadata
ADDED
@@ -0,0 +1,399 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ghazel-newrelic_rpm
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 117
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
- 1
|
11
|
+
version: 3.1.0.1
|
12
|
+
platform: ruby
|
13
|
+
authors:
|
14
|
+
- Bill Kayser
|
15
|
+
- Justin George
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2011-06-15 00:00:00 -07:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: jeweler
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
version: "0"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: mocha
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
type: :development
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: shoulda
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
65
|
+
description: |
|
66
|
+
New Relic is a performance management system, developed by New Relic,
|
67
|
+
Inc (http://www.newrelic.com). New Relic provides you with deep
|
68
|
+
information about the performance of your web application as it runs
|
69
|
+
in production. The New Relic Ruby Agent is dual-purposed as a either a
|
70
|
+
Gem or plugin, hosted on
|
71
|
+
http://github.com/newrelic/rpm/
|
72
|
+
|
73
|
+
email: support@newrelic.com
|
74
|
+
executables:
|
75
|
+
- newrelic_cmd
|
76
|
+
- newrelic
|
77
|
+
- mongrel_rpm
|
78
|
+
extensions: []
|
79
|
+
|
80
|
+
extra_rdoc_files:
|
81
|
+
- CHANGELOG
|
82
|
+
- LICENSE
|
83
|
+
- README.rdoc
|
84
|
+
- newrelic.yml
|
85
|
+
files:
|
86
|
+
- CHANGELOG
|
87
|
+
- LICENSE
|
88
|
+
- README.rdoc
|
89
|
+
- bin/mongrel_rpm
|
90
|
+
- bin/newrelic
|
91
|
+
- bin/newrelic_cmd
|
92
|
+
- cert/cacert.pem
|
93
|
+
- cert/oldsite.pem
|
94
|
+
- cert/site.pem
|
95
|
+
- install.rb
|
96
|
+
- lib/conditional_vendored_dependency_detection.rb
|
97
|
+
- lib/conditional_vendored_metric_parser.rb
|
98
|
+
- lib/new_relic/agent.rb
|
99
|
+
- lib/new_relic/agent/agent.rb
|
100
|
+
- lib/new_relic/agent/beacon_configuration.rb
|
101
|
+
- lib/new_relic/agent/browser_monitoring.rb
|
102
|
+
- lib/new_relic/agent/busy_calculator.rb
|
103
|
+
- lib/new_relic/agent/chained_call.rb
|
104
|
+
- lib/new_relic/agent/error_collector.rb
|
105
|
+
- lib/new_relic/agent/instrumentation.rb
|
106
|
+
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
107
|
+
- lib/new_relic/agent/instrumentation/acts_as_solr.rb
|
108
|
+
- lib/new_relic/agent/instrumentation/authlogic.rb
|
109
|
+
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
|
110
|
+
- lib/new_relic/agent/instrumentation/data_mapper.rb
|
111
|
+
- lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
|
112
|
+
- lib/new_relic/agent/instrumentation/memcache.rb
|
113
|
+
- lib/new_relic/agent/instrumentation/merb/controller.rb
|
114
|
+
- lib/new_relic/agent/instrumentation/merb/errors.rb
|
115
|
+
- lib/new_relic/agent/instrumentation/metric_frame.rb
|
116
|
+
- lib/new_relic/agent/instrumentation/metric_frame/pop.rb
|
117
|
+
- lib/new_relic/agent/instrumentation/net.rb
|
118
|
+
- lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
|
119
|
+
- lib/new_relic/agent/instrumentation/queue_time.rb
|
120
|
+
- lib/new_relic/agent/instrumentation/rack.rb
|
121
|
+
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
122
|
+
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
123
|
+
- lib/new_relic/agent/instrumentation/rails/active_record_instrumentation.rb
|
124
|
+
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
125
|
+
- lib/new_relic/agent/instrumentation/rails3/action_controller.rb
|
126
|
+
- lib/new_relic/agent/instrumentation/rails3/active_record_instrumentation.rb
|
127
|
+
- lib/new_relic/agent/instrumentation/rails3/errors.rb
|
128
|
+
- lib/new_relic/agent/instrumentation/sinatra.rb
|
129
|
+
- lib/new_relic/agent/instrumentation/sunspot.rb
|
130
|
+
- lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb
|
131
|
+
- lib/new_relic/agent/method_tracer.rb
|
132
|
+
- lib/new_relic/agent/sampler.rb
|
133
|
+
- lib/new_relic/agent/samplers/cpu_sampler.rb
|
134
|
+
- lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb
|
135
|
+
- lib/new_relic/agent/samplers/memory_sampler.rb
|
136
|
+
- lib/new_relic/agent/samplers/object_sampler.rb
|
137
|
+
- lib/new_relic/agent/shim_agent.rb
|
138
|
+
- lib/new_relic/agent/stats_engine.rb
|
139
|
+
- lib/new_relic/agent/stats_engine/metric_stats.rb
|
140
|
+
- lib/new_relic/agent/stats_engine/samplers.rb
|
141
|
+
- lib/new_relic/agent/stats_engine/transactions.rb
|
142
|
+
- lib/new_relic/agent/transaction_sample_builder.rb
|
143
|
+
- lib/new_relic/agent/transaction_sampler.rb
|
144
|
+
- lib/new_relic/agent/worker_loop.rb
|
145
|
+
- lib/new_relic/collection_helper.rb
|
146
|
+
- lib/new_relic/command.rb
|
147
|
+
- lib/new_relic/commands/deployments.rb
|
148
|
+
- lib/new_relic/commands/install.rb
|
149
|
+
- lib/new_relic/control.rb
|
150
|
+
- lib/new_relic/control/class_methods.rb
|
151
|
+
- lib/new_relic/control/configuration.rb
|
152
|
+
- lib/new_relic/control/frameworks/external.rb
|
153
|
+
- lib/new_relic/control/frameworks/merb.rb
|
154
|
+
- lib/new_relic/control/frameworks/rails.rb
|
155
|
+
- lib/new_relic/control/frameworks/rails3.rb
|
156
|
+
- lib/new_relic/control/frameworks/ruby.rb
|
157
|
+
- lib/new_relic/control/frameworks/sinatra.rb
|
158
|
+
- lib/new_relic/control/instance_methods.rb
|
159
|
+
- lib/new_relic/control/instrumentation.rb
|
160
|
+
- lib/new_relic/control/logging_methods.rb
|
161
|
+
- lib/new_relic/control/profiling.rb
|
162
|
+
- lib/new_relic/control/server_methods.rb
|
163
|
+
- lib/new_relic/data_serialization.rb
|
164
|
+
- lib/new_relic/delayed_job_injection.rb
|
165
|
+
- lib/new_relic/histogram.rb
|
166
|
+
- lib/new_relic/local_environment.rb
|
167
|
+
- lib/new_relic/merbtasks.rb
|
168
|
+
- lib/new_relic/metric_data.rb
|
169
|
+
- lib/new_relic/metric_spec.rb
|
170
|
+
- lib/new_relic/metrics.rb
|
171
|
+
- lib/new_relic/noticed_error.rb
|
172
|
+
- lib/new_relic/rack/browser_monitoring.rb
|
173
|
+
- lib/new_relic/rack/developer_mode.rb
|
174
|
+
- lib/new_relic/rack/metric_app.rb
|
175
|
+
- lib/new_relic/rack/mongrel_rpm.ru
|
176
|
+
- lib/new_relic/rack/newrelic.yml
|
177
|
+
- lib/new_relic/rack_app.rb
|
178
|
+
- lib/new_relic/recipes.rb
|
179
|
+
- lib/new_relic/stats.rb
|
180
|
+
- lib/new_relic/timer_lib.rb
|
181
|
+
- lib/new_relic/transaction_analysis.rb
|
182
|
+
- lib/new_relic/transaction_analysis/segment_summary.rb
|
183
|
+
- lib/new_relic/transaction_sample.rb
|
184
|
+
- lib/new_relic/transaction_sample/composite_segment.rb
|
185
|
+
- lib/new_relic/transaction_sample/fake_segment.rb
|
186
|
+
- lib/new_relic/transaction_sample/segment.rb
|
187
|
+
- lib/new_relic/transaction_sample/summary_segment.rb
|
188
|
+
- lib/new_relic/url_rule.rb
|
189
|
+
- lib/new_relic/version.rb
|
190
|
+
- lib/newrelic_rpm.rb
|
191
|
+
- lib/tasks/all.rb
|
192
|
+
- lib/tasks/install.rake
|
193
|
+
- lib/tasks/tests.rake
|
194
|
+
- newrelic.yml
|
195
|
+
- newrelic_rpm.gemspec
|
196
|
+
- recipes/newrelic.rb
|
197
|
+
- test/active_record_fixtures.rb
|
198
|
+
- test/config/newrelic.yml
|
199
|
+
- test/config/test_control.rb
|
200
|
+
- test/new_relic/agent/agent/connect_test.rb
|
201
|
+
- test/new_relic/agent/agent/start_test.rb
|
202
|
+
- test/new_relic/agent/agent/start_worker_thread_test.rb
|
203
|
+
- test/new_relic/agent/agent_test.rb
|
204
|
+
- test/new_relic/agent/agent_test_controller.rb
|
205
|
+
- test/new_relic/agent/agent_test_controller_test.rb
|
206
|
+
- test/new_relic/agent/apdex_from_server_test.rb
|
207
|
+
- test/new_relic/agent/beacon_configuration_test.rb
|
208
|
+
- test/new_relic/agent/browser_monitoring_test.rb
|
209
|
+
- test/new_relic/agent/busy_calculator_test.rb
|
210
|
+
- test/new_relic/agent/error_collector/notice_error_test.rb
|
211
|
+
- test/new_relic/agent/error_collector_test.rb
|
212
|
+
- test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb
|
213
|
+
- test/new_relic/agent/instrumentation/controller_instrumentation_test.rb
|
214
|
+
- test/new_relic/agent/instrumentation/instrumentation_test.rb
|
215
|
+
- test/new_relic/agent/instrumentation/metric_frame/pop_test.rb
|
216
|
+
- test/new_relic/agent/instrumentation/metric_frame_test.rb
|
217
|
+
- test/new_relic/agent/instrumentation/net_instrumentation_test.rb
|
218
|
+
- test/new_relic/agent/instrumentation/queue_time_test.rb
|
219
|
+
- test/new_relic/agent/instrumentation/rack_test.rb
|
220
|
+
- test/new_relic/agent/instrumentation/task_instrumentation_test.rb
|
221
|
+
- test/new_relic/agent/memcache_instrumentation_test.rb
|
222
|
+
- test/new_relic/agent/method_tracer/class_methods/add_method_tracer_test.rb
|
223
|
+
- test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb
|
224
|
+
- test/new_relic/agent/method_tracer_test.rb
|
225
|
+
- test/new_relic/agent/mock_scope_listener.rb
|
226
|
+
- test/new_relic/agent/rpm_agent_test.rb
|
227
|
+
- test/new_relic/agent/sampler_test.rb
|
228
|
+
- test/new_relic/agent/shim_agent_test.rb
|
229
|
+
- test/new_relic/agent/stats_engine/metric_stats/harvest_test.rb
|
230
|
+
- test/new_relic/agent/stats_engine/metric_stats_test.rb
|
231
|
+
- test/new_relic/agent/stats_engine/samplers_test.rb
|
232
|
+
- test/new_relic/agent/stats_engine_test.rb
|
233
|
+
- test/new_relic/agent/transaction_sample_builder_test.rb
|
234
|
+
- test/new_relic/agent/transaction_sampler_test.rb
|
235
|
+
- test/new_relic/agent/worker_loop_test.rb
|
236
|
+
- test/new_relic/collection_helper_test.rb
|
237
|
+
- test/new_relic/command/deployments_test.rb
|
238
|
+
- test/new_relic/control/class_methods_test.rb
|
239
|
+
- test/new_relic/control/logging_methods_test.rb
|
240
|
+
- test/new_relic/control_test.rb
|
241
|
+
- test/new_relic/data_serialization_test.rb
|
242
|
+
- test/new_relic/local_environment_test.rb
|
243
|
+
- test/new_relic/metric_data_test.rb
|
244
|
+
- test/new_relic/metric_spec_test.rb
|
245
|
+
- test/new_relic/rack/all_test.rb
|
246
|
+
- test/new_relic/rack/browser_monitoring_test.rb
|
247
|
+
- test/new_relic/rack/developer_mode_test.rb
|
248
|
+
- test/new_relic/stats_test.rb
|
249
|
+
- test/new_relic/transaction_analysis/segment_summary_test.rb
|
250
|
+
- test/new_relic/transaction_analysis_test.rb
|
251
|
+
- test/new_relic/transaction_sample/composite_segment_test.rb
|
252
|
+
- test/new_relic/transaction_sample/fake_segment_test.rb
|
253
|
+
- test/new_relic/transaction_sample/segment_test.rb
|
254
|
+
- test/new_relic/transaction_sample/summary_segment_test.rb
|
255
|
+
- test/new_relic/transaction_sample_subtest_test.rb
|
256
|
+
- test/new_relic/transaction_sample_test.rb
|
257
|
+
- test/new_relic/version_number_test.rb
|
258
|
+
- test/test_contexts.rb
|
259
|
+
- test/test_helper.rb
|
260
|
+
- ui/helpers/developer_mode_helper.rb
|
261
|
+
- ui/helpers/google_pie_chart.rb
|
262
|
+
- ui/views/layouts/newrelic_default.rhtml
|
263
|
+
- ui/views/newrelic/_explain_plans.rhtml
|
264
|
+
- ui/views/newrelic/_sample.rhtml
|
265
|
+
- ui/views/newrelic/_segment.rhtml
|
266
|
+
- ui/views/newrelic/_segment_limit_message.rhtml
|
267
|
+
- ui/views/newrelic/_segment_row.rhtml
|
268
|
+
- ui/views/newrelic/_show_sample_detail.rhtml
|
269
|
+
- ui/views/newrelic/_show_sample_sql.rhtml
|
270
|
+
- ui/views/newrelic/_show_sample_summary.rhtml
|
271
|
+
- ui/views/newrelic/_sql_row.rhtml
|
272
|
+
- ui/views/newrelic/_stack_trace.rhtml
|
273
|
+
- ui/views/newrelic/_table.rhtml
|
274
|
+
- ui/views/newrelic/explain_sql.rhtml
|
275
|
+
- ui/views/newrelic/file/images/arrow-close.png
|
276
|
+
- ui/views/newrelic/file/images/arrow-open.png
|
277
|
+
- ui/views/newrelic/file/images/blue_bar.gif
|
278
|
+
- ui/views/newrelic/file/images/file_icon.png
|
279
|
+
- ui/views/newrelic/file/images/gray_bar.gif
|
280
|
+
- ui/views/newrelic/file/images/new-relic-rpm-desktop.gif
|
281
|
+
- ui/views/newrelic/file/images/new_relic_rpm_desktop.gif
|
282
|
+
- ui/views/newrelic/file/images/textmate.png
|
283
|
+
- ui/views/newrelic/file/javascript/jquery-1.4.2.js
|
284
|
+
- ui/views/newrelic/file/javascript/transaction_sample.js
|
285
|
+
- ui/views/newrelic/file/stylesheets/style.css
|
286
|
+
- ui/views/newrelic/index.rhtml
|
287
|
+
- ui/views/newrelic/sample_not_found.rhtml
|
288
|
+
- ui/views/newrelic/show_sample.rhtml
|
289
|
+
- ui/views/newrelic/show_source.rhtml
|
290
|
+
- ui/views/newrelic/threads.rhtml
|
291
|
+
- vendor/gems/dependency_detection-0.0.1.build/LICENSE
|
292
|
+
- vendor/gems/dependency_detection-0.0.1.build/README
|
293
|
+
- vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb
|
294
|
+
- vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb
|
295
|
+
- vendor/gems/metric_parser-0.1.0.pre1/LICENSE
|
296
|
+
- vendor/gems/metric_parser-0.1.0.pre1/README
|
297
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb
|
298
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb
|
299
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb
|
300
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb
|
301
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb
|
302
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb
|
303
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb
|
304
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb
|
305
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb
|
306
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb
|
307
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb
|
308
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb
|
309
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb
|
310
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb
|
311
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb
|
312
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb
|
313
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb
|
314
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb
|
315
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
|
316
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb
|
317
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
|
318
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
|
319
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb
|
320
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb
|
321
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb
|
322
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb
|
323
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb
|
324
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb
|
325
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb
|
326
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb
|
327
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb
|
328
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb
|
329
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb
|
330
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb
|
331
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb
|
332
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb
|
333
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb
|
334
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb
|
335
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb
|
336
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb
|
337
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
|
338
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb
|
339
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb
|
340
|
+
has_rdoc: true
|
341
|
+
homepage: http://www.github.com/newrelic/rpm
|
342
|
+
licenses: []
|
343
|
+
|
344
|
+
post_install_message: |
|
345
|
+
|
346
|
+
PLEASE NOTE:
|
347
|
+
|
348
|
+
Developer Mode is now a Rack middleware.
|
349
|
+
|
350
|
+
Developer Mode is no longer available in Rails 2.1 and earlier.
|
351
|
+
However, starting in version 2.12 you can use Developer Mode in any
|
352
|
+
Rack based framework, in addition to Rails. To install developer mode
|
353
|
+
in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
|
354
|
+
your middleware stack.
|
355
|
+
|
356
|
+
If you are using JRuby, we recommend using at least version 1.4 or
|
357
|
+
later because of issues with the implementation of the timeout library.
|
358
|
+
|
359
|
+
Refer to the README.md file for more information.
|
360
|
+
|
361
|
+
Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
|
362
|
+
for a complete description of the features and enhancements available
|
363
|
+
in version 3.1 of the Ruby Agent.
|
364
|
+
|
365
|
+
|
366
|
+
rdoc_options:
|
367
|
+
- --line-numbers
|
368
|
+
- --inline-source
|
369
|
+
- --title
|
370
|
+
- New Relic Ruby Agent
|
371
|
+
require_paths:
|
372
|
+
- lib
|
373
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
374
|
+
none: false
|
375
|
+
requirements:
|
376
|
+
- - ">="
|
377
|
+
- !ruby/object:Gem::Version
|
378
|
+
hash: 3
|
379
|
+
segments:
|
380
|
+
- 0
|
381
|
+
version: "0"
|
382
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
383
|
+
none: false
|
384
|
+
requirements:
|
385
|
+
- - ">="
|
386
|
+
- !ruby/object:Gem::Version
|
387
|
+
hash: 3
|
388
|
+
segments:
|
389
|
+
- 0
|
390
|
+
version: "0"
|
391
|
+
requirements: []
|
392
|
+
|
393
|
+
rubyforge_project:
|
394
|
+
rubygems_version: 1.5.2
|
395
|
+
signing_key:
|
396
|
+
specification_version: 3
|
397
|
+
summary: New Relic Ruby Agent
|
398
|
+
test_files: []
|
399
|
+
|