summaryrefslogtreecommitdiffstats
path: root/exporting
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2021-04-14 05:25:30 -0400
committerGitHub <noreply@github.com>2021-04-14 12:25:30 +0300
commitd07f248e7554f8c20e62ad8c65fbd8aaab67418f (patch)
tree213085a4cbc69ce396c8b23181f6cf433a323981 /exporting
parent24ce83460a70b854181c86bfab32d5a0badd480c (diff)
Spelling exporting (#10915)
Diffstat (limited to 'exporting')
-rw-r--r--exporting/aws_kinesis/aws_kinesis_put_record.cc4
-rw-r--r--exporting/exporting_engine.c2
-rw-r--r--exporting/graphite/graphite.c4
-rw-r--r--exporting/opentsdb/opentsdb.c4
-rw-r--r--exporting/prometheus/remote_write/remote_write.c2
-rw-r--r--exporting/pubsub/pubsub_publish.cc6
-rw-r--r--exporting/tests/netdata_doubles.c2
7 files changed, 12 insertions, 12 deletions
diff --git a/exporting/aws_kinesis/aws_kinesis_put_record.cc b/exporting/aws_kinesis/aws_kinesis_put_record.cc
index b20ec13736..62c6b03012 100644
--- a/exporting/aws_kinesis/aws_kinesis_put_record.cc
+++ b/exporting/aws_kinesis/aws_kinesis_put_record.cc
@@ -110,11 +110,11 @@ void kinesis_put_record(
}
/**
- * Get results from service responces
+ * Get results from service responses
*
* @param request_outcomes_p request outcome information.
* @param error_message report error message to a caller.
- * @param sent_bytes report to a caller how many bytes was successfuly sent.
+ * @param sent_bytes report to a caller how many bytes was successfully sent.
* @param lost_bytes report to a caller how many bytes was lost during transmission.
* @return Returns 0 if all data was sent successfully, 1 when data was lost on transmission
*/
diff --git a/exporting/exporting_engine.c b/exporting/exporting_engine.c
index 6a1320cd11..45de213a82 100644
--- a/exporting/exporting_engine.c
+++ b/exporting/exporting_engine.c
@@ -9,7 +9,7 @@ static struct engine *engine = NULL;
*
* Clean all variables allocated inside engine structure
*
- * @param en a pointer to the strcuture that will be cleaned.
+ * @param en a pointer to the structure that will be cleaned.
*/
static void exporting_clean_engine()
{
diff --git a/exporting/graphite/graphite.c b/exporting/graphite/graphite.c
index 9c09631f19..722db0fff2 100644
--- a/exporting/graphite/graphite.c
+++ b/exporting/graphite/graphite.c
@@ -64,7 +64,7 @@ int init_graphite_instance(struct instance *instance)
}
/**
- * Copy a label value and substitute underscores in place of charachters which can't be used in Graphite output
+ * Copy a label value and substitute underscores in place of characters which can't be used in Graphite output
*
* @param dst a destination string.
* @param src a source string.
@@ -205,7 +205,7 @@ int format_dimension_stored_graphite_plaintext(struct instance *instance, RRDDIM
}
/**
- * Ppepare HTTP header
+ * Prepare HTTP header
*
* @param instance an instance data structure.
* @return Returns 0 on success, 1 on failure.
diff --git a/exporting/opentsdb/opentsdb.c b/exporting/opentsdb/opentsdb.c
index d7b843dff9..1310c150e9 100644
--- a/exporting/opentsdb/opentsdb.c
+++ b/exporting/opentsdb/opentsdb.c
@@ -117,7 +117,7 @@ int init_opentsdb_http_instance(struct instance *instance)
}
/**
- * Copy a label value and substitute underscores in place of charachters which can't be used in OpenTSDB output
+ * Copy a label value and substitute underscores in place of characters which can't be used in OpenTSDB output
*
* @param dst a destination string.
* @param src a source string.
@@ -256,7 +256,7 @@ int format_dimension_stored_opentsdb_telnet(struct instance *instance, RRDDIM *r
}
/**
- * Ppepare HTTP header
+ * Prepare HTTP header
*
* @param instance an instance data structure.
* @return Returns 0 on success, 1 on failure.
diff --git a/exporting/prometheus/remote_write/remote_write.c b/exporting/prometheus/remote_write/remote_write.c
index 30bd05ad74..f844e3e498 100644
--- a/exporting/prometheus/remote_write/remote_write.c
+++ b/exporting/prometheus/remote_write/remote_write.c
@@ -36,7 +36,7 @@ void prometheus_remote_write_prepare_header(struct instance *instance)
}
/**
- * Process a responce received after Prometheus remote write connector had sent data
+ * Process a response received after Prometheus remote write connector had sent data
*
* @param buffer a response from a remote service.
* @param instance an instance data structure.
diff --git a/exporting/pubsub/pubsub_publish.cc b/exporting/pubsub/pubsub_publish.cc
index dc237cf22f..6122dddba2 100644
--- a/exporting/pubsub/pubsub_publish.cc
+++ b/exporting/pubsub/pubsub_publish.cc
@@ -178,12 +178,12 @@ int pubsub_publish(void *pubsub_specific_data_p, char *error_message, size_t buf
}
/**
- * Get results from service responces
+ * Get results from service responses
*
* @param pubsub_specific_data_p a pointer to a structure with instance-wide data.
* @param error_message report error message to a caller.
- * @param sent_metrics report to a caller how many metrics was successfuly sent.
- * @param sent_bytes report to a caller how many bytes was successfuly sent.
+ * @param sent_metrics report to a caller how many metrics was successfully sent.
+ * @param sent_bytes report to a caller how many bytes was successfully sent.
* @param lost_metrics report to a caller how many metrics was lost during transmission.
* @param lost_bytes report to a caller how many bytes was lost during transmission.
* @return Returns 0 if all data was sent successfully, 1 when data was lost on transmission.
diff --git a/exporting/tests/netdata_doubles.c b/exporting/tests/netdata_doubles.c
index f4da7769f6..a9a1843367 100644
--- a/exporting/tests/netdata_doubles.c
+++ b/exporting/tests/netdata_doubles.c
@@ -2,7 +2,7 @@
#include "test_exporting_engine.h"
-// Use memomy allocation functions guarded by CMocka in strdupz
+// Use memory allocation functions guarded by CMocka in strdupz
const char *__wrap_strdupz(const char *s)
{
char *duplicate = malloc(sizeof(char) * (strlen(s) + 1));