author | Florian Forster <octo@collectd.org> | |
Sun, 3 Feb 2013 10:39:50 +0000 (11:39 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 3 Feb 2013 10:39:50 +0000 (11:39 +0100) |
1 | 2 | |||
---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | blob | history |
src/Makefile.am | patch | | diff1 | | diff2 | | blob | history |
src/postgresql.c | patch | | diff1 | | diff2 | | blob | history |
src/write_graphite.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc configure.in
Simple merge
diff --cc src/Makefile.am
index f31c176e009f924778e38a7008167216f44ddcdb,45fd9f93c0aeaee76aa17a8177316e3da2d68268..98c62faf5ce10681885029f01b00dc380e38b3a5
--- 1/src/Makefile.am
--- 2/src/Makefile.am
+++ b/src/Makefile.am
fi
pinba.pb-c.c pinba.pb-c.h: pinba.proto
- protoc-c --c_out . pinba.proto
+ protoc-c -I$(srcdir) --c_out . $(srcdir)/pinba.proto
+riemann.pb-c.c riemann.pb-c.h: riemann.proto
+ protoc-c --c_out . riemann.proto
+
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
if test -e $(DESTDIR)$(sysconfdir)/collectd.conf; \
diff --cc src/postgresql.c
Simple merge
diff --cc src/write_graphite.c
index 1d504100008e5ccebbad3e5dba3fa1d26f714d03,87befb6301e9bf35cc0593625d260fc313d110ff..949a8425178f700b952787f15bc0426f4f6d7299
+++ b/src/write_graphite.c
cb->prefix = NULL;
cb->postfix = NULL;
cb->escape_char = WG_DEFAULT_ESCAPE;
- cb->store_rates = 1;
+ cb->format_flags = GRAPHITE_STORE_RATES;
+ /* FIXME: Legacy configuration syntax. */
+ if (strcasecmp ("Carbon", ci->key) != 0)
+ {
+ int status = cf_util_get_string (ci, &cb->name);
+ if (status != 0)
+ {
+ wg_callback_free (cb);
+ return (status);
+ }
+ }
+
pthread_mutex_init (&cb->send_lock, /* attr = */ NULL);
+ C_COMPLAIN_INIT (&cb->init_complaint);
for (i = 0; i < ci->children_num; i++)
{