Module: ScoutSignalfx

Defined in:
lib/scout_signalfx.rb,
lib/scout_signalfx/version.rb,
lib/scout_signalfx/periodic_callback.rb

Defined Under Namespace

Classes: PeriodicCallback

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.configure(signalfx_client) ⇒ Object

Takes a SignalFxClient and configures the ScoutApm SignalFx Payload Plugin.


5
6
7
8
# File 'lib/scout_signalfx.rb', line 5

def self.configure(signalfx_client)
  @@signalfx_client ||= signalfx_client
  ScoutApm::Extensions::Config.add_periodic_callback(ScoutSignalfx::PeriodicCallback.new)
end

.signalfx_clientObject


10
11
12
# File 'lib/scout_signalfx.rb', line 10

def self.signalfx_client
  @@signalfx_client
end