anchor.diff:  -module(statsd).
   % Meta information
   -author("Daniel Schauenberg <d@unwiredcouch.com>").
  +-author("Sean Johnson <sean@talkto.com>").
   % defines
   -define(HOST, "localhost").
   -define(PORT, 8125).
   % exports
   -export([increment/1,increment/2,increment/3,
  -         decrement/1, decrement/2, timing/2,
  -         timing/3]).
  +         decrement/1, decrement/2, decrement/3,
  +         timing/2, timing/3,
  +         gauge/2]).
   
   %
   % API functions
  
positive.code:   send({counter, H, Delta, Samplerate}),
    send({counter, Stats, Delta, Samplerate});
  send({counter, [], _, _}) -> {ok, "Success."};
  send({timer, [H|Stats], Delta, Samplerate}) ->
    send({timer, H, Delta, Samplerate}),
    send({timer, Stats, Delta, Samplerate});
  send({timer, [], _, _}) -> {ok, "Success."};
  
  % functions for single stats
  send({counter, Stat, Delta, Samplerate}) when Samplerate < 1.0, is_atom(Stat) ->
  
negative.code: %%
  %% Example erlang client implementation for the Etsy statsd
  %%
  %% Copyright (c) 2011-2012 Daniel Schauenberg, Sean Johnson
  %%
  %% Permission is hereby granted, free of charge, to any person
  %% obtaining a copy of this software and associated documentation
  