Sha256: 3cc793822c7ad3bb39c3d297433bc395e0c114915c069ce24380a71a558c6710
Contents?: true
Size: 779 Bytes
Versions: 54
Compression:
Stored size: 779 Bytes
Contents
# A stand-in for Store. This one does not accumulate data, it just throws it away. # Methods in here are the minimal set needed to fool calling objects module ScoutApm class FakeStore def initialize end 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 def track!(metrics, options={}) end def track_one!(type, name, value, options={}) end def track_slow_transaction!(slow_transaction) end def track_job!(job) end def track_slow_job!(job) end def write_to_layaway(layaway, force=false) end def add_sampler(sampler) end end end
Version data entries
54 entries across 54 versions & 1 rubygems