Sha256: 527b08f9e887d94dd3277c83588af76b4eb9440b4d822854efd370aaf8fbefa8
Contents?: true
Size: 902 Bytes
Versions: 2
Compression:
Stored size: 902 Bytes
Contents
module Hallmonitor # Hallmonitor configuration class Configuration # Whether or not to trap outputter exceptions, defaults to false attr_accessor :trap_outputter_exceptions # Whether or not to autoinstrument rails controller actions, defaults to false attr_accessor :instrument_rails_controller_actions # The metric name to use for controller action measurements, # defaults to 'controller.action.measure' attr_accessor :controller_action_measure_name # The metric name to use for controller action counts, defaults to # 'controller.action.measure' attr_accessor :controller_action_count_name def initialize @trap_outputter_exceptions = false @controller_action_measure_name = 'controller.action.measure' @controller_action_count_name = 'controller.action.count' @instrument_rails_controller_actions = false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hallmonitor-5.2.0 | lib/hallmonitor/configuration.rb |
hallmonitor-5.1.0 | lib/hallmonitor/configuration.rb |