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/timer_lib.rb,
lib/new_relic/agent/agent.rb,
lib/new_relic/metric_data.rb,
lib/new_relic/agent/sampler.rb,
lib/new_relic/agent/database.rb,
lib/new_relic/agent/shim_agent.rb,
lib/new_relic/agent/sql_sampler.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/control/frameworks.rb,
lib/new_relic/data_serialization.rb,
lib/new_relic/transaction_sample.rb,
lib/new_relic/agent/method_tracer.rb,
lib/new_relic/rack/developer_mode.rb,
lib/new_relic/transaction_analysis.rb,
lib/new_relic/agent/busy_calculator.rb,
lib/new_relic/agent/error_collector.rb,
lib/new_relic/agent/instrumentation.rb,
lib/new_relic/control/class_methods.rb,
lib/new_relic/control/configuration.rb,
lib/new_relic/delayed_job_injection.rb,
lib/new_relic/agent/transaction_info.rb,
lib/new_relic/control/server_methods.rb,
lib/new_relic/control/frameworks/merb.rb,
lib/new_relic/control/frameworks/ruby.rb,
lib/new_relic/control/instrumentation.rb,
lib/new_relic/control/logging_methods.rb,
lib/new_relic/agent/browser_monitoring.rb,
lib/new_relic/control/frameworks/rails.rb,
lib/new_relic/control/instance_methods.rb,
lib/new_relic/agent/transaction_sampler.rb,
lib/new_relic/control/frameworks/rails3.rb,
lib/new_relic/agent/beacon_configuration.rb,
lib/new_relic/agent/instrumentation/rack.rb,
lib/new_relic/agent/samplers/cpu_sampler.rb,
lib/new_relic/control/frameworks/sinatra.rb,
lib/new_relic/transaction_sample/segment.rb,
lib/new_relic/agent/stats_engine/samplers.rb,
lib/new_relic/control/frameworks/external.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/instrumentation/memcache.rb,
lib/new_relic/agent/stats_engine/gc_profiler.rb,
lib/new_relic/agent/stats_engine/metric_stats.rb,
lib/new_relic/agent/stats_engine/transactions.rb,
lib/new_relic/transaction_sample/fake_segment.rb,
lib/new_relic/agent/instrumentation/queue_time.rb,
lib/new_relic/agent/transaction_sample_builder.rb,
lib/new_relic/agent/instrumentation/data_mapper.rb,
lib/new_relic/agent/instrumentation/acts_as_solr.rb,
lib/new_relic/agent/instrumentation/metric_frame.rb,
lib/new_relic/transaction_sample/summary_segment.rb,
lib/new_relic/agent/instrumentation/active_record.rb,
lib/new_relic/agent/instrumentation/rails3/errors.rb,
lib/new_relic/transaction_analysis/segment_summary.rb,
lib/new_relic/transaction_sample/composite_segment.rb,
lib/new_relic/agent/instrumentation/metric_frame/pop.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
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, LanguageSupport, Metrics, Rack, Stats, TransactionAnalysis, VERSION Classes: ApdexStats, BasicStats, ChainedCall, Command, Control, DataSerialization, LocalEnvironment, MerbBootLoader, MethodTraceStats, MetricData, MetricSpec, NoticedError, Railtie, ScopedMethodTraceStats, StatsBase, TransactionSample, UrlRule, VersionNumber
Constant Summary collapse
- MYSQL_EXPLAIN_COLUMNS =
columns for a mysql explain plan
[ "Id", "Select Type", "Table", "Type", "Possible Keys", "Key", "Key Length", "Ref", "Rows", "Extra" ].freeze
- COLLAPSE_SEGMENTS_THRESHOLD =
the number of segments that need to exist before we roll them up into one segment with multiple executions
2