Sha256: 1a7ed4cf24d436c15b7bbc3de640e1db442bd892cb4906618e01da0a14addb26
Contents?: true
Size: 918 Bytes
Versions: 8
Compression:
Stored size: 918 Bytes
Contents
# frozen_string_literal: true module Rapporteur module Checks autoload :ActiveRecordCheck, 'rapporteur/checks/active_record_check' # A check which simply reports the current clock time in UTC. This check is # useful because it shows that the status end point is not being cached and # allows you to determine if your server clocks are abnormally skewed. # # This check has no failure cases. # # Examples # # { # time: "2013-06-21T05:18:59Z" # } # TimeCheck = ->(checker) { checker.add_message(:time, Time.now.utc) } # A check which reports the current revision of the running application. # # This check has no failure cases. # # Examples # # { # revision: "c74edd04f64b25ff6691308bcfdefcee149aa4b5" # } # RevisionCheck = ->(checker) { checker.add_message(:revision, Revision.current) } end end
Version data entries
8 entries across 8 versions & 1 rubygems