diff options
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/README.md | 2 | ||||
-rw-r--r-- | streaming/compression.c | 6 | ||||
-rw-r--r-- | streaming/rrdpush.h | 2 | ||||
-rw-r--r-- | streaming/stream.conf | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/streaming/README.md b/streaming/README.md index b10c4a5db4..25967ebce5 100644 --- a/streaming/README.md +++ b/streaming/README.md @@ -368,7 +368,7 @@ A compressed data packet is determined and decompressed on the fly. #### Limitations This limitation will be withdrawn asap and is work-in-progress. -The current implementation of streaming data compression can support only a few number of dimensions in a chart with names that cannot exceed the size of 16384 bytes. In case you experience stream connection problems or gaps in the charts please disable stream compresssion in the `stream.conf` file. This limitation can be seen in the error.log file with the sequence of the following messages: +The current implementation of streaming data compression can support only a few number of dimensions in a chart with names that cannot exceed the size of 16384 bytes. In case you experience stream connection problems or gaps in the charts please disable stream compression in the `stream.conf` file. This limitation can be seen in the error.log file with the sequence of the following messages: ``` Compression error - data discarded Message size above limit: diff --git a/streaming/compression.c b/streaming/compression.c index 93810aaed6..65351ed08a 100644 --- a/streaming/compression.c +++ b/streaming/compression.c @@ -56,7 +56,7 @@ static void lz4_compressor_destroy(struct compressor_state **state) /* * Compress the given block of data - * Comprecced data will remain in the internal buffer until the next invokation + * Comprecced data will remain in the internal buffer until the next invocation * Return the size of compressed data block as result and the pointer to internal buffer using the last argument * or 0 in case of error */ @@ -98,7 +98,7 @@ static size_t lz4_compressor_compress(struct compressor_state *state, const char } /* - * Create and initalize compressor state + * Create and initialize compressor state * Return the pointer to compressor_state structure created */ struct compressor_state *create_compressor() @@ -318,7 +318,7 @@ static size_t lz4_decompressor_get(struct decompressor_state *state, char *data, } /* - * Create and initalize decompressor state + * Create and initialize decompressor state * Return the pointer to decompressor_state structure created */ struct decompressor_state *create_decompressor() diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h index 937ead6faa..7eb2c6e580 100644 --- a/streaming/rrdpush.h +++ b/streaming/rrdpush.h @@ -62,7 +62,7 @@ struct decompressor_state { size_t total_compressed; size_t total_uncompressed; size_t packet_count; - struct decompressor_data *data; // Deompression API specific data + struct decompressor_data *data; // Decompression API specific data void (*reset)(struct decompressor_state *state); size_t (*start)(struct decompressor_state *state, const char *header, size_t header_size); size_t (*put)(struct decompressor_state *state, const char *data, size_t size); diff --git a/streaming/stream.conf b/streaming/stream.conf index 3c363fad69..e65e76fa40 100644 --- a/streaming/stream.conf +++ b/streaming/stream.conf @@ -60,7 +60,7 @@ # The API_KEY to use (as the sender) api key = - # Stream Compresssion + # Stream Compression # # The netdata child is configurated to enable stream compression by default. # You can control stream compression in this agent with options: yes | no @@ -162,7 +162,7 @@ #default proxy api key = API_KEY #default proxy send charts matching = * - # Stream Compresssion + # Stream Compression # # The stream with the child can be configurated to enable stream compression. # You can control stream compression in this parent agent stream with options: yes | no @@ -216,7 +216,7 @@ #proxy api key = API_KEY #proxy send charts matching = * - # Stream Compresssion + # Stream Compression # # The stream with the child can be configurated to enable stream compression. # You can control stream compression in this parent agent stream with options: yes | no |