Module: Simple::Metrics::Graphite
- Defined in:
- lib/simple/metrics/graphite.rb
Instance Method Summary (collapse)
-
- (Object) enable_graphite_reporter(server_name, server_port, prefix, interval_in_seconds = 60)
Enable reporting directly to graphite.
Instance Method Details
- (Object) enable_graphite_reporter(server_name, server_port, prefix, interval_in_seconds = 60)
Enable reporting directly to graphite
17 18 19 20 |
# File 'lib/simple/metrics/graphite.rb', line 17 def enable_graphite_reporter(server_name, server_port, prefix, interval_in_seconds = 60) GraphiteReporter.enable(interval_in_seconds, TimeUnit::SECONDS, server_name, server_port, prefix) end |