mirror of
https://github.com/netdata/netdata.git
synced 2025-04-25 05:31:37 +00:00
Spelling exporting (#10915)
This commit is contained in:
parent
24ce83460a
commit
d07f248e75
7 changed files with 12 additions and 12 deletions
exporting
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue