Module: RailsPerformance
- Defined in:
- lib/rails_performance.rb,
lib/rails_performance/utils.rb,
lib/rails_performance/engine.rb,
lib/rails_performance/record.rb,
lib/rails_performance/version.rb,
lib/rails_performance/collection.rb,
lib/rails_performance/middleware.rb,
lib/rails_performance/base_report.rb,
lib/rails_performance/data_source.rb,
lib/rails_performance/requests_report.rb,
lib/rails_performance/metrics_listener.rb,
lib/rails_performance/throughput_report.rb
Defined Under Namespace
Classes: BaseReport, Collection, DataSource, Engine, MetricsListener, Middleware, Record, RequestsReport, ThroughputReport, Utils
Constant Summary collapse
- VERSION =
'0.0.1.2'- @@redis =
Redis::Namespace.new("#{Rails.env}-rails-performance", redis: Redis.new)
- @@duration =
24.hours
- @@debug =
false
Class Method Summary collapse
Class Method Details
.setup {|_self| ... } ⇒ Object
23 24 25 |
# File 'lib/rails_performance.rb', line 23 def self.setup yield(self) end |