Class: Travis::Metrics::Reporter::Riemann

Inherits:
Struct
  • Object
show all
Defined in:
lib/travis/metrics/reporter/riemann.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



9
10
11
# File 'lib/travis/metrics/reporter/riemann.rb', line 9

def config
  @config
end

Instance Method Details

#setupObject

}



15
16
17
18
19
# File 'lib/travis/metrics/reporter/riemann.rb', line 15

def setup
  #return unless host
  #logger.info MSGS[:setup] % [source, email]
  Metriks::Reporter::Riemann.new(client, interval: interval)
end