Module: Rmetrics

Defined in:
lib/rmetrics.rb,
lib/rmetrics/events.rb,
lib/rmetrics/influx.rb,
lib/rmetrics/version.rb

Overview

lib/rmetrics.rb

Defined Under Namespace

Classes: Events, Influx

Constant Summary collapse

VERSION =
'0.1.0'.freeze
@@action_controller =
['start_processing.action_controller']
@@active_view =
[]
@@active_record =
['sql.active_record']
@@action_mailer =
[]
@@active_support =
[]
@@active_job =
[]
@@action_cable =
[]
@@active_storage =
[]
@@db_config =
{ database: 'metrics' }

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

rubocop:enable Style/ClassVars

Yields:

  • (_self)

Yield Parameters:

  • _self (Rmetrics)

    the object that the method was called on



47
48
49
# File 'lib/rmetrics.rb', line 47

def self.setup
  yield self
end