newrelic_rpm 6.9.0.363 → 6.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
- data/.github/ISSUE_TEMPLATE/config.yml +5 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +24 -0
- data/.github/actions/annotate/README.md +79 -0
- data/.github/actions/annotate/action.yml +6 -0
- data/.github/actions/annotate/dist/index.js +433 -0
- data/.github/actions/annotate/index.js +25 -0
- data/.github/actions/annotate/package-lock.json +172 -0
- data/.github/actions/annotate/package.json +30 -0
- data/.github/actions/annotate/pre-commit +5 -0
- data/.github/actions/build-ruby/README.md +79 -0
- data/.github/actions/build-ruby/action.yml +15 -0
- data/.github/actions/build-ruby/dist/index.js +52683 -0
- data/.github/actions/build-ruby/index.js +514 -0
- data/.github/actions/build-ruby/package-lock.json +581 -0
- data/.github/actions/build-ruby/package.json +32 -0
- data/.github/actions/build-ruby/pre-commit +5 -0
- data/.github/pull_request_template.md +16 -0
- data/.github/workflows/ci.yml +212 -0
- data/.github/workflows/pr_review_checklist.yml +22 -0
- data/.github/workflows/release.yml +78 -0
- data/.github/workflows/scripts/rubygems-authenticate.py +13 -0
- data/.github/workflows/scripts/rubygems-publish.rb +32 -0
- data/.github/workflows/snyk.yml +27 -0
- data/.github/workflows/stale.yml +21 -0
- data/.gitignore +6 -0
- data/CHANGELOG.md +254 -10
- data/CONTRIBUTING.md +106 -19
- data/Gemfile +6 -2
- 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.rb +14 -6
- data/lib/new_relic/agent/adaptive_sampler.rb +1 -1
- data/lib/new_relic/agent/agent.rb +15 -6
- data/lib/new_relic/agent/agent_logger.rb +1 -1
- data/lib/new_relic/agent/attribute_filter.rb +1 -1
- data/lib/new_relic/agent/attribute_processing.rb +1 -1
- data/lib/new_relic/agent/attributes.rb +3 -1
- data/lib/new_relic/agent/audit_logger.rb +1 -1
- data/lib/new_relic/agent/autostart.rb +1 -1
- 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.rb +1 -1
- data/lib/new_relic/agent/configuration/default_source.rb +28 -1
- 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 +1 -1
- data/lib/new_relic/agent/configuration/yaml_source.rb +1 -1
- data/lib/new_relic/agent/connect/request_builder.rb +1 -1
- 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.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/datastores.rb +1 -1
- data/lib/new_relic/agent/datastores/metric_helper.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo.rb +2 -2
- data/lib/new_relic/agent/datastores/mongo/event_formatter.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo/metric_translator.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo/obfuscator.rb +1 -1
- data/lib/new_relic/agent/datastores/mongo/statement_formatter.rb +1 -1
- data/lib/new_relic/agent/datastores/redis.rb +1 -1
- data/lib/new_relic/agent/deprecator.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing/cross_app_payload.rb +3 -2
- data/lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing/{distributed_trace_intrinsics.rb → distributed_trace_attributes.rb} +9 -5
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_metrics.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_payload.rb +3 -4
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_transport_type.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing/trace_context.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing/trace_context_payload.rb +2 -2
- data/lib/new_relic/agent/encoding_normalizer.rb +1 -1
- data/lib/new_relic/agent/error_collector.rb +31 -12
- data/lib/new_relic/agent/error_event_aggregator.rb +5 -5
- 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 +1 -1
- data/lib/new_relic/agent/guid_generator.rb +1 -1
- 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.rb +1 -1
- data/lib/new_relic/agent/instrumentation/action_cable_subscriber.rb +5 -6
- data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +5 -1
- data/lib/new_relic/agent/instrumentation/action_view_subscriber.rb +12 -3
- 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 +82 -24
- data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_record_prepend.rb +92 -34
- 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 +24 -8
- data/lib/new_relic/agent/instrumentation/authlogic.rb +1 -1
- data/lib/new_relic/agent/instrumentation/bunny.rb +114 -51
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +1 -1
- data/lib/new_relic/agent/instrumentation/curb.rb +92 -27
- data/lib/new_relic/agent/instrumentation/data_mapper.rb +4 -2
- data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +61 -25
- data/lib/new_relic/agent/instrumentation/excon.rb +1 -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/grape.rb +1 -1
- data/lib/new_relic/agent/instrumentation/http.rb +6 -3
- data/lib/new_relic/agent/instrumentation/httpclient.rb +5 -3
- data/lib/new_relic/agent/instrumentation/ignore_actions.rb +1 -1
- data/lib/new_relic/agent/instrumentation/memcache.rb +4 -2
- data/lib/new_relic/agent/instrumentation/memcache/dalli.rb +7 -3
- 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 +12 -4
- 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 +59 -22
- data/lib/new_relic/agent/instrumentation/notifications_subscriber.rb +26 -2
- data/lib/new_relic/agent/instrumentation/padrino.rb +40 -16
- 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 +36 -13
- 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 +55 -20
- data/lib/new_relic/agent/instrumentation/redis.rb +141 -56
- data/lib/new_relic/agent/instrumentation/resque.rb +1 -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.rb +62 -23
- 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/sunspot.rb +1 -1
- data/lib/new_relic/agent/instrumentation/typhoeus.rb +23 -6
- 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 +2 -2
- data/lib/new_relic/agent/memory_logger.rb +1 -1
- data/lib/new_relic/agent/messaging.rb +1 -1
- data/lib/new_relic/agent/method_tracer.rb +16 -5
- data/lib/new_relic/agent/method_tracer_helpers.rb +2 -2
- data/lib/new_relic/agent/monitors.rb +1 -1
- data/lib/new_relic/agent/monitors/cross_app_monitor.rb +1 -1
- data/lib/new_relic/agent/monitors/distributed_tracing_monitor.rb +1 -1
- data/lib/new_relic/agent/monitors/inbound_request_monitor.rb +1 -1
- data/lib/new_relic/agent/monitors/synthetics_monitor.rb +1 -1
- data/lib/new_relic/agent/new_relic_service.rb +26 -5
- 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/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.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/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 +1 -1
- 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 +1 -1
- data/lib/new_relic/agent/span_event_primitive.rb +71 -37
- data/lib/new_relic/agent/sql_sampler.rb +4 -4
- data/lib/new_relic/agent/stats.rb +1 -1
- data/lib/new_relic/agent/stats_engine.rb +1 -1
- data/lib/new_relic/agent/stats_engine/gc_profiler.rb +1 -1
- data/lib/new_relic/agent/stats_engine/stats_hash.rb +1 -1
- data/lib/new_relic/agent/supported_versions.rb +1 -1
- 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 +31 -16
- data/lib/new_relic/agent/transaction.rb +67 -46
- data/lib/new_relic/agent/transaction/abstract_segment.rb +29 -2
- data/lib/new_relic/agent/transaction/datastore_segment.rb +1 -1
- data/lib/new_relic/agent/transaction/distributed_tracer.rb +3 -3
- data/lib/new_relic/agent/transaction/distributed_tracing.rb +2 -2
- data/lib/new_relic/agent/transaction/external_request_segment.rb +28 -12
- data/lib/new_relic/agent/transaction/message_broker_segment.rb +1 -1
- data/lib/new_relic/agent/transaction/request_attributes.rb +1 -1
- data/lib/new_relic/agent/transaction/segment.rb +23 -3
- 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 +1 -1
- data/lib/new_relic/agent/transaction/trace_builder.rb +1 -1
- data/lib/new_relic/agent/transaction/trace_context.rb +1 -1
- data/lib/new_relic/agent/transaction/trace_node.rb +1 -1
- 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_error_primitive.rb +8 -6
- data/lib/new_relic/agent/transaction_event_aggregator.rb +1 -1
- data/lib/new_relic/agent/transaction_event_primitive.rb +3 -3
- 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.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 +1 -1
- data/lib/new_relic/agent/vm/snapshot.rb +1 -1
- data/lib/new_relic/agent/worker_loop.rb +1 -1
- data/lib/new_relic/cli/command.rb +1 -1
- data/lib/new_relic/cli/commands/deployments.rb +1 -1
- data/lib/new_relic/cli/commands/install.rb +4 -3
- data/lib/new_relic/coerce.rb +1 -1
- data/lib/new_relic/collection_helper.rb +1 -1
- data/lib/new_relic/constants.rb +5 -1
- data/lib/new_relic/control.rb +1 -1
- data/lib/new_relic/control/class_methods.rb +1 -1
- data/lib/new_relic/control/frameworks.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/instance_methods.rb +1 -1
- data/lib/new_relic/control/instrumentation.rb +1 -1
- data/lib/new_relic/control/server_methods.rb +1 -1
- data/lib/new_relic/delayed_job_injection.rb +1 -1
- data/lib/new_relic/dependency_detection.rb +1 -1
- data/lib/new_relic/environment_report.rb +6 -2
- 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 +29 -10
- data/lib/new_relic/rack.rb +1 -1
- 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 +3 -2
- data/lib/new_relic/recipes.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/supportability_helper.rb +1 -1
- data/lib/new_relic/version.rb +3 -3
- 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 +1 -1
- data/newrelic_rpm.gemspec +10 -9
- data/recipes/newrelic.rb +1 -1
- data/test/agent_helper.rb +237 -70
- metadata +42 -18
- data/.travis.yml +0 -210
- data/lib/new_relic/agent/http_clients/abstract_request.rb +0 -31
- data/lib/new_relic/metrics.rb +0 -13
- data/true +0 -0
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Chris Pine
|
8
7
|
- Rachel Klein
|
9
8
|
- Tanna McClure
|
10
9
|
- Michael Lang
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date: 2020-
|
13
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rake
|
@@ -59,14 +58,14 @@ dependencies:
|
|
59
58
|
name: minitest
|
60
59
|
requirement: !ruby/object:Gem::Requirement
|
61
60
|
requirements:
|
62
|
-
- -
|
61
|
+
- - '='
|
63
62
|
- !ruby/object:Gem::Version
|
64
63
|
version: 4.7.5
|
65
64
|
type: :development
|
66
65
|
prerelease: false
|
67
66
|
version_requirements: !ruby/object:Gem::Requirement
|
68
67
|
requirements:
|
69
|
-
- -
|
68
|
+
- - '='
|
70
69
|
- !ruby/object:Gem::Version
|
71
70
|
version: 4.7.5
|
72
71
|
- !ruby/object:Gem::Dependency
|
@@ -185,9 +184,9 @@ description: |
|
|
185
184
|
New Relic is a performance management system, developed by New Relic,
|
186
185
|
Inc (http://www.newrelic.com). New Relic provides you with deep
|
187
186
|
information about the performance of your web application as it runs
|
188
|
-
in production. The New Relic Ruby
|
187
|
+
in production. The New Relic Ruby agent is dual-purposed as a either a
|
189
188
|
Gem or plugin, hosted on
|
190
|
-
https://github.com/newrelic/
|
189
|
+
https://github.com/newrelic/newrelic-ruby-agent/
|
191
190
|
email: support@newrelic.com
|
192
191
|
executables:
|
193
192
|
- mongrel_rpm
|
@@ -202,9 +201,33 @@ extra_rdoc_files:
|
|
202
201
|
- CONTRIBUTING.md
|
203
202
|
- newrelic.yml
|
204
203
|
files:
|
204
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
205
|
+
- ".github/ISSUE_TEMPLATE/config.yml"
|
206
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
207
|
+
- ".github/actions/annotate/README.md"
|
208
|
+
- ".github/actions/annotate/action.yml"
|
209
|
+
- ".github/actions/annotate/dist/index.js"
|
210
|
+
- ".github/actions/annotate/index.js"
|
211
|
+
- ".github/actions/annotate/package-lock.json"
|
212
|
+
- ".github/actions/annotate/package.json"
|
213
|
+
- ".github/actions/annotate/pre-commit"
|
214
|
+
- ".github/actions/build-ruby/README.md"
|
215
|
+
- ".github/actions/build-ruby/action.yml"
|
216
|
+
- ".github/actions/build-ruby/dist/index.js"
|
217
|
+
- ".github/actions/build-ruby/index.js"
|
218
|
+
- ".github/actions/build-ruby/package-lock.json"
|
219
|
+
- ".github/actions/build-ruby/package.json"
|
220
|
+
- ".github/actions/build-ruby/pre-commit"
|
221
|
+
- ".github/pull_request_template.md"
|
222
|
+
- ".github/workflows/ci.yml"
|
223
|
+
- ".github/workflows/pr_review_checklist.yml"
|
224
|
+
- ".github/workflows/release.yml"
|
225
|
+
- ".github/workflows/scripts/rubygems-authenticate.py"
|
226
|
+
- ".github/workflows/scripts/rubygems-publish.rb"
|
227
|
+
- ".github/workflows/snyk.yml"
|
228
|
+
- ".github/workflows/stale.yml"
|
205
229
|
- ".gitignore"
|
206
230
|
- ".project"
|
207
|
-
- ".travis.yml"
|
208
231
|
- ".yardopts"
|
209
232
|
- CHANGELOG.md
|
210
233
|
- CONTRIBUTING.md
|
@@ -212,7 +235,9 @@ files:
|
|
212
235
|
- Guardfile
|
213
236
|
- LICENSE
|
214
237
|
- README.md
|
238
|
+
- ROADMAP.md
|
215
239
|
- Rakefile
|
240
|
+
- THIRD_PARTY_NOTICES.md
|
216
241
|
- bin/mongrel_rpm
|
217
242
|
- bin/newrelic
|
218
243
|
- bin/newrelic_cmd
|
@@ -267,7 +292,7 @@ files:
|
|
267
292
|
- lib/new_relic/agent/distributed_tracing.rb
|
268
293
|
- lib/new_relic/agent/distributed_tracing/cross_app_payload.rb
|
269
294
|
- lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb
|
270
|
-
- lib/new_relic/agent/distributed_tracing/
|
295
|
+
- lib/new_relic/agent/distributed_tracing/distributed_trace_attributes.rb
|
271
296
|
- lib/new_relic/agent/distributed_tracing/distributed_trace_metrics.rb
|
272
297
|
- lib/new_relic/agent/distributed_tracing/distributed_trace_payload.rb
|
273
298
|
- lib/new_relic/agent/distributed_tracing/distributed_trace_transport_type.rb
|
@@ -286,7 +311,7 @@ files:
|
|
286
311
|
- lib/new_relic/agent/harvester.rb
|
287
312
|
- lib/new_relic/agent/heap.rb
|
288
313
|
- lib/new_relic/agent/hostname.rb
|
289
|
-
- lib/new_relic/agent/http_clients/
|
314
|
+
- lib/new_relic/agent/http_clients/abstract.rb
|
290
315
|
- lib/new_relic/agent/http_clients/curb_wrappers.rb
|
291
316
|
- lib/new_relic/agent/http_clients/excon_wrappers.rb
|
292
317
|
- lib/new_relic/agent/http_clients/http_rb_wrappers.rb
|
@@ -372,6 +397,7 @@ files:
|
|
372
397
|
- lib/new_relic/agent/new_relic_service/json_marshaller.rb
|
373
398
|
- lib/new_relic/agent/new_relic_service/marshaller.rb
|
374
399
|
- lib/new_relic/agent/new_relic_service/security_policy_settings.rb
|
400
|
+
- lib/new_relic/agent/noticible_error.rb
|
375
401
|
- lib/new_relic/agent/null_logger.rb
|
376
402
|
- lib/new_relic/agent/obfuscator.rb
|
377
403
|
- lib/new_relic/agent/parameter_filtering.rb
|
@@ -443,7 +469,6 @@ files:
|
|
443
469
|
- lib/new_relic/agent/vm/mri_vm.rb
|
444
470
|
- lib/new_relic/agent/vm/snapshot.rb
|
445
471
|
- lib/new_relic/agent/worker_loop.rb
|
446
|
-
- lib/new_relic/build.rb
|
447
472
|
- lib/new_relic/cli/command.rb
|
448
473
|
- lib/new_relic/cli/commands/deployments.rb
|
449
474
|
- lib/new_relic/cli/commands/install.rb
|
@@ -473,7 +498,6 @@ files:
|
|
473
498
|
- lib/new_relic/local_environment.rb
|
474
499
|
- lib/new_relic/metric_data.rb
|
475
500
|
- lib/new_relic/metric_spec.rb
|
476
|
-
- lib/new_relic/metrics.rb
|
477
501
|
- lib/new_relic/noticed_error.rb
|
478
502
|
- lib/new_relic/rack.rb
|
479
503
|
- lib/new_relic/rack/agent_hooks.rb
|
@@ -500,15 +524,15 @@ files:
|
|
500
524
|
- newrelic_rpm.gemspec
|
501
525
|
- recipes/newrelic.rb
|
502
526
|
- test/agent_helper.rb
|
503
|
-
- 'true'
|
504
527
|
homepage: https://github.com/newrelic/rpm
|
505
528
|
licenses:
|
506
|
-
-
|
529
|
+
- Apache-2.0
|
507
530
|
metadata:
|
508
|
-
bug_tracker_uri: https://
|
509
|
-
changelog_uri: https://github.com/newrelic/
|
531
|
+
bug_tracker_uri: https://github.com/newrelic/newrelic-ruby-agent/issues
|
532
|
+
changelog_uri: https://github.com/newrelic/newrelic-ruby-agent/blob/main/CHANGELOG.md
|
510
533
|
documentation_uri: https://docs.newrelic.com/docs/agents/ruby-agent
|
511
|
-
source_code_uri: https://github.com/newrelic/
|
534
|
+
source_code_uri: https://github.com/newrelic/newrelic-ruby-agent
|
535
|
+
homepage_uri: https://newrelic.com/ruby
|
512
536
|
post_install_message:
|
513
537
|
rdoc_options: []
|
514
538
|
require_paths:
|
@@ -524,7 +548,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
524
548
|
- !ruby/object:Gem::Version
|
525
549
|
version: 1.3.1
|
526
550
|
requirements: []
|
527
|
-
rubygems_version: 3.1.
|
551
|
+
rubygems_version: 3.1.4
|
528
552
|
signing_key:
|
529
553
|
specification_version: 4
|
530
554
|
summary: New Relic Ruby Agent
|
data/.travis.yml
DELETED
@@ -1,210 +0,0 @@
|
|
1
|
-
services:
|
2
|
-
- mysql
|
3
|
-
- redis-server
|
4
|
-
- memcached
|
5
|
-
- rabbitmq
|
6
|
-
|
7
|
-
language: ruby
|
8
|
-
|
9
|
-
dist: precise
|
10
|
-
sudo: required
|
11
|
-
jdk:
|
12
|
-
- oraclejdk8
|
13
|
-
|
14
|
-
before_install:
|
15
|
-
# RUBY-2072 Prevent Travis setup failure before our test even starts
|
16
|
-
- jdk_switcher use oraclejdk8
|
17
|
-
- sudo rm -f /etc/apt/sources.list.d/travis_ci_zeromq3.list
|
18
|
-
- gem --version
|
19
|
-
- "echo 'gem: --no-rdoc --no-ri --no-document' > ~/.gemrc"
|
20
|
-
- ./test/script/before_install/conditionally_upgrade_rubygems.sh
|
21
|
-
- ./test/script/before_install/gemstash_mirror.sh
|
22
|
-
- "echo GEMSTASH_MIRROR: $GEMSTASH_MIRROR"
|
23
|
-
- bundle --version
|
24
|
-
|
25
|
-
install: bundle install --jobs 4
|
26
|
-
|
27
|
-
addons:
|
28
|
-
apt:
|
29
|
-
update: true
|
30
|
-
packages:
|
31
|
-
- openssl
|
32
|
-
- libssl-dev
|
33
|
-
- build-essential
|
34
|
-
- haveged
|
35
|
-
|
36
|
-
before_script: ./test/script/before_script/install_mongodb.sh
|
37
|
-
|
38
|
-
script: ./test/script/ci.sh
|
39
|
-
|
40
|
-
branches:
|
41
|
-
only:
|
42
|
-
- master
|
43
|
-
- dev
|
44
|
-
- release
|
45
|
-
- RUBY-2227_w3c_trace_context_poc
|
46
|
-
|
47
|
-
rvm:
|
48
|
-
# Run slowest builds first to try and optimize overall cycle time.
|
49
|
-
- jruby-9.2.6.0
|
50
|
-
- 2.7.0
|
51
|
-
- 2.6.1
|
52
|
-
- 2.5.3
|
53
|
-
- 2.4.2
|
54
|
-
- 2.3.5
|
55
|
-
- 2.2.8
|
56
|
-
- 2.1.10
|
57
|
-
- 2.0.0-p648
|
58
|
-
|
59
|
-
jdk:
|
60
|
-
- oraclejdk8
|
61
|
-
|
62
|
-
env:
|
63
|
-
global:
|
64
|
-
- BUNDLE_PATH=/home/travis/bundle
|
65
|
-
- MONGODB=2.6.11
|
66
|
-
- JAVA_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx1024m -XX:CICompilerCount=1 -Xshare:auto"
|
67
|
-
- JRUBY_OPTS="-Xcompile.invokedynamic=false -J-Djruby.compile.mode=OFF"
|
68
|
-
- RBXOPT="-Xcompiler.no_rbc -Xint"
|
69
|
-
- SERIALIZE=1
|
70
|
-
- TESTOPTS="-v"
|
71
|
-
- VERBOSE = 1
|
72
|
-
matrix:
|
73
|
-
- TYPE=UNIT ENVIRONMENT=rails30
|
74
|
-
- TYPE=UNIT ENVIRONMENT=rails31
|
75
|
-
- TYPE=UNIT ENVIRONMENT=rails32
|
76
|
-
- TYPE=UNIT ENVIRONMENT=rails40
|
77
|
-
- TYPE=UNIT ENVIRONMENT=rails41
|
78
|
-
- TYPE=UNIT ENVIRONMENT=rails42
|
79
|
-
- TYPE=UNIT ENVIRONMENT=rails50
|
80
|
-
- TYPE=UNIT ENVIRONMENT=rails51
|
81
|
-
- TYPE=UNIT ENVIRONMENT=rails60
|
82
|
-
- TYPE=UNIT ENVIRONMENT=norails
|
83
|
-
- TYPE=FUNCTIONAL GROUP=agent
|
84
|
-
- TYPE=FUNCTIONAL GROUP=api
|
85
|
-
- TYPE=FUNCTIONAL GROUP=background
|
86
|
-
- TYPE=FUNCTIONAL GROUP=database
|
87
|
-
- TYPE=FUNCTIONAL GROUP=httpclients
|
88
|
-
- TYPE=FUNCTIONAL GROUP=rails
|
89
|
-
- TYPE=FUNCTIONAL GROUP=serialization
|
90
|
-
- TYPE=FUNCTIONAL GROUP=sinatra
|
91
|
-
- TYPE=FUNCTIONAL GROUP=rest
|
92
|
-
- TYPE=FUNCTIONAL GROUP=background_2
|
93
|
-
- TYPE=NULLVERSE
|
94
|
-
|
95
|
-
matrix:
|
96
|
-
allow_failures:
|
97
|
-
- rvm: jruby-9.2.6.0
|
98
|
-
env: TYPE=FUNCTIONAL GROUP=agent
|
99
|
-
fast_finish: true
|
100
|
-
exclude:
|
101
|
-
# Unsupported Rails/Ruby combinations
|
102
|
-
# 2.7
|
103
|
-
- rvm: 2.7.0
|
104
|
-
env: TYPE=UNIT ENVIRONMENT=rails30
|
105
|
-
- rvm: 2.7.0
|
106
|
-
env: TYPE=UNIT ENVIRONMENT=rails31
|
107
|
-
- rvm: 2.7.0
|
108
|
-
env: TYPE=UNIT ENVIRONMENT=rails32
|
109
|
-
- rvm: 2.7.0
|
110
|
-
env: TYPE=UNIT ENVIRONMENT=rails40
|
111
|
-
- rvm: 2.7.0
|
112
|
-
env: TYPE=UNIT ENVIRONMENT=rails41
|
113
|
-
|
114
|
-
- rvm: 2.7.0
|
115
|
-
env: TYPE=UNIT ENVIRONMENT=rails42 # rails (= 4.2.11) depends on bundler (< 2.0, >= 1.3.0)
|
116
|
-
- rvm: 2.7.0
|
117
|
-
env: TYPE=UNIT ENVIRONMENT=rails50 # rails (= 5.0.0) depends on bundler (< 2.0, >= 1.3.0)
|
118
|
-
- rvm: 2.7.0
|
119
|
-
env: TYPE=UNIT ENVIRONMENT=rails51 # rails (= 5.1.0) depends on bundler (< 2.0, >= 1.3.0)
|
120
|
-
- rvm: 2.7.0
|
121
|
-
env: TYPE=FUNCTIONAL GROUP=api # blocked: https://github.com/solnic/coercible/issues/27
|
122
|
-
- rvm: 2.7.0
|
123
|
-
env: TYPE=FUNCTIONAL GROUP=sinatra # padrino (~> 0.14.0) depends on bundler (~> 1.0)
|
124
|
-
|
125
|
-
- rvm: 2.7.0
|
126
|
-
env: TYPE=UNIT ENVIRONMENT=rails42 # rails (= 4.2.11) depends on bundler (< 2.0, >= 1.3.0)
|
127
|
-
- rvm: 2.7.0
|
128
|
-
env: TYPE=UNIT ENVIRONMENT=rails50 # rails (= 5.0.0) depends on bundler (< 2.0, >= 1.3.0)
|
129
|
-
- rvm: 2.7.0
|
130
|
-
env: TYPE=UNIT ENVIRONMENT=rails51 # rails (= 5.1.0) depends on bundler (< 2.0, >= 1.3.0)
|
131
|
-
- rvm: 2.7.0
|
132
|
-
env: TYPE=FUNCTIONAL GROUP=api # blocked: https://github.com/solnic/coercible/issues/27
|
133
|
-
- rvm: 2.7.0
|
134
|
-
env: TYPE=FUNCTIONAL GROUP=sinatra # padrino (~> 0.14.0) depends on bundler (~> 1.0)
|
135
|
-
|
136
|
-
# 2.6
|
137
|
-
- rvm: 2.6.1
|
138
|
-
env: TYPE=UNIT ENVIRONMENT=rails30
|
139
|
-
- rvm: 2.6.1
|
140
|
-
env: TYPE=UNIT ENVIRONMENT=rails31
|
141
|
-
- rvm: 2.6.1
|
142
|
-
env: TYPE=UNIT ENVIRONMENT=rails32
|
143
|
-
- rvm: 2.6.1
|
144
|
-
env: TYPE=UNIT ENVIRONMENT=rails40
|
145
|
-
- rvm: 2.6.1
|
146
|
-
env: TYPE=UNIT ENVIRONMENT=rails41
|
147
|
-
|
148
|
-
# 2.5
|
149
|
-
- rvm: 2.5.3
|
150
|
-
env: TYPE=UNIT ENVIRONMENT=rails30
|
151
|
-
- rvm: 2.5.3
|
152
|
-
env: TYPE=UNIT ENVIRONMENT=rails31
|
153
|
-
- rvm: 2.5.3
|
154
|
-
env: TYPE=UNIT ENVIRONMENT=rails32
|
155
|
-
- rvm: 2.5.3
|
156
|
-
env: TYPE=UNIT ENVIRONMENT=rails40
|
157
|
-
- rvm: 2.5.3
|
158
|
-
env: TYPE=UNIT ENVIRONMENT=rails41
|
159
|
-
|
160
|
-
# 2.4
|
161
|
-
- rvm: 2.4.2
|
162
|
-
env: TYPE=UNIT ENVIRONMENT=rails30
|
163
|
-
- rvm: 2.4.2
|
164
|
-
env: TYPE=UNIT ENVIRONMENT=rails31
|
165
|
-
- rvm: 2.4.2
|
166
|
-
env: TYPE=UNIT ENVIRONMENT=rails32
|
167
|
-
- rvm: 2.4.2
|
168
|
-
env: TYPE=UNIT ENVIRONMENT=rails40
|
169
|
-
- rvm: 2.4.2
|
170
|
-
env: TYPE=UNIT ENVIRONMENT=rails41
|
171
|
-
- rvm: 2.4.2
|
172
|
-
env: TYPE=UNIT ENVIRONMENT=rails60
|
173
|
-
|
174
|
-
# 2.3
|
175
|
-
- rvm: 2.3.5
|
176
|
-
env: TYPE=UNIT ENVIRONMENT=rails60
|
177
|
-
|
178
|
-
# 2.2
|
179
|
-
- rvm: 2.2.8
|
180
|
-
env: TYPE=UNIT ENVIRONMENT=rails60
|
181
|
-
|
182
|
-
# 2.1
|
183
|
-
- rvm: 2.1.10
|
184
|
-
env: TYPE=UNIT ENVIRONMENT=rails50
|
185
|
-
- rvm: 2.1.10
|
186
|
-
env: TYPE=UNIT ENVIRONMENT=rails51
|
187
|
-
- rvm: 2.1.10
|
188
|
-
env: TYPE=UNIT ENVIRONMENT=rails60
|
189
|
-
|
190
|
-
# 2.0
|
191
|
-
- rvm: 2.0.0-p648
|
192
|
-
env: TYPE=UNIT ENVIRONMENT=rails50
|
193
|
-
- rvm: 2.0.0-p648
|
194
|
-
env: TYPE=UNIT ENVIRONMENT=rails51
|
195
|
-
- rvm: 2.0.0-p648
|
196
|
-
env: TYPE=UNIT ENVIRONMENT=rails60
|
197
|
-
|
198
|
-
# jruby 9.2.6.0 (Compatible with MRI 2.5)
|
199
|
-
- rvm: jruby-9.2.6.0
|
200
|
-
env: TYPE=UNIT ENVIRONMENT=rails30
|
201
|
-
- rvm: jruby-9.2.6.0
|
202
|
-
env: TYPE=UNIT ENVIRONMENT=rails31
|
203
|
-
- rvm: jruby-9.2.6.0
|
204
|
-
env: TYPE=UNIT ENVIRONMENT=rails32
|
205
|
-
- rvm: jruby-9.2.6.0
|
206
|
-
env: TYPE=UNIT ENVIRONMENT=rails40
|
207
|
-
- rvm: jruby-9.2.6.0
|
208
|
-
env: TYPE=UNIT ENVIRONMENT=rails41
|
209
|
-
- rvm: jruby-9.2.6.0
|
210
|
-
env: TYPE=UNIT ENVIRONMENT=rails60
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# This file is distributed under New Relic's license terms.
|
3
|
-
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.
|
4
|
-
|
5
|
-
module NewRelic
|
6
|
-
module Agent
|
7
|
-
module HTTPClients
|
8
|
-
|
9
|
-
# This class provides a public interface for wrapping HTTP requests. This
|
10
|
-
# may be used to create wrappers that are compatible with New Relic's
|
11
|
-
# external request API.
|
12
|
-
#
|
13
|
-
# @api public
|
14
|
-
class AbstractRequest
|
15
|
-
ERROR_MESSAGE = 'Subclasses of NewRelic::Agent::HTTPClients::AbstractRequest must implement a '.freeze
|
16
|
-
|
17
|
-
def []
|
18
|
-
raise NotImplementedError, ERROR_MESSAGE + ':[] method'
|
19
|
-
end
|
20
|
-
|
21
|
-
def []=
|
22
|
-
raise NotImplementedError, ERROR_MESSAGE + ':[]= method'
|
23
|
-
end
|
24
|
-
|
25
|
-
def host_from_header
|
26
|
-
raise NotImplementedError, ERROR_MESSAGE + ':host_from_header method'
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
data/lib/new_relic/metrics.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# This file is distributed under New Relic's license terms.
|
3
|
-
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.
|
4
|
-
|
5
|
-
module NewRelic
|
6
|
-
module Metrics
|
7
|
-
CONTROLLER = "Controller"
|
8
|
-
DISPATCHER = "HttpDispatcher"
|
9
|
-
ACTIVE_RECORD = "ActiveRecord"
|
10
|
-
USER_TIME = "CPU/User Time"
|
11
|
-
MEMORY = "Memory/Physical"
|
12
|
-
end
|
13
|
-
end
|
data/true
DELETED
File without changes
|