diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-09-21 10:53:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 10:53:05 +0300 |
commit | a8c4f9f2a9e1f833ac346bd492cb447e97f4856e (patch) | |
tree | 161cf5247de4b8dae89c433db036fa9d02698676 /exporting | |
parent | e1fafcc4b1a67a4a7f4cc639c87544a65c33887b (diff) |
Fix build for the AWS Kinesis exporting connector (#9823)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Diffstat (limited to 'exporting')
-rw-r--r-- | exporting/aws_kinesis/README.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/exporting/aws_kinesis/README.md b/exporting/aws_kinesis/README.md index 538ff34266..299fec5817 100644 --- a/exporting/aws_kinesis/README.md +++ b/exporting/aws_kinesis/README.md @@ -10,20 +10,23 @@ sidebar_label: AWS Kinesis Data Streams ## Prerequisites To use AWS Kinesis for metric collecting and processing, you should first -[install](https://docs.aws.amazon.com/en_us/sdk-for-cpp/v1/developer-guide/setup.html) AWS SDK for C++. Netdata -works with the SDK version 1.7.121. Other versions might work correctly as well, but they were not tested with Netdata. +[install](https://docs.aws.amazon.com/en_us/sdk-for-cpp/v1/developer-guide/setup.html) AWS SDK for C++. `libcrypto`, `libssl`, and `libcurl` are also required to compile Netdata with Kinesis support enabled. Next, Netdata should be re-installed from the source. The installer will detect that the required libraries are now available. -If the AWS SDK for C++ is being installed from source, it is useful to set `-DBUILD_ONLY="kinesis"`. Otherwise, the -building process could take a very long time. Note that the default installation path for the libraries is +If the AWS SDK for C++ is being installed from source, it is useful to set `-DBUILD_ONLY=kinesis`. Otherwise, the +build process could take a very long time. Note, that the default installation path for the libraries is `/usr/local/lib64`. Many Linux distributions don't include this path as the default one for a library search, so it is advisable to use the following options to `cmake` while building the AWS SDK: ```sh -cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DBUILD_SHARED_LIBS=OFF -DBUILD_ONLY=kinesis <aws-sdk-cpp sources> +sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_ONLY=kinesis <aws-sdk-cpp sources> ``` +The `-DCMAKE_INSTALL_PREFIX=/usr` option also ensures that +[third party dependencies](https://github.com/aws/aws-sdk-cpp#third-party-dependencies) are installed in your system +during the SDK build process. + ## Configuration To enable data sending to the Kinesis service, run `./edit-config exporting.conf` in the Netdata configuration directory |