Class: Travis::Metrics::Reporter::Riemann
- Inherits:
-
Struct
- Object
- Struct
- Travis::Metrics::Reporter::Riemann
- Defined in:
- lib/travis/metrics/reporter/riemann.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
9 10 11 |
# File 'lib/travis/metrics/reporter/riemann.rb', line 9 def config @config end |
Instance Method Details
#setup ⇒ Object
}
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 |