summaryrefslogtreecommitdiffstats
path: root/exporting/mongodb/mongodb.c
diff options
context:
space:
mode:
Diffstat (limited to 'exporting/mongodb/mongodb.c')
-rw-r--r--exporting/mongodb/mongodb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exporting/mongodb/mongodb.c b/exporting/mongodb/mongodb.c
index 850d07fb3..186a7dcfd 100644
--- a/exporting/mongodb/mongodb.c
+++ b/exporting/mongodb/mongodb.c
@@ -106,7 +106,7 @@ int init_mongodb_instance(struct instance *instance)
instance->prepare_header = NULL;
instance->check_response = NULL;
- instance->buffer = (void *)buffer_create(0);
+ instance->buffer = (void *)buffer_create(0, &netdata_buffers_statistics.buffers_exporters);
if (!instance->buffer) {
error("EXPORTING: cannot create buffer for MongoDB exporting connector instance %s", instance->config.name);
return 1;