summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2baa8ad)
raw | patch | inline | side by side (parent: 2baa8ad)
author | Florian Forster <octo@collectd.org> | |
Mon, 20 Feb 2012 16:20:47 +0000 (17:20 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 20 Feb 2012 16:24:46 +0000 (17:24 +0100) |
Change-Id: I814c45d035ce42de07815fecfe0b667080e2d900
src/collectd.conf.pod | patch | blob | history | |
src/write_graphite.c | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 6f79266a98b4ead38c5e39945a4854d67312ae3d..a3fe184f48317f06c5cec0f8b98939ec15651eb2 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
=item B<StoreRates> B<false>|B<true>
-If set to B<true>, convert counter values to rates. If set to B<false> (the
-default) counter values are stored as is, i.E<nbsp>e. as an increasing integer
+If set to B<true> (the default), convert counter values to rates. If set to
+B<false> counter values are stored as is, i.E<nbsp>e. as an increasing integer
number.
=item B<SeparateInstances> B<false>|B<true>
diff --git a/src/write_graphite.c b/src/write_graphite.c
index e59572b1ac1b65f9e3b2a3fa38e5ab48660bbbb7..d6583a75f04ebb63901649a6f6f763ae3a9aa473 100644 (file)
--- a/src/write_graphite.c
+++ b/src/write_graphite.c
cb->prefix = NULL;
cb->postfix = NULL;
cb->escape_char = WG_DEFAULT_ESCAPE;
+ cb->store_rates = 1;
pthread_mutex_init (&cb->send_lock, /* attr = */ NULL);