[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Wed Aug 7 08:39:38 CEST 2013


 configure.in          |    2 +
 src/Makefile.am       |   10 +
 src/collectd.conf.in  |   11 +
 src/collectd.conf.pod |   49 +++
 src/statsd.c          |  861 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/utils_latency.c   |  173 ++++++++++
 src/utils_latency.h   |   45 +++
 7 files changed, 1151 insertions(+)

New commits:
commit 7fc4c1f412c4002b787b5ce24b08e3091ced08a5
Merge: f47430f 73918b4
Author: Florian Forster <octo at collectd.org>
Date:   Wed Aug 7 08:39:28 2013 +0200

    Merge branch 'ff/statsd'

commit 73918b4759930c3420b8082342847e92a0cb44c5
Author: Florian Forster <octo at collectd.org>
Date:   Fri Jul 26 15:18:43 2013 +0200

    stats plugin: Don't check the value of '(value_t).derive'.
    
    statsd_parse_value() will write to (value_t).gauge, so don't read from another
    member of the union. This also fixes problems with counter values being zero,
    for whatever that is supposed to be useful for.
    
    Github: #358

commit e51085e108c2ac63da82d042e22d26964dfe79cd
Author: Florian Forster <octo at collectd.org>
Date:   Fri Jul 12 18:56:15 2013 +0200

    statsd plugin: Store values internally as double.
    
    While the documentation states that "values should generally be integers", this
    "should" is not taken in the strict RFC meaning. For compatibility with Etsy's
    statsd, handle everything as a double up until the last possible moment.

commit 4ebf0ce945b6ad1f8852aeb13d86a6f0a6144501
Author: Florian Forster <octo at collectd.org>
Date:   Thu Jul 11 14:58:32 2013 +0200

    statsd plugin: Make metric names case-sensitive.
    
    The StatsD by etsy is case sensitive, so we should do the same. Also, strcmp()
    should have better performance than strcasecmp().

commit 57fcbb129aa789857f5028a5195f1e23f444a58a
Author: Florian Forster <octo at collectd.org>
Date:   Thu Jul 11 13:08:11 2013 +0200

    statsd plugin: Don't use strtok_r() to split multi-metric packets.
    
    Profiling has shown that it is one of the bottle-necks.

commit f234b329b148bd1203ea2b68110d85766e6615f7
Author: Florian Forster <octo at collectd.org>
Date:   Thu Jul 11 13:03:12 2013 +0200

    statsd plugin: Dont'a call common.c:parse_value().
    
    parse_value() is doing a strdup() do it can remove trailing whitespace.
    We don't need that for the statsd protocol, so we just call strtoull()
    instead, improving performance but a couple of percent again.

commit 74f51aa494578a5b1cbd8a93597374c62db39640
Author: Florian Forster <octo at collectd.org>
Date:   Thu Jul 11 10:12:54 2013 +0200

    statsd plugin: Avoid calling snprintf() in the hot path.
    
    snprintf() is very expensive and the alternative is simple. This shaves
    off about 7% of the time spent handling events.

commit acc226d722bf3d4d06ff49f93f2bed27aec3aec6
Author: Florian Forster <octo at collectd.org>
Date:   Thu Jul 11 10:11:14 2013 +0200

    statsd plugin: Remove the prefix in the counter and gauge handlers.
    
    The prefix is added in statsd_metric_lookup_unsafe(), so we don't need
    to do this here anymore. Since snprintf() is expensive, this increases
    performance considerably.

commit d47470333fb0c467c46b675dba9ef54f1f1164b6
Author: Matt Blair <me at matthewblair.net>
Date:   Mon Jun 24 10:11:25 2013 -0700

    fix the build

commit 423cb2489520aaa15f0d77f2699aa0da74903c2f
Author: Florian Forster <octo at collectd.org>
Date:   Sat Jun 22 13:21:27 2013 +0200

    statsd plugin: Implement the "TimerPercentile" configuration option.

commit d53b119c992b580e7e11cf8d17480b91ab101111
Author: Florian Forster <octo at collectd.org>
Date:   Mon Jun 17 16:47:24 2013 +0200

    stats plugin: Add support for sets.

commit 802130c5bf0a9e240a3dd9a816b8af971030b88a
Author: Florian Forster <octo at collectd.org>
Date:   Mon Jun 17 15:15:55 2013 +0200

    statsd plugin: Allow several metrics with the same name but different types.
    
    This more closely mimicks Etsy's implementation.

commit 2dd0f9076e04a3d28793f8f45d098ea0a743ab3b
Author: Florian Forster <octo at collectd.org>
Date:   Mon Jun 17 14:47:45 2013 +0200

    statsd plugin: Implement the "Delete{Counters,Timers,Gauges}" options.

commit 7f28a5bc90ffb5f2c39edd3b7ce66fcf376638da
Author: Florian Forster <octo at collectd.org>
Date:   Mon Jun 17 13:54:09 2013 +0200

    statsd plugin: Add configuration for Host and Port.

commit cc4025b8c5561acb292e5fd025dfd4a2beb68165
Author: Florian Forster <octo at collectd.org>
Date:   Mon Jun 17 12:00:45 2013 +0200

    statsd plugin: Initial implementation.




More information about the collectd-changes mailing list