class FFWD::Plugin::Riemann::OutputUDP

Public Class Methods

plugin_type() click to toggle source
# File lib/ffwd/plugin/riemann.rb, line 68
def self.plugin_type
  "riemann"
end

Public Instance Methods

output_encode(m) click to toggle source
# File lib/ffwd/plugin/riemann.rb, line 72
def output_encode m
  m.encode
end
output_failed_event(event, error) click to toggle source
# File lib/ffwd/plugin/riemann.rb, line 76
def output_failed_event event, error
  log.error "Failed to send event #{event.inspect}: #{error}", error
end
output_failed_metric(metric, error) click to toggle source
# File lib/ffwd/plugin/riemann.rb, line 80
def output_failed_metric metric, error
  log.error "Failed to send metric #{metric.inspect}: #{error}", error
end