Граф коммитов

383 Коммитов

Автор SHA1 Сообщение Дата
Daniel Schauenberg 5a36ca0923 Merge pull request #135 from mattspitz/master
More Java client improvements.
2012-08-06 14:52:32 -07:00
Matt Spitz e285d3a571 Removing trailing whitespace from Java example client. 2012-08-03 00:21:20 -04:00
Matt Spitz 7d7a312d32 In Java example client, it's OK for gauges to be floats. 2012-08-03 00:20:52 -04:00
Daniel Schauenberg 4682f7fbda Merge pull request #133 from otac0n/patch-1
Improved the quality of randomness used for sampling.
2012-07-31 13:05:53 -07:00
John Gietzen da8d73b7c6 Improved the quality of randomness used for sampling.
The previous version had issues with rapidly creating and disposing of StatsdPipe instances.

If, say, 100 were created in the same millisecond, they would all be given the same Random seed.

In this version, we use ThreadStatic storage to reduce the number of Random instances created, maintain thread safety, and allow randomness to vary much more quickly that per-millisecond.
2012-07-31 13:01:39 -07:00
Daniel Schauenberg a98c9058b5 Merge pull request #132 from dqminh/master
add lib/*.js to list of files that needs to be installed for debian package
2012-07-31 09:38:53 -07:00
Daniel, Dao Quang Minh eb6c466067 add lib to list of files that need to be installed 2012-08-01 00:04:20 +08:00
Justin Lilly 012df4add8 Fixing small typo in golang example. 2012-07-29 07:34:43 -07:00
Daniel Schauenberg 6cf541c938 test on node 0.8.0 2012-07-27 16:30:28 +02:00
Daniel Schauenberg cce8dc4625 Merge pull request #131 from iFixit/add-std-dev
Add std dev to timers
2012-07-27 05:43:52 -07:00
Daniel Schauenberg 3ba3c3e103 Merge pull request #130 from gjesse/master
Added gauge examples to java example client
2012-07-27 05:41:59 -07:00
Daniel Schauenberg 0c7d46d827 Merge pull request #128 from iriscouch/fix_unit_tests
Get unit tests working again (reflect the new statsd.numStats value)
2012-07-27 05:41:21 -07:00
Daniel Schauenberg 178979cfbe Merge pull request #127 from iFixit/make-tests-fail
Make failing tests exit with non-zero status
2012-07-27 05:29:02 -07:00
gjesse 2103f9fe12 added gauge examples to java client 2012-07-25 09:51:36 -05:00
Daniel Beardsley a306d26ffe Fix standard deviation bug in graphite backend.
Array is 0-based, doh!
2012-07-24 11:29:22 -07:00
Daniel Beardsley b96e6cafb6 Add standard deviation to timers stats 2012-07-24 11:29:11 -07:00
Jason Smith (work) 6a36c7c31e Update tests to reflect the new statsd.numStats values 2012-07-24 11:15:10 +00:00
Daniel Beardsley 304c40f3cd Make failing tests exit with non-zero status
Travis has been thinking everything passes, but the tests have been broken for a while
2012-07-20 22:17:08 -07:00
Daniel Schauenberg 712dcfbb58 bump to v0.5.0 2012-07-20 18:07:19 +02:00
Daniel Schauenberg ee50a80a32 update Changelog for v0.5.0 2012-07-20 18:05:59 +02:00
Daniel Schauenberg a30c31043d Merge branch 'logger' of https://github.com/easybib/statsd into logger 2012-07-20 16:13:54 +02:00
till dee8857822 Fix bug: use type to construct log string 2012-07-20 16:10:31 +02:00
Daniel Schauenberg 70e688bdbd Merge branch 'logger' of https://github.com/easybib/statsd into logger 2012-07-20 13:35:50 +02:00
Daniel Schauenberg f7e7801a20 use 127.0.0.1 as the default address in the shell example 2012-07-20 13:20:39 +02:00
Daniel Schauenberg 8f66571e44 Merge pull request #123 from fredj/debian-pull
debian/statsd.init: fix the start-stop-daemon --test line.
2012-07-18 07:45:55 -07:00
Daniel Schauenberg af56cb7988 Merge pull request #121 from jroper/patch-1
Fixed locale bug in Java client
2012-07-18 07:45:08 -07:00
Frederic Junod f46fd799da debian/statsd.init: fix the start-stop-daemon --test line.
give the same arguments as the real start-stop-daemon line (startas
instead of exec), otherwise the daemon is not properly detected as started.
2012-07-18 09:16:46 +02:00
James Roper 72a62dcbae Fixed locale bug in Java client. Specifically, String.format() is locale dependent, so if the system locale is a country that uses commas for decimal places, for example, Germany, then when the sample rate is formatted, you end up with "0,1" instead of "0.1". Solution is to use Locale.ENGLISH everywhere. 2012-07-17 19:01:36 +03:00
till 0638da7c49 Test if the supplied log level is defined in node-syslog.
Remove eval()! :)
2012-07-16 19:51:39 +02:00
Daniel Schauenberg 0d14258f37 Merge pull request #117 from fredj/debian-pull
debian packaging enhancements
2012-07-16 06:04:35 -07:00
John Goulah 0854f72c38 Merge pull request #119 from mattspitz/master
Small StatsdClient Java improvements.
2012-07-11 20:21:09 -07:00
Matt Spitz ddc840adfc Reversing variable order to make up for missing method. Whoops. 2012-07-11 18:20:46 -04:00
Matt Spitz a152ed8b4e Finalizing variables that aren't set elsewhere for safety. 2012-07-11 18:16:09 -04:00
Matt Spitz 640381f67c Removing unused method. 2012-07-11 18:14:14 -04:00
Matt Spitz b56c30b9f7 Using %d rather than %i in StatsdClient.java example.
%i isn't a valid conversion type for String formatters: http://docs.oracle.com/javase/6/docs/api/java/util/Formatter.html
2012-07-11 17:58:19 -04:00
till 73b8013a1d Default loglevel (for syslog) in config file. 2012-07-11 20:18:59 +02:00
till 9f4649dd98 Handle debug logging. 2012-07-11 20:02:45 +02:00
till 626277067b Log to syslog:
* replace 'most' log-related instances of util with a logger object
 * logger object sets up syslog logging (if configured)
 * listed 'node-syslog' as an optional dependency
2012-07-11 18:32:52 +02:00
Daniel Schauenberg d0999e615e add simple millisecond timing to the graphite backend 2012-07-10 13:50:04 -04:00
Frederic Junod f0fc80693e debian: install all backends into /usr/share/statsd/backends 2012-07-10 12:45:28 +02:00
Frederic Junod 9f437f8fca debian: bump compat to 8 and Standards-Version to 3.9.3 2012-07-10 12:22:10 +02:00
Frederic Junod f637e6fe10 debian: install README.md 2012-07-10 12:21:55 +02:00
Daniel Schauenberg 4415b2d0c6 Merge branch 'master' of github.com:etsy/statsd 2012-07-09 17:26:12 -04:00
Daniel Schauenberg d94c023467 move graphite stats under stats 2012-07-09 17:10:28 -04:00
Daniel Schauenberg 1862d258e3 we need a timestamp of course 2012-07-09 17:04:16 -04:00
Daniel Schauenberg d274ea2875 remove function timing for now 2012-07-09 16:56:05 -04:00
Daniel Schauenberg b0b09bcffa Merge pull request #111 from nleskiw/master
Updated Graphite schema example to help prevent data loss.
2012-07-09 12:34:52 -07:00
Daniel Schauenberg 8c3babc94f Merge pull request #116 from fredj/lsb-init-script
LSB compliant init script
2012-07-09 12:33:00 -07:00
Daniel Schauenberg 9007c6aef3 Merge pull request #115 from fredj/build-depends
Add missing debhelper to Build-Depends
2012-07-09 12:32:28 -07:00
Daniel Schauenberg 589630ea93 also flush statsd.graphite stats to graphite 2012-07-09 15:29:42 -04:00