From d079b656b4719739b2247dcd9d46e9bec793095a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 Feb 2023 17:11:34 +0100 Subject: Merging upstream version 1.38.0. Signed-off-by: Daniel Baumann --- exporting/pubsub/README.md | 8 ++++++-- exporting/pubsub/pubsub.c | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'exporting/pubsub') diff --git a/exporting/pubsub/README.md b/exporting/pubsub/README.md index 2f9ac83d4..10252f167 100644 --- a/exporting/pubsub/README.md +++ b/exporting/pubsub/README.md @@ -1,8 +1,12 @@ # Export metrics to Google Cloud Pub/Sub Service diff --git a/exporting/pubsub/pubsub.c b/exporting/pubsub/pubsub.c index b218338f1..d65fc2c40 100644 --- a/exporting/pubsub/pubsub.c +++ b/exporting/pubsub/pubsub.c @@ -30,7 +30,7 @@ int init_pubsub_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 Pub/Sub exporting connector instance %s", instance->config.name); return 1; -- cgit v1.2.3