Class: ScoutApm::FakeStore
- Inherits:
-
Object
- Object
- ScoutApm::FakeStore
- Defined in:
- lib/scout_apm/fake_store.rb
Instance Method Summary collapse
- #add_sampler(sampler) ⇒ Object
- #current_timestamp ⇒ Object
-
#initialize ⇒ FakeStore
constructor
A new instance of FakeStore.
- #tick! ⇒ Object
- #track!(metrics, options = {}) ⇒ Object
- #track_db_query_metrics!(db_query_metric_set, options = {}) ⇒ Object
- #track_histograms!(histograms, options = {}) ⇒ Object
- #track_job!(job) ⇒ Object
- #track_one!(type, name, value, options = {}) ⇒ Object
- #track_slow_job!(job) ⇒ Object
- #track_slow_transaction!(slow_transaction) ⇒ Object
- #track_trace!(trace, type) ⇒ Object
- #write_to_layaway(layaway, force = false) ⇒ Object
Constructor Details
#initialize ⇒ FakeStore
Returns a new instance of FakeStore.
6 7 |
# File 'lib/scout_apm/fake_store.rb', line 6 def initialize end |
Instance Method Details
#add_sampler(sampler) ⇒ Object
41 42 |
# File 'lib/scout_apm/fake_store.rb', line 41 def add_sampler(sampler) end |
#current_timestamp ⇒ Object
9 10 11 12 |
# File 'lib/scout_apm/fake_store.rb', line 9 def # why a time passed in here? So the histogram in tracked_request.record! doesn't accumulate data indefinitely. StoreReportingPeriodTimestamp.new(Time.parse('2000-01-01 00:00:00')) end |
#tick! ⇒ Object
44 45 |
# File 'lib/scout_apm/fake_store.rb', line 44 def tick! end |
#track!(metrics, options = {}) ⇒ Object
14 15 |
# File 'lib/scout_apm/fake_store.rb', line 14 def track!(metrics, ={}) end |
#track_db_query_metrics!(db_query_metric_set, options = {}) ⇒ Object
26 27 |
# File 'lib/scout_apm/fake_store.rb', line 26 def track_db_query_metrics!(db_query_metric_set, ={}) end |
#track_histograms!(histograms, options = {}) ⇒ Object
23 24 |
# File 'lib/scout_apm/fake_store.rb', line 23 def track_histograms!(histograms, ={}) end |
#track_job!(job) ⇒ Object
32 33 |
# File 'lib/scout_apm/fake_store.rb', line 32 def track_job!(job) end |
#track_one!(type, name, value, options = {}) ⇒ Object
17 18 |
# File 'lib/scout_apm/fake_store.rb', line 17 def track_one!(type, name, value, ={}) end |
#track_slow_job!(job) ⇒ Object
35 36 |
# File 'lib/scout_apm/fake_store.rb', line 35 def track_slow_job!(job) end |
#track_slow_transaction!(slow_transaction) ⇒ Object
29 30 |
# File 'lib/scout_apm/fake_store.rb', line 29 def track_slow_transaction!(slow_transaction) end |
#track_trace!(trace, type) ⇒ Object
20 21 |
# File 'lib/scout_apm/fake_store.rb', line 20 def track_trace!(trace, type) end |
#write_to_layaway(layaway, force = false) ⇒ Object
38 39 |
# File 'lib/scout_apm/fake_store.rb', line 38 def write_to_layaway(layaway, force=false) end |