implemented floatingpoint gauge
added FGauge() for the regulared non-buffered client as well
strip hostname down to the basename (otherwise all the "." become paths in statsd which becomes silly looking); make Hostname exported so we can manipulate it further as a client
allow %HOST% substitution in the prefix string.That is useful for people who want to have all stats prefixed by an API key and the hostname
might as well preallocate the exact slice len we need, since we know it
added FAbsolute and completed FGauge
add FAbsolute() to buffered client
fix missing %HOST% conversion in buffered client
fix buffered negative gauge values, and fix the string for encoding buffered gauge values (it seems to have been a C&V error from the original code)
INTERFACE CHANGE: Gauge() was implemented an a normal, absolute gauge in the buffered client, but as a Gauge Delta in the regular client. I split this so Gauge() is always the regular gauge, and the new GaugeDelta() is always a delta
INTERFACE CHANGE: Gauge() was implemented an a normal, absolute gauge in the buffered client, but as a Gauge Delta in the regular client. I split this so Gauge() is always the regular gauge, and the new GaugeDelta() is always a delta
merge
Merge branch 'master' of https://github.com/quipo/statsd
merged with upstream
Merge branch 'master' of https://github.com/quipo/statsd
fix bug pointed out by quipo's review
remove mandatory hostname truncation. keep Hostname exported so clients can override the default Hostname if they want something different than the FQDN
fix typo in //
restore missing code to init Hostname in init(). I hadn't meant to remove it entirely
Merge pull request #5 from nsd20463/master

fixes to buffered client, adds floats and delta gauges