Module: Metriks::Reporter::NewRelic

Extended by:
NewRelic
Included in:
NewRelic
Defined in:
lib/metriks/reporter/new_relic.rb,
lib/metriks/reporter/new_relic/sampler.rb,
lib/metriks/reporter/new_relic/version.rb

Defined Under Namespace

Classes: Sampler

Constant Summary collapse

VERSION =
"0.0.1"

Instance Method Summary collapse

Instance Method Details

#restartObject



18
19
20
# File 'lib/metriks/reporter/new_relic.rb', line 18

def restart
  # not yet able
end

#startObject



10
11
12
# File 'lib/metriks/reporter/new_relic.rb', line 10

def start
  ::NewRelic::Agent.instance.stats_engine.add_harvest_sampler(Sampler.new)
end

#stopObject



14
15
16
# File 'lib/metriks/reporter/new_relic.rb', line 14

def stop
  # not yet able
end