newrelic_rpm 6.7.0.359 → 6.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +8 -0
- data/CHANGELOG.md +493 -4
- data/CONTRIBUTING.md +106 -19
- data/Gemfile +6 -2
- data/Guardfile +18 -1
- data/LICENSE +208 -38
- data/README.md +81 -85
- data/ROADMAP.md +24 -0
- data/Rakefile +2 -0
- data/THIRD_PARTY_NOTICES.md +213 -0
- data/bin/nrdebug +1 -1
- data/init.rb +1 -1
- data/install.rb +1 -1
- data/lib/new_relic/agent/adaptive_sampler.rb +1 -1
- data/lib/new_relic/agent/agent.rb +63 -44
- data/lib/new_relic/agent/agent_logger.rb +5 -1
- data/lib/new_relic/agent/attribute_filter.rb +8 -8
- data/lib/new_relic/agent/attribute_processing.rb +1 -1
- data/lib/new_relic/agent/attributes.rb +152 -0
- data/lib/new_relic/agent/audit_logger.rb +11 -1
- data/lib/new_relic/agent/autostart.rb +20 -15
- data/lib/new_relic/agent/chained_call.rb +1 -1
- data/lib/new_relic/agent/commands/agent_command.rb +1 -1
- data/lib/new_relic/agent/commands/agent_command_router.rb +1 -1
- data/lib/new_relic/agent/commands/thread_profiler_session.rb +1 -1
- data/lib/new_relic/agent/configuration/default_source.rb +138 -17
- data/lib/new_relic/agent/configuration/dotted_hash.rb +1 -1
- data/lib/new_relic/agent/configuration/environment_source.rb +1 -1
- data/lib/new_relic/agent/configuration/event_harvest_config.rb +1 -1
- data/lib/new_relic/agent/configuration/high_security_source.rb +1 -1
- data/lib/new_relic/agent/configuration/manager.rb +1 -1
- data/lib/new_relic/agent/configuration/manual_source.rb +1 -1
- data/lib/new_relic/agent/configuration/mask_defaults.rb +1 -1
- data/lib/new_relic/agent/configuration/security_policy_source.rb +1 -1
- data/lib/new_relic/agent/configuration/server_source.rb +2 -2
- data/lib/new_relic/agent/configuration/yaml_source.rb +12 -7
- data/lib/new_relic/agent/configuration.rb +1 -1
- data/lib/new_relic/agent/connect/request_builder.rb +4 -12
- data/lib/new_relic/agent/connect/response_handler.rb +1 -1
- data/lib/new_relic/agent/custom_event_aggregator.rb +1 -1
- data/lib/new_relic/agent/database/explain_plan_helpers.rb +1 -1
- data/lib/new_relic/agent/database/obfuscation_helpers.rb +2 -2
- data/lib/new_relic/agent/database/obfuscator.rb +1 -1
- data/lib/new_relic/agent/database/postgres_explain_obfuscator.rb +1 -1
- data/lib/new_relic/agent/database.rb +2 -3
- data/lib/new_relic/agent/database_adapter.rb +33 -0
- data/lib/new_relic/agent/datastores/metric_helper.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo/event_formatter.rb +3 -3
- data/lib/new_relic/agent/datastores/mongo/metric_translator.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo/obfuscator.rb +9 -9
- data/lib/new_relic/agent/datastores/mongo/statement_formatter.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo.rb +2 -2
- data/lib/new_relic/agent/datastores/redis.rb +1 -1
- data/lib/new_relic/agent/datastores.rb +1 -1
- data/lib/new_relic/agent/deprecator.rb +1 -1
- data/lib/new_relic/agent/{cross_app_payload.rb → distributed_tracing/cross_app_payload.rb} +3 -2
- data/lib/new_relic/agent/{cross_app_tracing.rb → distributed_tracing/cross_app_tracing.rb} +61 -46
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_attributes.rb +84 -0
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_metrics.rb +75 -0
- data/lib/new_relic/agent/{distributed_trace_payload.rb → distributed_tracing/distributed_trace_payload.rb} +25 -102
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_transport_type.rb +39 -0
- data/lib/new_relic/agent/distributed_tracing/trace_context.rb +246 -0
- data/lib/new_relic/agent/distributed_tracing/trace_context_payload.rb +126 -0
- data/lib/new_relic/agent/distributed_tracing.rb +156 -7
- data/lib/new_relic/agent/encoding_normalizer.rb +1 -1
- data/lib/new_relic/agent/error_collector.rb +34 -17
- data/lib/new_relic/agent/error_event_aggregator.rb +8 -6
- data/lib/new_relic/agent/error_trace_aggregator.rb +1 -1
- data/lib/new_relic/agent/event_aggregator.rb +1 -1
- data/lib/new_relic/agent/event_buffer.rb +1 -1
- data/lib/new_relic/agent/event_listener.rb +1 -1
- data/lib/new_relic/agent/event_loop.rb +1 -1
- data/lib/new_relic/agent/external.rb +8 -8
- data/lib/new_relic/agent/guid_generator.rb +28 -0
- data/lib/new_relic/agent/harvester.rb +1 -1
- data/lib/new_relic/agent/heap.rb +1 -1
- data/lib/new_relic/agent/hostname.rb +8 -2
- data/lib/new_relic/agent/http_clients/abstract.rb +82 -0
- data/lib/new_relic/agent/http_clients/curb_wrappers.rb +25 -20
- data/lib/new_relic/agent/http_clients/excon_wrappers.rb +29 -14
- data/lib/new_relic/agent/http_clients/http_rb_wrappers.rb +18 -22
- data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +11 -12
- data/lib/new_relic/agent/http_clients/net_http_wrappers.rb +17 -5
- data/lib/new_relic/agent/http_clients/typhoeus_wrappers.rb +5 -7
- data/lib/new_relic/agent/http_clients/uri_util.rb +12 -11
- data/lib/new_relic/agent/instrumentation/action_cable_subscriber.rb +6 -8
- data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +5 -1
- data/lib/new_relic/agent/instrumentation/action_view_subscriber.rb +12 -4
- data/lib/new_relic/agent/instrumentation/active_job.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_merchant.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_record.rb +85 -38
- data/lib/new_relic/agent/instrumentation/active_record_helper.rb +17 -6
- data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_record_prepend.rb +35 -11
- data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +8 -3
- data/lib/new_relic/agent/instrumentation/active_storage.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_storage_subscriber.rb +9 -5
- data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +10 -9
- data/lib/new_relic/agent/instrumentation/authlogic.rb +1 -1
- data/lib/new_relic/agent/instrumentation/bunny.rb +48 -29
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +1 -1
- data/lib/new_relic/agent/instrumentation/curb.rb +66 -19
- data/lib/new_relic/agent/instrumentation/data_mapper.rb +4 -2
- data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +3 -1
- data/lib/new_relic/agent/instrumentation/excon/connection.rb +7 -4
- data/lib/new_relic/agent/instrumentation/excon/middleware.rb +3 -2
- data/lib/new_relic/agent/instrumentation/excon.rb +2 -2
- data/lib/new_relic/agent/instrumentation/grape.rb +6 -11
- data/lib/new_relic/agent/instrumentation/http.rb +7 -4
- data/lib/new_relic/agent/instrumentation/httpclient.rb +6 -4
- data/lib/new_relic/agent/instrumentation/ignore_actions.rb +1 -1
- data/lib/new_relic/agent/instrumentation/memcache/dalli.rb +7 -3
- data/lib/new_relic/agent/instrumentation/memcache.rb +4 -2
- data/lib/new_relic/agent/instrumentation/merb/controller.rb +1 -1
- data/lib/new_relic/agent/instrumentation/merb/errors.rb +1 -1
- data/lib/new_relic/agent/instrumentation/middleware_proxy.rb +1 -1
- data/lib/new_relic/agent/instrumentation/middleware_tracing.rb +9 -7
- data/lib/new_relic/agent/instrumentation/mongo.rb +10 -4
- data/lib/new_relic/agent/instrumentation/mongodb_command_subscriber.rb +36 -3
- data/lib/new_relic/agent/instrumentation/net.rb +48 -28
- data/lib/new_relic/agent/instrumentation/net_prepend.rb +40 -0
- data/lib/new_relic/agent/instrumentation/notifications_subscriber.rb +26 -2
- data/lib/new_relic/agent/instrumentation/padrino.rb +3 -1
- data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +1 -1
- data/lib/new_relic/agent/instrumentation/queue_time.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rack.rb +3 -1
- data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails_middleware.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_controller.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_view.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rainbows_instrumentation.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rake.rb +2 -1
- data/lib/new_relic/agent/instrumentation/redis.rb +12 -6
- data/lib/new_relic/agent/instrumentation/resque.rb +4 -1
- data/lib/new_relic/agent/instrumentation/sequel.rb +1 -1
- data/lib/new_relic/agent/instrumentation/sequel_helper.rb +1 -1
- data/lib/new_relic/agent/instrumentation/sidekiq.rb +48 -24
- data/lib/new_relic/agent/instrumentation/sinatra/ignorer.rb +1 -1
- data/lib/new_relic/agent/instrumentation/sinatra/transaction_namer.rb +1 -1
- data/lib/new_relic/agent/instrumentation/sinatra.rb +1 -2
- data/lib/new_relic/agent/instrumentation/sunspot.rb +1 -1
- data/lib/new_relic/agent/instrumentation/typhoeus.rb +24 -7
- data/lib/new_relic/agent/instrumentation.rb +1 -1
- data/lib/new_relic/agent/internal_agent_error.rb +1 -1
- data/lib/new_relic/agent/javascript_instrumentor.rb +1 -1
- data/lib/new_relic/agent/log_once.rb +1 -1
- data/lib/new_relic/agent/logging.rb +19 -5
- data/lib/new_relic/agent/memory_logger.rb +1 -1
- data/lib/new_relic/agent/messaging.rb +6 -74
- data/lib/new_relic/agent/method_tracer.rb +10 -8
- data/lib/new_relic/agent/method_tracer_helpers.rb +3 -3
- data/lib/new_relic/agent/monitors/cross_app_monitor.rb +110 -0
- data/lib/new_relic/agent/monitors/distributed_tracing_monitor.rb +27 -0
- data/lib/new_relic/agent/{inbound_request_monitor.rb → monitors/inbound_request_monitor.rb} +2 -2
- data/lib/new_relic/agent/{synthetics_monitor.rb → monitors/synthetics_monitor.rb} +3 -5
- data/lib/new_relic/agent/monitors.rb +27 -0
- data/lib/new_relic/agent/new_relic_service/encoders.rb +1 -1
- data/lib/new_relic/agent/new_relic_service/json_marshaller.rb +1 -1
- data/lib/new_relic/agent/new_relic_service/marshaller.rb +1 -1
- data/lib/new_relic/agent/new_relic_service/security_policy_settings.rb +1 -1
- data/lib/new_relic/agent/new_relic_service.rb +34 -10
- data/lib/new_relic/agent/noticible_error.rb +22 -0
- data/lib/new_relic/agent/null_logger.rb +1 -1
- data/lib/new_relic/agent/obfuscator.rb +1 -1
- data/lib/new_relic/agent/parameter_filtering.rb +1 -1
- data/lib/new_relic/agent/payload_metric_mapping.rb +1 -1
- data/lib/new_relic/agent/pipe_channel_manager.rb +1 -1
- data/lib/new_relic/agent/pipe_service.rb +1 -1
- data/lib/new_relic/agent/prepend_supportability.rb +1 -1
- data/lib/new_relic/agent/priority_sampled_buffer.rb +8 -5
- data/lib/new_relic/agent/range_extensions.rb +1 -1
- data/lib/new_relic/agent/rules_engine/replacement_rule.rb +1 -1
- data/lib/new_relic/agent/rules_engine/segment_terms_rule.rb +1 -1
- data/lib/new_relic/agent/rules_engine.rb +1 -1
- data/lib/new_relic/agent/sampler.rb +1 -1
- data/lib/new_relic/agent/sampler_collection.rb +1 -1
- data/lib/new_relic/agent/samplers/cpu_sampler.rb +1 -1
- data/lib/new_relic/agent/samplers/delayed_job_sampler.rb +1 -1
- data/lib/new_relic/agent/samplers/memory_sampler.rb +2 -2
- data/lib/new_relic/agent/samplers/object_sampler.rb +1 -1
- data/lib/new_relic/agent/samplers/vm_sampler.rb +1 -1
- data/lib/new_relic/agent/span_event_aggregator.rb +2 -1
- data/lib/new_relic/agent/span_event_primitive.rb +108 -54
- data/lib/new_relic/agent/sql_sampler.rb +6 -6
- data/lib/new_relic/agent/stats.rb +1 -1
- data/lib/new_relic/agent/stats_engine/gc_profiler.rb +2 -2
- data/lib/new_relic/agent/stats_engine/stats_hash.rb +1 -1
- data/lib/new_relic/agent/stats_engine.rb +1 -1
- data/lib/new_relic/agent/supported_versions.rb +3 -3
- data/lib/new_relic/agent/synthetics_event_aggregator.rb +1 -1
- data/lib/new_relic/agent/system_info.rb +13 -4
- data/lib/new_relic/agent/threading/agent_thread.rb +1 -1
- data/lib/new_relic/agent/threading/backtrace_node.rb +1 -1
- data/lib/new_relic/agent/threading/backtrace_service.rb +1 -1
- data/lib/new_relic/agent/threading/thread_profile.rb +1 -1
- data/lib/new_relic/agent/timestamp_sampled_buffer.rb +1 -1
- data/lib/new_relic/agent/tracer.rb +34 -19
- data/lib/new_relic/agent/transaction/abstract_segment.rb +32 -5
- data/lib/new_relic/agent/transaction/datastore_segment.rb +1 -1
- data/lib/new_relic/agent/transaction/distributed_tracer.rb +177 -0
- data/lib/new_relic/agent/transaction/distributed_tracing.rb +58 -147
- data/lib/new_relic/agent/transaction/external_request_segment.rb +32 -39
- data/lib/new_relic/agent/transaction/message_broker_segment.rb +5 -12
- data/lib/new_relic/agent/transaction/request_attributes.rb +1 -1
- data/lib/new_relic/agent/transaction/segment.rb +28 -2
- data/lib/new_relic/agent/transaction/slowest_sample_buffer.rb +1 -1
- data/lib/new_relic/agent/transaction/synthetics_sample_buffer.rb +1 -1
- data/lib/new_relic/agent/transaction/trace.rb +3 -5
- data/lib/new_relic/agent/transaction/trace_builder.rb +1 -1
- data/lib/new_relic/agent/transaction/trace_context.rb +168 -0
- data/lib/new_relic/agent/transaction/trace_node.rb +11 -9
- data/lib/new_relic/agent/transaction/tracing.rb +1 -1
- data/lib/new_relic/agent/transaction/transaction_sample_buffer.rb +1 -1
- data/lib/new_relic/agent/transaction.rb +104 -82
- data/lib/new_relic/agent/transaction_error_primitive.rb +11 -16
- data/lib/new_relic/agent/transaction_event_aggregator.rb +1 -1
- data/lib/new_relic/agent/transaction_event_primitive.rb +29 -40
- data/lib/new_relic/agent/transaction_event_recorder.rb +1 -1
- data/lib/new_relic/agent/transaction_metrics.rb +1 -1
- data/lib/new_relic/agent/transaction_sampler.rb +1 -1
- data/lib/new_relic/agent/transaction_time_aggregator.rb +1 -1
- data/lib/new_relic/agent/utilization/aws.rb +1 -1
- data/lib/new_relic/agent/utilization/azure.rb +1 -1
- data/lib/new_relic/agent/utilization/gcp.rb +1 -1
- data/lib/new_relic/agent/utilization/pcf.rb +1 -1
- data/lib/new_relic/agent/utilization/vendor.rb +1 -1
- data/lib/new_relic/agent/utilization_data.rb +1 -1
- data/lib/new_relic/agent/vm/jruby_vm.rb +1 -1
- data/lib/new_relic/agent/vm/monotonic_gc_profiler.rb +1 -1
- data/lib/new_relic/agent/vm/mri_vm.rb +7 -5
- data/lib/new_relic/agent/vm/snapshot.rb +1 -1
- data/lib/new_relic/agent/vm.rb +1 -1
- data/lib/new_relic/agent/worker_loop.rb +1 -1
- data/lib/new_relic/agent.rb +49 -8
- data/lib/new_relic/cli/command.rb +1 -1
- data/lib/new_relic/cli/commands/deployments.rb +1 -2
- data/lib/new_relic/cli/commands/install.rb +4 -3
- data/lib/new_relic/coerce.rb +32 -7
- data/lib/new_relic/collection_helper.rb +1 -1
- data/lib/new_relic/constants.rb +42 -0
- data/lib/new_relic/control/class_methods.rb +1 -1
- data/lib/new_relic/control/frameworks/external.rb +1 -1
- data/lib/new_relic/control/frameworks/merb.rb +1 -1
- data/lib/new_relic/control/frameworks/rails.rb +1 -1
- data/lib/new_relic/control/frameworks/rails3.rb +1 -1
- data/lib/new_relic/control/frameworks/rails4.rb +1 -1
- data/lib/new_relic/control/frameworks/rails_notifications.rb +1 -1
- data/lib/new_relic/control/frameworks/ruby.rb +1 -1
- data/lib/new_relic/control/frameworks/sinatra.rb +1 -1
- data/lib/new_relic/control/frameworks.rb +1 -1
- data/lib/new_relic/control/instance_methods.rb +11 -2
- data/lib/new_relic/control/instrumentation.rb +1 -1
- data/lib/new_relic/control/server_methods.rb +1 -1
- data/lib/new_relic/control.rb +1 -1
- data/lib/new_relic/delayed_job_injection.rb +1 -1
- data/lib/new_relic/dependency_detection.rb +9 -5
- data/lib/new_relic/environment_report.rb +2 -4
- data/lib/new_relic/helper.rb +1 -1
- data/lib/new_relic/language_support.rb +1 -1
- data/lib/new_relic/latest_changes.rb +2 -2
- data/lib/new_relic/local_environment.rb +1 -1
- data/lib/new_relic/metric_data.rb +1 -1
- data/lib/new_relic/metric_spec.rb +1 -1
- data/lib/new_relic/noticed_error.rb +39 -18
- data/lib/new_relic/rack/agent_hooks.rb +1 -1
- data/lib/new_relic/rack/agent_middleware.rb +1 -1
- data/lib/new_relic/rack/browser_monitoring.rb +6 -1
- data/lib/new_relic/rack.rb +1 -1
- data/lib/new_relic/recipes/capistrano3.rb +1 -1
- data/lib/new_relic/recipes/capistrano_legacy.rb +1 -1
- data/lib/new_relic/recipes.rb +1 -1
- data/lib/new_relic/supportability_helper.rb +17 -1
- data/lib/new_relic/version.rb +2 -2
- data/lib/newrelic_rpm.rb +1 -1
- data/lib/sequel/extensions/newrelic_instrumentation.rb +1 -1
- data/lib/sequel/plugins/newrelic_instrumentation.rb +1 -1
- data/lib/tasks/all.rb +1 -1
- data/lib/tasks/multiverse.rb +35 -1
- data/lib/tasks/newrelic.rb +1 -1
- data/lib/tasks/tests.rake +6 -1
- data/newrelic_rpm.gemspec +18 -13
- data/recipes/newrelic.rb +1 -1
- data/test/agent_helper.rb +339 -72
- metadata +104 -41
- data/.travis.yml +0 -175
- data/lib/new_relic/agent/cross_app_monitor.rb +0 -110
- data/lib/new_relic/agent/distributed_trace_monitor.rb +0 -40
- data/lib/new_relic/agent/http_clients/abstract_request.rb +0 -31
- data/lib/new_relic/agent/transaction/attributes.rb +0 -154
- data/lib/new_relic/build.rb +0 -2
- data/lib/new_relic/metrics.rb +0 -13
- data/lib/tasks/versions.html.erb +0 -28
- data/lib/tasks/versions.postface.html +0 -8
- data/lib/tasks/versions.preface.html +0 -9
- data/lib/tasks/versions.rake +0 -65
- data/lib/tasks/versions.txt.erb +0 -14
data/README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1
|
+
[![Community Plus header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Plus.png)](https://opensource.newrelic.com/oss-category/#community-plus)
|
2
|
+
|
1
3
|
# New Relic Ruby Agent
|
2
4
|
|
3
|
-
New Relic
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
The New Relic Ruby agent monitors your applications to help you
|
6
|
+
[identify and solve performance issues](https://docs.newrelic.com/docs/agents/ruby-agent/getting-started/introduction-new-relic-ruby#monitor-performance).
|
7
|
+
You can also extend the agent's performance monitoring to
|
8
|
+
[collect and analyze business data](https://docs.newrelic.com/docs/agents/ruby-agent/getting-started/introduction-new-relic-ruby#business-data)
|
9
|
+
to help you improve the customer experience and make data-driven business decisions.
|
10
|
+
|
11
|
+
The New Relic Ruby Agent is dual-purposed as a either a Gem or a Rails plugin,
|
12
|
+
hosted on [github](https://github.com/newrelic/newrelic-ruby-agent).
|
10
13
|
|
11
14
|
## Supported Environments
|
12
15
|
|
@@ -14,127 +17,120 @@ An up-to-date list of Ruby versions and frameworks for the latest agent
|
|
14
17
|
can be found on [our docs site](http://docs.newrelic.com/docs/ruby/supported-frameworks).
|
15
18
|
|
16
19
|
You can also monitor non-web applications. Refer to the "Other
|
17
|
-
Environments" section
|
20
|
+
Environments" section below.
|
18
21
|
|
19
|
-
##
|
22
|
+
## Installing and Using
|
20
23
|
|
21
|
-
|
22
|
-
community. Before submitting a pull request please review
|
23
|
-
[these guidelines](https://github.com/newrelic/rpm/blob/master/CONTRIBUTING.md).
|
24
|
+
### Quick Start
|
24
25
|
|
25
|
-
|
26
|
-
and avoid breaking your code with future changes to the agent.
|
26
|
+
#### With Bundler
|
27
27
|
|
28
|
+
For using with Bundler, add the Ruby Agent to your project's Gemfile.
|
28
29
|
|
29
|
-
|
30
|
+
```ruby
|
31
|
+
gem 'newrelic_rpm'
|
32
|
+
```
|
30
33
|
|
31
|
-
|
34
|
+
and run `bundle install` to activate the new gem.
|
32
35
|
|
33
|
-
|
36
|
+
#### Without Bundler
|
34
37
|
|
35
|
-
|
36
|
-
http://newrelic.com/ . There you can
|
37
|
-
sign up for a free Lite account or one of our paid subscriptions.
|
38
|
+
If you are not using Bundler, install the gem with:
|
38
39
|
|
39
|
-
|
40
|
-
|
41
|
-
|
40
|
+
```bash
|
41
|
+
gem install newrelic_rpm
|
42
|
+
```
|
42
43
|
|
43
|
-
|
44
|
+
and then require the New Relic Ruby agent in your Ruby start-up sequence:
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
and then in a `~/.newrelic` directory. Once you're up and running you can
|
49
|
-
enable Server Side Config and manage your newrelic configuration from the web
|
50
|
-
UI.
|
46
|
+
```ruby
|
47
|
+
require 'newrelic_rpm'
|
48
|
+
```
|
51
49
|
|
52
|
-
####
|
50
|
+
#### Oher Environments
|
53
51
|
|
54
|
-
|
52
|
+
Assuming you have installed the agent per above, you may also need to tell the Ruby agent to start for some frameworks and non-framework environments. To do so, add the following to your Ruby start-up sequence start the agent:
|
55
53
|
|
56
|
-
|
54
|
+
```ruby
|
55
|
+
NewRelic::Agent.manual_start
|
56
|
+
```
|
57
57
|
|
58
|
-
|
58
|
+
### Complete Install Instructions
|
59
59
|
|
60
|
-
|
60
|
+
For complete documentation on installing the New Relic Ruby agent, see the following links:
|
61
61
|
|
62
|
-
|
62
|
+
* [Introduction](https://docs.newrelic.com/docs/agents/ruby-agent/getting-started/introduction-new-relic-ruby)
|
63
|
+
* [Install the New Relic Ruby agent](https://docs.newrelic.com/docs/agents/ruby-agent/installation/install-new-relic-ruby-agent)
|
64
|
+
* [Configure the agent](https://docs.newrelic.com/docs/agents/ruby-agent/configuration/ruby-agent-configuration)
|
65
|
+
* [Update the agent](https://docs.newrelic.com/docs/agents/ruby-agent/installation/update-ruby-agent)
|
66
|
+
* [Rails plugin installation](https://docs.newrelic.com/docs/agents/ruby-agent/installation/ruby-agent-installation-rails-plugin)
|
67
|
+
* [GAE Flexible Environment](https://docs.newrelic.com/docs/agents/ruby-agent/installation/install-new-relic-ruby-agent-gae-flexible-environment)
|
68
|
+
* [Pure Rack Apps](http://docs.newrelic.com/docs/ruby/rack-middlewares)
|
69
|
+
* [Ruby agent and Heroku](https://docs.newrelic.com/docs/agents/ruby-agent/installation/ruby-agent-heroku)
|
70
|
+
* [Background Jobs](https://docs.newrelic.com/docs/agents/ruby-agent/background-jobs)
|
71
|
+
* [Uninstall the Ruby agent](https://docs.newrelic.com/docs/agents/ruby-agent/installation/uninstall-ruby-agent)
|
63
72
|
|
64
|
-
|
73
|
+
### Recording Deploys
|
65
74
|
|
66
|
-
|
75
|
+
The Ruby Agent supports recording deployments in New Relic via a command line
|
76
|
+
tool or Capistrano recipes. For more information on these features see
|
77
|
+
[our deployment documentation](http://docs.newrelic.com/docs/ruby/recording-deployments-with-the-ruby-agent)
|
78
|
+
for more information.
|
67
79
|
|
68
|
-
|
80
|
+
## Support
|
69
81
|
|
70
|
-
|
82
|
+
Should you need assistance with New Relic products, you are in good hands with several support diagnostic tools and support channels.
|
71
83
|
|
72
|
-
|
73
|
-
require 'newrelic_rpm'
|
74
|
-
```
|
84
|
+
This [troubleshooting framework](https://discuss.newrelic.com/t/ruby-troubleshooting-framework-install/108685) steps you through common troubleshooting questions.
|
75
85
|
|
76
|
-
|
86
|
+
New Relic offers NRDiag, [a client-side diagnostic utility](https://docs.newrelic.com/docs/using-new-relic/cross-product-functions/troubleshooting/new-relic-diagnostics) that automatically detects common problems with New Relic agents. If NRDiag detects a problem, it suggests troubleshooting steps. NRDiag can also automatically attach troubleshooting data to a New Relic Support ticket.
|
77
87
|
|
78
|
-
|
79
|
-
configuration definitions in the newrelic.yml file; e.g., development,
|
80
|
-
staging, production, etc.
|
88
|
+
If the issue has been confirmed as a bug or is a Feature request, please file a Github issue.
|
81
89
|
|
82
|
-
|
90
|
+
**Support Channels**
|
83
91
|
|
84
|
-
|
92
|
+
* [New Relic Documentation](https://docs.newrelic.com/docs/agents/ruby-agent): Comprehensive guidance for using our platform
|
93
|
+
* [New Relic Community](https://discuss.newrelic.com/tags/rubyagent): The best place to engage in troubleshooting questions
|
94
|
+
* [New Relic Developer](https://developer.newrelic.com/): Resources for building a custom observability applications
|
95
|
+
* [New Relic University](https://learn.newrelic.com/): A range of online training for New Relic users of every level
|
96
|
+
* [New Relic Technical Support](https://support.newrelic.com/) 24/7/365 ticketed support. Read more about our [Technical Support Offerings](https://docs.newrelic.com/docs/licenses/license-information/general-usage-licenses/support-plan).
|
85
97
|
|
86
|
-
|
87
|
-
require 'newrelic_rpm'
|
88
|
-
```
|
98
|
+
## Privacy
|
89
99
|
|
90
|
-
|
100
|
+
At New Relic we take your privacy and the security of your information seriously, and are committed to protecting your information. We must emphasize the importance of not sharing personal data in public forums, and ask all users to scrub logs and diagnostic information for sensitive information, whether personal, proprietary, or otherwise.
|
91
101
|
|
92
|
-
|
93
|
-
NewRelic::Agent.manual_start
|
94
|
-
```
|
102
|
+
We define “Personal Data” as any information relating to an identified or identifiable individual, including, for example, your name, phone number, post code or zip code, Device ID, IP address and email address.
|
95
103
|
|
96
|
-
|
97
|
-
[Rack middlewares documentation](http://docs.newrelic.com/docs/ruby/rack-middlewares).
|
104
|
+
Please review [New Relic’s General Data Privacy Notice](https://newrelic.com/termsandconditions/privacy) for more information.
|
98
105
|
|
99
|
-
|
100
|
-
|
106
|
+
## Roadmap
|
107
|
+
See our [roadmap](https://github.com/newrelic/newrelic-ruby-agent/blob/main/ROADMAP.md), to learn more about our product vision, understand our plans, and provide us valuable feedback.
|
101
108
|
|
102
|
-
|
103
|
-
frameworks. You can find a list of community created intrumentation plugins
|
104
|
-
(e.g. [newrelic-redis](https://github.com/evanphx/newrelic-redis)) in the
|
105
|
-
[extends_newrelic_rpm project](https://github.com/newrelic/extends_newrelic_rpm).
|
109
|
+
## Contributing
|
106
110
|
|
107
|
-
|
111
|
+
We encourage contributions to improve the New Relic Ruby agent! Keep in mind when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.
|
112
|
+
If you have any questions, or to execute our corporate CLA, required if your contribution is on behalf of a company, please drop us an email at opensource@newrelic.com.
|
108
113
|
|
109
|
-
|
110
|
-
Relic agent runs in production mode. It connects to the New Relic
|
111
|
-
service and sends deep performance data to the UI for your
|
112
|
-
analysis. To view this data, log in to http://rpm.newrelic.com.
|
114
|
+
**A note about vulnerabilities**
|
113
115
|
|
114
|
-
|
115
|
-
online. Refer to instructions in *Getting Started*.
|
116
|
+
As noted in our [security policy](https://github.com/newrelic/newrelic-ruby-agent/security/policy), New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.
|
116
117
|
|
117
|
-
|
118
|
+
If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through [HackerOne](https://hackerone.com/newrelic).
|
118
119
|
|
119
|
-
|
120
|
-
tool or Capistrano recipes. For more information on these features see
|
121
|
-
[our deployment documentation](http://docs.newrelic.com/docs/ruby/recording-deployments-with-the-ruby-agent)
|
122
|
-
for more information.
|
120
|
+
If you would like to contribute to this project, please review [these guidelines](https://github.com/newrelic/newrelic-ruby-agent/blob/main/CONTRIBUTING.md).
|
123
121
|
|
124
|
-
|
122
|
+
To [all contributors](https://github.com/newrelic/newrelic-ruby-agent/graphs/contributors), we thank you! Without your contribution, this project would not be what it is today. We also host a community project page dedicated to
|
123
|
+
the [New Relic Ruby agent](https://opensource.newrelic.com/projects/newrelic/newrelic-ruby-agent).
|
125
124
|
|
126
|
-
|
127
|
-
and specifically in the [Ruby category](http://newrelic.com/docs/ruby).
|
125
|
+
## License
|
128
126
|
|
129
|
-
|
130
|
-
|
131
|
-
and we'll be happy to help you.
|
127
|
+
The New Relic Ruby agent is licensed under the [Apache 2.0](http://apache.org/licenses/LICENSE-2.0.txt) License.
|
128
|
+
The New Relic Ruby agent also uses source code from third-party libraries. Full details on which libraries are used and the terms under which they are licensed can be found in the [THIRD_PARTY_NOTICES.md](https://github.com/newrelic/newrelic-ruby-agent/blob/main/THIRD_PARTY_NOTICES.md).
|
132
129
|
|
133
|
-
|
134
|
-
or email support@newrelic.com.
|
130
|
+
## Thank You
|
135
131
|
|
136
132
|
Thank you, and may your application scale to infinity plus one.
|
137
133
|
|
138
134
|
Lew Cirne, Founder and CEO
|
139
135
|
|
140
|
-
New Relic, Inc.
|
136
|
+
New Relic, Inc.
|
data/ROADMAP.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Ruby Agent Roadmap
|
2
|
+
|
3
|
+
## Product Vision
|
4
|
+
The goal of the Ruby agent is to provide complete visibility into the health of your service. The agent provides metrics about the runtime health of your service and the process it runs in, and traces that show how specific requests are performing. It also provides information about the environment in which it is running, so you can identify issues with specific hosts, regions, deployments, and other facets.
|
5
|
+
|
6
|
+
New Relic is moving toward OpenTelemetry. OpenTelemetry is a unified standard for service instrumentation. You will soon see an updated version of the agent that uses the OpenTelemetry SDK and auto-instrumentation as its foundation. OpenTelemetry will include a broad set of high-quality community-contributed instrumentation and a powerful vendor-neutral API for adding your own instrumentation.
|
7
|
+
|
8
|
+
|
9
|
+
## Roadmap
|
10
|
+
### Description
|
11
|
+
This roadmap project is broken down into the following sections:
|
12
|
+
|
13
|
+
- **Now**:
|
14
|
+
- This section contains features that are currently in progress.
|
15
|
+
- **Next**:
|
16
|
+
- This section contains work planned within the next three months. These features may still be deprioritized and moved to Future.
|
17
|
+
- **Future**:
|
18
|
+
- This section is for ideas for future work that is aligned with the product vision and possible opportunities for community contribution. It contains a list of features that anyone can implement. No guarantees can be provided on if or when these features will be completed.
|
19
|
+
|
20
|
+
|
21
|
+
**The roadmap project is found [here](https://github.com/orgs/newrelic/projects/12)**
|
22
|
+
|
23
|
+
#### Disclaimers
|
24
|
+
> This roadmap is subject to change at any time. Future items should not be considered commitments.
|
data/Rakefile
CHANGED
@@ -113,6 +113,7 @@ namespace :cross_agent_tests do
|
|
113
113
|
cross_agent_tests_upstream_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'cross_agent_tests'))
|
114
114
|
cross_agent_tests_local_path = File.expand_path(File.join(File.dirname(__FILE__), 'test', 'fixtures', 'cross_agent_tests'))
|
115
115
|
|
116
|
+
# Note: before you pull, make sure your local repo is on the correct, synced branch!
|
116
117
|
desc 'Pull latest changes from cross_agent_tests repo'
|
117
118
|
task :pull do
|
118
119
|
puts "Updating embedded cross_agent_tests from #{cross_agent_tests_upstream_path}..."
|
@@ -136,3 +137,4 @@ task :console do
|
|
136
137
|
ARGV.clear
|
137
138
|
Pry.start
|
138
139
|
end
|
140
|
+
|
@@ -0,0 +1,213 @@
|
|
1
|
+
# Third Party Notices
|
2
|
+
|
3
|
+
The New Relic Ruby Agent uses source code from third party libraries which carry
|
4
|
+
their own copyright notices and license terms. These notices are provided
|
5
|
+
below.
|
6
|
+
|
7
|
+
In the event that a required notice is missing or incorrect, please notify us
|
8
|
+
by e-mailing [open-source@newrelic.com](mailto:open-source@newrelic.com).
|
9
|
+
|
10
|
+
For any licenses that require the disclosure of source
|
11
|
+
code, the source code can be found at:
|
12
|
+
[https://github.com/newrelic/newrelic-ruby-agent](https://github.com/newrelic/newrelic-ruby-agent).
|
13
|
+
|
14
|
+
## Content
|
15
|
+
|
16
|
+
* [symantec](#symantec)
|
17
|
+
|
18
|
+
### symantec
|
19
|
+
|
20
|
+
This product includes certificates from Symantec which are used under the
|
21
|
+
following license (https://docs.broadcom.com/doc/root-certificate-license-agreement-en):
|
22
|
+
|
23
|
+
```
|
24
|
+
ROOT CERTIFICATE LICENSE AGREEMENT
|
25
|
+
SYMANTEC CORPORATION AND/OR ITS AFFILIATES (“SYMANTEC”) IS WILLING TO PROVIDE THE
|
26
|
+
ROOT CERTIFICATES TO YOU AS THE INDIVIDUAL, THE COMPANY, OR THE LEGAL ENTITY THAT
|
27
|
+
WILL BE UTILIZING THE ROOT CERTIFICATES (REFERENCED BELOW AS “YOU” OR “YOUR”)
|
28
|
+
ONLY ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS OF THIS AGREEMENT
|
29
|
+
(“AGREEMENT”). READ THE TERMS AND CONDITIONS OF THIS AGREEMENT CAREFULLY
|
30
|
+
BEFORE USING THE ROOT CERTIFICATES. THIS IS A LEGAL AND ENFORCEABLE CONTRACT
|
31
|
+
BETWEEN YOU AND SYMANTEC. BY USING THE ROOT CERTIFICATES, YOU AGREE TO THE
|
32
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THESE TERMS AND
|
33
|
+
CONDITIONS, MAKE NO FURTHER USE OF THE ROOT CERTIFICATES. UNLESS OTHERWISE
|
34
|
+
DEFINED HEREIN, CAPITALIZED TERMS WILL HAVE THE MEANING GIVEN IN THE “DEFINITIONS”
|
35
|
+
SECTION OF THIS AGREEMENT AND SUCH CAPITALIZED TERMS MAY BE USED IN THE
|
36
|
+
SINGULAR OR IN THE PLURAL, AS THE CONTEXT REQUIRES.
|
37
|
+
|
38
|
+
ROOT CERTIFICATE TERMS AND CONDITIONS
|
39
|
+
1. DEFINITIONS.
|
40
|
+
"Certificate" means an electronic file that, at least, states a name or identifies the issuing Certificate
|
41
|
+
Authority, identifies the subscriber, contains the subscriber's public key, identifies the Certificate's
|
42
|
+
operational period, contains a Certificate serial number, and contains a digital signature of the issuing
|
43
|
+
Certificate Authority.
|
44
|
+
“Certificate Authority” or “CA” means a person or entity authorized to issue, suspend, or revoke
|
45
|
+
Certificates.
|
46
|
+
“Intermediate CA” means a CA Certificate signed by a Root Certificate Intermediate that issues
|
47
|
+
Certificates either to end-entities or other Certificate Authorities, but not to both.
|
48
|
+
"Products" means all versions of Your product or service with which the Root Certificates are incorporated
|
49
|
+
(including successor products and services or any major or minor upgrades thereto).
|
50
|
+
"Root Certificate" means a self-signed Certificate issued by a top-level Certificate Authority to itself, which
|
51
|
+
includes such Certificate Authority's public key. The Root Certificates and Root Certificate files to be
|
52
|
+
provided by Company to Customer pursuant to this Agreement are available for download at
|
53
|
+
https://www.verisign.com/support/roots.html, https://www.thawte.com/roots/index.html or
|
54
|
+
https://www.geotrust.com/resources/rootcertificates/index.html.
|
55
|
+
2. LICENSE. During the term of this Agreement, Symantec grants You a royalty-free, non-exclusive, nontransferable license to (a) use the Root Certificate for the purposes of testing (without the right to modify);
|
56
|
+
(b) make copies of Root Certificates only in order to embed and incorporate them, unmodified and in full,
|
57
|
+
as roots in Your Products; (c) distribute the Root Certificates as embedded and incorporated in such
|
58
|
+
Products; and (d) use the relevant logos and trademarks of Symantec in Your marketing materials,
|
59
|
+
advertisements, product data sheets, product packaging and websites solely conjunction with the
|
60
|
+
distribution of the Root Certificates in accordance with Symantec’s published guidelines for such usage.
|
61
|
+
You shall not have the right to further distribute the Root Certificates other than as described herein
|
62
|
+
without an additional license grant, in a separate writing, from Symantec.
|
63
|
+
3. RESTRICTIONS. You may not: (a) modify or create any derivative works of Root Certificates; (b)
|
64
|
+
assign, sublicense, sell, rent, or lease Symantec's root keys or Root Certificates; (c) use such Root
|
65
|
+
Certificates except as expressly permitted under this Agreement; (d) remove or alter any trademark, logo,
|
66
|
+
copyright, or other proprietary notices, legends, symbols, or labels provided in the Root Certificates; or (e)
|
67
|
+
certify, or cause a third party to certify, the public key contained in the Root Certificates by issuing or
|
68
|
+
creating a Certificate containing such public key.
|
69
|
+
4. CUSTOMER’S OBLIGATIONS.
|
70
|
+
4.1. During the term of this Agreement, You shall use commercially reasonable efforts regularly check the
|
71
|
+
applicable Symantec URL for updates to the Root Certificates and update Root Certificates embedded
|
72
|
+
into Your Products with the most currently available Root Certificates, unmodified and in full, or as a patch
|
73
|
+
or update. If Symantec updates its Root Certificates,, You shall use commercially reasonable efforts to (i)
|
74
|
+
discontinue all copying and use of the Root Certificates which have been replaced, and (ii) to use
|
75
|
+
Symantec’s then-current Root Certificates. Any updates to the Root Certificates are incorporated into and
|
76
|
+
subject to the terms of this Agreement.
|
77
|
+
4.2. You shall appoint at least one (1) individual as the administrative contact designated to address any
|
78
|
+
Root Certificate issues and shall provide the contact information for such individual to dl-tssroot@symantec.com.
|
79
|
+
4.3 In the event You become aware of or suspect any event that diminishes the integrity of Symantec's
|
80
|
+
data or public key system ("Compromise"), You shall immediately notify Symantec at dl-tss-
|
81
|
+
root@symantec.com of such Compromise, and take reasonable steps to assist and cooperate with
|
82
|
+
Symantec to remedy the Compromise.
|
83
|
+
4.4 In the event that Symantec modifies these terms of use for the Root certificates for all end users,
|
84
|
+
Symantec shall post the modified terms for the Agreement on the applicable URL and may post the
|
85
|
+
modified terms on the Symantec corporate website. You shall be responsible for regularly checking the
|
86
|
+
applicable URL for modifications to this Agreement. Such modifications shall be effective and binding on
|
87
|
+
Customer within thirty (30) days of Symantec’s posting such modifications to its website. If you do not
|
88
|
+
accept the modified Agreement, discontinue use of the Root Certificates and this Agreement will be
|
89
|
+
deemed as terminated.
|
90
|
+
5. CONFIDENTIALITY.
|
91
|
+
5.1. Confidential Information. "Confidential Information" means the root private keys corresponding to the
|
92
|
+
public key in a Root Certificate, and any confidential, trade secret, or other proprietary information
|
93
|
+
disclosed by a party to the other party under this Agreement, except for Information that: (i) is public
|
94
|
+
knowledge at the time of disclosure, (ii) was known by the receiving party before disclosure by the
|
95
|
+
disclosing party, or becomes public knowledge or otherwise known to the receiving party after such
|
96
|
+
disclosure, other than by breach of a confidentiality obligation, or (iii) is independently developed by the
|
97
|
+
receiving party by persons without access to Confidential Information of the disclosing party.
|
98
|
+
5.2. Protection of Confidential Information. The receiving party shall: (i) not disclose the Confidential
|
99
|
+
information to any third party, (ii) not use the Confidential Information except for purposes of performing
|
100
|
+
this Agreement, and (iii) take steps consistent with its protection of its own confidential and proprietary
|
101
|
+
information (but in no event exercise less than reasonable care) to prevent unauthorized disclosure of the
|
102
|
+
Confidential Information. Each party acknowledges that breach of this Section 5 may cause irreparable
|
103
|
+
harm to the disclosing party entitling the disclosing party to injunctive relief, among other remedies.
|
104
|
+
5.3. Mutual Cooperation. Each party will notify and cooperate with the other party in enforcing the
|
105
|
+
disclosing party's rights if such party becomes aware of a threatened or actual violation of the
|
106
|
+
confidentiality requirements of this Section 5. Each party shall have confidentiality agreements with its
|
107
|
+
employees, agents or independent contractors sufficient in scope to fulfill its confidentiality obligations
|
108
|
+
under this Agreement.
|
109
|
+
6. INTELLECTUAL PROPERTY. You acknowledge that Symantec, including its wholly owned
|
110
|
+
subsidiaries, retains all intellectual property rights and title (including any patent, copyright, trademark,
|
111
|
+
trade secret, and other rights) in and to the Root Certificates, the public and private keys corresponding to
|
112
|
+
such Root Certificates ("Symantec Intellectual Property"). This Agreement does not give You any
|
113
|
+
intellectual property rights in the Symantec intellectual property except for the license granted in Section
|
114
|
+
2. To the extent You use Symantec's trademarks or logos as permitted herein, You agree to comply with
|
115
|
+
all usage requirements set forth in the then current version of Symantec's Logo and Trademark Usage
|
116
|
+
Guide (http://www.symantec.com/about/profile/policies/trademarks.jsp) and any other guides and
|
117
|
+
procedures of Symantec.
|
118
|
+
7. NO WARRANTIES. THE ROOT CERTIFICATES, INCLUDING UPDATES, ARE PROVIDED "AS IS"
|
119
|
+
WITHOUT ANY WARRANTY WHATSOEVER. SYMANTEC HEREBY DISCLAIMS ALL WARRANTIES,
|
120
|
+
WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING WITHOUT LIMITATION, ANY
|
121
|
+
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
|
122
|
+
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
123
|
+
8. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY WILL
|
124
|
+
SYMANTEC OR ITS LICENSORS BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY
|
125
|
+
CONSEQUENTIAL, INDIRECT, SPECIAL, INCIDENTAL, OR EXEMPLARY DAMAGES, WHETHER
|
126
|
+
FORESEEABLE OR UNFORESEEABLE, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE
|
127
|
+
POSSIBILITY OF SUCH DAMAGES. YOU WILL TAKE REASONABLE MEASURES TO INSURE THAT
|
128
|
+
THE TERMS AND CONDITIONS SET FORTH IN THE PRECEDING SENTENCE OF THIS SECTION 8
|
129
|
+
ARE INCORPORATED INTO ANY AGREEMENT BETWEEN YOU AND YOUR CUSTOMERS OR
|
130
|
+
LICENSEES. SYMANTEC SHALL NOT BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY
|
131
|
+
DAMAGES CAUSED BY YOUR OR A THIRD PARTY’S CONTINUED USE OF ANY OUTDATED
|
132
|
+
ROOTS FOR WHICH AN UPDATED VERSION IS MADE AVAILABLE BY SYMANTEC. FURTHER,
|
133
|
+
UNDER NO CIRCUMSTANCES WILL SYMANTEC'S LIABILITY FOR ANY ACTION OR CLAIM EXCEED
|
134
|
+
USD$1,000, REGARDLESS OF WHETHER SUCH ACTION OR CLAIM IS BASED IN CONTRACT,
|
135
|
+
TORT, STRICT LIABILITY, OR OTHERWISE.
|
136
|
+
9. TERM AND TERMINATION.
|
137
|
+
9.1. Term. This Agreement shall become effective as of the earlier of, Your first use of the Root
|
138
|
+
Certificates, and shall remain in effect until the earlier of (i) Your discontinued use of the Root Certificates;
|
139
|
+
(ii) termination by either party under the terms of Section 9.2, below; or (iii) Symantec’s notice to You that
|
140
|
+
Symantec is no longer providing Root Certificates for use.
|
141
|
+
9.2. Termination for Default/Insolvency. Either party shall be entitled to terminate this Agreement in the
|
142
|
+
event of a failure by the other party to perform any of its material obligations under this Agreement if such
|
143
|
+
breach is not cured within thirty (30) days after receipt of written notice thereof from the non-defaulting
|
144
|
+
party or within forty-eight (48) hours after receipt of such written notice if a breach by You may
|
145
|
+
compromise the security of the Symantec Trust Network or other system. This Agreement shall terminate
|
146
|
+
upon the election of and notice from a party to the other if the other party is adjudged insolvent or
|
147
|
+
bankrupt, or the institution of any proceedings by or against the other party seeking relief, reorganization,
|
148
|
+
or arrangement under any laws relating to insolvency, or any assignment for the benefit of creditors, or
|
149
|
+
the appointment of a receiver, liquidator, or trustee of any of the other party's property or assets, or the
|
150
|
+
liquidation, dissolution, or winding up of the other party's business.
|
151
|
+
9.3. Effect of Expiration or Termination. Upon expiration or termination of this Agreement, except for a
|
152
|
+
breach by You, You may continue to distribute the current version of Your Products which incorporate the
|
153
|
+
Root Certificates. Any updates or upgrades thereto may not include the Root Certificates and You shall
|
154
|
+
stop making copies of Root Certificates, shall stop including Root Certificates in Your Products, and shall
|
155
|
+
stop using Symantec’s logos and trademarks. The provisions of Sections 3, 4.3, 5, 6, 7, 8, 9.3, and 10
|
156
|
+
shall survive termination of this Agreement.
|
157
|
+
10. GENERAL.
|
158
|
+
10.1. Governing Laws. This Agreement and any disputes relating to the services provided hereunder shall
|
159
|
+
be governed and interpreted according to each of the following laws, respectively, without regard to its
|
160
|
+
conflicts of law provisions: (a) the laws of the State of California, if You are located in North America or
|
161
|
+
Latin America; or (b) the law of England, if You are located in Europe, Middle East or Africa; or (c) the
|
162
|
+
laws of Singapore, if You are located in Asia Pacific including Japan. The United Nations Convention on
|
163
|
+
Contracts for the International Sale of Goods shall not apply to this Agreement.
|
164
|
+
10.2. Binding Upon Successors; Assignment. This Agreement shall be binding upon, and inure to the
|
165
|
+
benefit of, the successors, executors, heirs, representatives, administrators, and assigns of the parties
|
166
|
+
hereto. Notwithstanding the foregoing, You may not assign Your rights or obligations under this
|
167
|
+
Agreement without the prior written consent of Symantec. Any such purported assignment of this
|
168
|
+
Agreement without obtaining written consent shall be void and of no effect.
|
169
|
+
10.3. Severability; Enforcement; No Waiver. The unenforceability of any provision or provisions of this
|
170
|
+
Agreement shall not impair the enforceability of any other part of this Agreement. If any provision of this
|
171
|
+
Agreement shall be deemed invalid or unenforceable, in whole or in part, this Agreement shall be deemed
|
172
|
+
amended to delete or modify, as necessary, the invalid or unenforceable provision to render it valid,
|
173
|
+
enforceable, and, insofar as possible, consistent with the original intent of the parties. The failure of a
|
174
|
+
party, at any time or from time to time, to require performance of any obligations of the other party
|
175
|
+
hereunder shall not be deemed a waiver and shall not affect its right to enforce any provision of this
|
176
|
+
Agreement at a subsequent time.
|
177
|
+
10.4. Entire Agreement; Amendments; Waivers. This Agreement constitutes the entire understanding and
|
178
|
+
agreement of the parties, whether written or oral, with respect to the subject matter hereof and supersede
|
179
|
+
all prior and contemporaneous agreements or understandings between the parties. Any term or provision
|
180
|
+
of this Agreement may be amended, and the observance of any term of this Agreement may be waived,
|
181
|
+
only by writing signed by the parties to be bound thereby.
|
182
|
+
10.5. Compliance with Law, Export Requirements and Foreign Reshipment Liability. Each party shall
|
183
|
+
comply with all applicable federal, state and local laws and regulations in connection with its performance
|
184
|
+
under this Agreement. Services, including documentation, may include controlled technology or technical
|
185
|
+
data (collectively “Controlled Technology”) that is subject to the U.S. Export Administration Regulations
|
186
|
+
(EAR), and diversion contrary to U.S. law is prohibited. You agree to comply with all relevant laws
|
187
|
+
including the U.S. EAR and the laws of any country from which Controlled Technology is exported. All
|
188
|
+
Controlled Technology is prohibited for export or re-export to Cuba, North Korea, Iran, Sudan and Syria
|
189
|
+
and to any country or its nationals subject to relevant embargo or sanction or to any entity or person for
|
190
|
+
which an export license is required per any relevant restricted party list, without first obtaining a license.
|
191
|
+
Furthermore, You hereby agree that You will not use or allow use of Controlled Technology in connection
|
192
|
+
with chemical, biological, or nuclear weapons, or missiles, drones or space launch vehicles capable of
|
193
|
+
delivering such weapons. Symantec shall have the right to suspend performance of any of its obligations
|
194
|
+
under this Agreement, without any prior notice being required and without any liability to Customer, if You
|
195
|
+
fail to comply with this provision.
|
196
|
+
10.6. Notices. You will make all notices, demands or requests to Symantec with respect to this Agreement
|
197
|
+
in writing to the "Contact" address listed on the website from where you downloaded the Root Certificates,
|
198
|
+
with a copy to: General Counsel – Legal Department, Symantec Corporation, 350 Ellis Street, Mountain
|
199
|
+
View, California 94043, USA. Notices shall be effective on the date received (unless the notice specifies a
|
200
|
+
later date) only if it is sent by a courier service that confirms delivery in writing or if sent by certified or
|
201
|
+
registered mail, postage prepaid, return receipt requested. Symantec may post notices and updates
|
202
|
+
regarding the Agreement or the Root Certificates at the URL provided to You for the Root Certificates.
|
203
|
+
You shall be responsible for regularly checking the applicable URL for notices from Symantec regarding
|
204
|
+
the Agreement or the Root Certificates. No notices, demands, or requests to Symantec with respect to
|
205
|
+
this Agreement may be delivered by electronic mail. You shall immediately notify Symantec of any legal
|
206
|
+
notices served on You that might affect Symantec, and shall promptly forward the original or a copy of
|
207
|
+
such notice to Symantec.
|
208
|
+
10.7. Independent Parties. The relationship between You and Symantec is that of independent
|
209
|
+
contractors. Neither party nor its employees, consultants, contractors, or agents are agents, employees,
|
210
|
+
or joint venturers of the other party, nor do they have any authority to bind the other party by contract or
|
211
|
+
otherwise to any obligation.
|
212
|
+
Root Certificate License Agreement v3.0 (January 2014)
|
213
|
+
```
|
data/bin/nrdebug
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# encoding: utf-8
|
4
4
|
# This file is distributed under New Relic's license terms.
|
5
|
-
# See https://github.com/newrelic/
|
5
|
+
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
|
6
6
|
|
7
7
|
require 'tempfile'
|
8
8
|
require 'rbconfig'
|
data/init.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
# This file is distributed under New Relic's license terms.
|
3
|
-
# See https://github.com/newrelic/
|
3
|
+
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
|
4
4
|
|
5
5
|
# This is the initialization for the New Relic Ruby Agent when used as
|
6
6
|
# a plugin
|
data/install.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
# This file is distributed under New Relic's license terms.
|
3
|
-
# See https://github.com/newrelic/
|
3
|
+
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
|
4
4
|
|
5
5
|
if __FILE__ == $0 || $0 =~ /script\/plugin/ || File.basename($0) == 'rake'
|
6
6
|
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
# This file is distributed under New Relic's license terms.
|
3
|
-
# See https://github.com/newrelic/
|
3
|
+
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
|
4
4
|
|
5
5
|
module NewRelic
|
6
6
|
module Agent
|