From ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 20 Jul 2023 06:49:55 +0200 Subject: Adding upstream version 1.41.0. Signed-off-by: Daniel Baumann --- exporting/graphite/graphite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'exporting/graphite/graphite.c') diff --git a/exporting/graphite/graphite.c b/exporting/graphite/graphite.c index 3aff24926..254db982e 100644 --- a/exporting/graphite/graphite.c +++ b/exporting/graphite/graphite.c @@ -49,7 +49,7 @@ int init_graphite_instance(struct instance *instance) instance->buffer = (void *)buffer_create(0, &netdata_buffers_statistics.buffers_exporters); if (!instance->buffer) { - error("EXPORTING: cannot create buffer for graphite exporting connector instance %s", instance->config.name); + netdata_log_error("EXPORTING: cannot create buffer for graphite exporting connector instance %s", instance->config.name); return 1; } @@ -141,8 +141,8 @@ int format_dimension_collected_graphite_plaintext(struct instance *instance, RRD (host->tags) ? ";" : "", (host->tags) ? rrdhost_tags(host) : "", (instance->labels_buffer) ? buffer_tostring(instance->labels_buffer) : "", - rd->last_collected_value, - (unsigned long long)rd->last_collected_time.tv_sec); + rd->collector.last_collected_value, + (unsigned long long)rd->collector.last_collected_time.tv_sec); return 0; } -- cgit v1.2.3