Module: NewRelic

Defined in:
lib/new_relic/agent.rb,
lib/newrelic_rpm.rb,
lib/newrelic_rpm.rb,
lib/new_relic/stats.rb,
lib/new_relic/command.rb,
lib/new_relic/control.rb,
lib/new_relic/metrics.rb,
lib/new_relic/version.rb,
lib/new_relic/histogram.rb,
lib/new_relic/timer_lib.rb,
lib/new_relic/agent/agent.rb,
lib/new_relic/metric_data.rb,
lib/new_relic/agent/sampler.rb,
lib/new_relic/metric_parser.rb,
lib/new_relic/rack/metric_app.rb,
lib/new_relic/agent/shim_agent.rb,
lib/new_relic/agent/worker_loop.rb,
lib/new_relic/collection_helper.rb,
lib/new_relic/control/profiling.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/metric_parser/apdex.rb,
lib/new_relic/transaction_analysis.rb,
lib/new_relic/agent/busy_calculator.rb,
lib/new_relic/agent/error_collector.rb,
lib/new_relic/control/configuration.rb,
lib/new_relic/delayed_job_injection.rb,
lib/new_relic/control/server_methods.rb,
lib/new_relic/control/instrumentation.rb,
lib/new_relic/control/logging_methods.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/metric_frame.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

A struct holding the information required to measure a controller action. This is put on the thread local. Handles the issue of re-entrancy, or nested action calls.

This class is not part of the public API. Avoid making calls on it directly.

Defined Under Namespace

Modules: Agent, CollectionHelper, DelayedJobInjection, Instrumentation, Metrics, Rack, Stats, TransactionAnalysis, VERSION Classes: ApdexStats, BasicStats, ChainedCall, Command, Control, Histogram, LocalEnvironment, MerbBootLoader, MethodTraceStats, MetricData, MetricParser, MetricSpec, NoticedError, Railtie, ScopedMethodTraceStats, StatsBase, TransactionSample, UrlRule, 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