Module: NewRelic
- Defined in:
- lib/new_relic/agent.rb,
lib/newrelic_rpm.rb,
lib/new_relic/stats.rb,
lib/new_relic/control.rb,
lib/new_relic/metrics.rb,
lib/new_relic/version.rb,
lib/new_relic/agent/agent.rb,
lib/new_relic/metric_data.rb,
lib/new_relic/metric_parser.rb,
lib/new_relic/rack/metric_app.rb,
lib/new_relic/agent/worker_loop.rb,
lib/new_relic/collection_helper.rb,
lib/new_relic/local_environment.rb,
lib/new_relic/agent/stats_engine.rb,
lib/new_relic/transaction_sample.rb,
lib/new_relic/agent/method_tracer.rb,
lib/new_relic/commands/deployments.rb,
lib/new_relic/transaction_analysis.rb,
lib/new_relic/agent/busy_calculator.rb,
lib/new_relic/agent/error_collector.rb,
lib/new_relic/delayed_job_injection.rb,
lib/new_relic/agent/transaction_sampler.rb,
lib/new_relic/agent/instrumentation/rack.rb,
lib/new_relic/agent/samplers/cpu_sampler.rb,
lib/new_relic/agent/stats_engine/samplers.rb,
lib/new_relic/agent/instrumentation/sinatra.rb,
lib/new_relic/agent/samplers/memory_sampler.rb,
lib/new_relic/agent/samplers/object_sampler.rb,
lib/new_relic/agent/stats_engine/metric_stats.rb,
lib/new_relic/agent/stats_engine/transactions.rb,
lib/new_relic/agent/instrumentation/acts_as_solr.rb,
lib/new_relic/agent/instrumentation/rails3/errors.rb,
lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb,
lib/new_relic/agent/instrumentation/rails3/action_controller.rb,
lib/new_relic/agent/instrumentation/controller_instrumentation.rb,
lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb,
lib/new_relic/agent/instrumentation/active_record_instrumentation.rb
Overview
This installs some code to manually start the agent when a delayed job worker starts. It’s not really instrumentation. It’s more like a hook from DJ to RPM so it gets loaded at the time the RPM plugin initializes, which must be before the DJ worker initializes. Loaded from control.rb
Defined Under Namespace
Modules: Agent, CollectionHelper, Commands, DelayedJobInjection, Instrumentation, Metrics, Rack, Stats, TransactionAnalysis, VERSION Classes: ApdexStats, BasicStats, ChainedCall, Control, Histogram, LocalEnvironment, MerbBootLoader, MethodTraceStats, MetricData, MetricParser, MetricSpec, NoticedError, ScopedMethodTraceStats, StatsBase, TransactionSample, VersionNumber
Constant Summary collapse
- COLLAPSE_SEGMENTS_THRESHOLD =
2
- MYSQL_EXPLAIN_COLUMNS =
[ "Id", "Select Type", "Table", "Type", "Possible Keys", "Key", "Key Length", "Ref", "Rows", "Extra" ].freeze