Code

statsd plugin: Remove the prefix in the counter and gauge handlers.
authorFlorian Forster <octo@collectd.org>
Thu, 11 Jul 2013 08:11:14 +0000 (10:11 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 11 Jul 2013 08:11:14 +0000 (10:11 +0200)
commitacc226d722bf3d4d06ff49f93f2bed27aec3aec6
treee40f50c8ddf8bbcfe5f5232286e0720dc324821b
parentd47470333fb0c467c46b675dba9ef54f1f1164b6
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.
src/statsd.c