Class: ScoutApm::FakeStore

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/fake_store.rb

Instance Method Summary collapse

Constructor Details

#initializeFakeStore

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_timestampObject



9
10
11
12
# File 'lib/scout_apm/fake_store.rb', line 9

def current_timestamp
  # 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, options={})
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, options={})
end

#track_histograms!(histograms, options = {}) ⇒ Object



23
24
# File 'lib/scout_apm/fake_store.rb', line 23

def track_histograms!(histograms, options={})
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, options={})
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