diff options
Diffstat (limited to 'exporting/pubsub')
-rw-r--r-- | exporting/pubsub/README.md | 9 | ||||
-rw-r--r-- | exporting/pubsub/pubsub_publish.cc | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/exporting/pubsub/README.md b/exporting/pubsub/README.md index 6da14c44..73b6a203 100644 --- a/exporting/pubsub/README.md +++ b/exporting/pubsub/README.md @@ -10,17 +10,10 @@ sidebar_label: Google Cloud Pub/Sub Service ## Prerequisites To use the Pub/Sub service for metric collecting and processing, you should first -[install](https://github.com/googleapis/cpp-cmakefiles) Google Cloud Platform C++ Proto Libraries. +[install](https://github.com/googleapis/google-cloud-cpp/) Google Cloud Platform C++ Client Libraries. Pub/Sub support is also dependent on the dependencies of those libraries, like `protobuf`, `protoc`, and `grpc`. Next, Netdata should be re-installed from the source. The installer will detect that the required libraries are now available. -> You [cannot compile Netdata](https://github.com/netdata/netdata/issues/10193) with Pub/Sub support enabled using -> `grpc` 1.32 or higher. -> -> Some distributions don't have `.cmake` files in packages. To build the C++ Proto Libraries on such distributions we -> advise you to delete `protobuf`, `protoc`, and `grpc` related packages and -> [install](https://github.com/grpc/grpc/blob/master/BUILDING.md) `grpc` with its dependencies from source. - ## Configuration To enable data sending to the Pub/Sub service, run `./edit-config exporting.conf` in the Netdata configuration directory diff --git a/exporting/pubsub/pubsub_publish.cc b/exporting/pubsub/pubsub_publish.cc index 6122dddb..cc14154f 100644 --- a/exporting/pubsub/pubsub_publish.cc +++ b/exporting/pubsub/pubsub_publish.cc @@ -194,7 +194,7 @@ int pubsub_get_result( { struct pubsub_specific_data *connector_specific_data = (struct pubsub_specific_data *)pubsub_specific_data_p; std::list<struct response> *responses = (std::list<struct response> *)connector_specific_data->responses; - grpc_impl::CompletionQueue::NextStatus next_status; + grpc::CompletionQueue::NextStatus next_status; *sent_metrics = 0; *sent_bytes = 0; |