Method: Notify::Graphite#send_event

Defined in:
lib/notify/graphite.rb

#send_event(event_name) ⇒ Object



43
44
45
46
# File 'lib/notify/graphite.rb', line 43

def send_event(event_name)
    @client.sendMetric(@basename+"."+event_name, 1)
    #TODO: we should also send a "normal" graphite event to the json api.
end