@cryptotaxi247 / netdata-1 / commits / acca8c24f

Fix typos (#11782)

Co-authored-by: ilyam8 <ilya@netdata.cloud>

Dimitris Apostolou committed Nov 16, 2021 at 09:18 UTC acca8c24f229da0ff0238921ebc4b30ddc7125ea
71 files changed +128 -128
.github/scripts/check-updater.sh
+3 -3
@@ -4,20 +4,20 @@ set -e
4 # shellcheck source=.github/scripts/functions.sh
5 . "$(dirname "$0")/functions.sh"
6
7 -check_successfull_update() {
7 +check_successful_update() {
8 progress "Check netdata version after update"
9 (
10 netdata_version=$(netdata -v | awk '{print $2}')
11 updater_version=$(cat packaging/version)
12 if [ "$netdata_version" = "$updater_version" ]; then
13 - echo "Update successfull!"
13 + echo "Update successful!"
14 else
15 exit 1
16 fi
17 ) >&2
18 }
19
20 -steps="check_successfull_update"
20 +steps="check_successful_update"
21
22 _main() {
23 for step in $steps; do
aclk/aclk.c
+1 -1
@@ -505,7 +505,7 @@ static unsigned long aclk_reconnect_delay() {
505 return aclk_tbeb_delay(0, aclk_env->backoff.base, aclk_env->backoff.min_s, aclk_env->backoff.max_s);
506 }
507
508 -/* Block till aclk_reconnect_delay is satisifed or netdata_exit is signalled
508 +/* Block till aclk_reconnect_delay is satisfied or netdata_exit is signalled
509 * @return 0 - Go ahead and connect (delay expired)
510 * 1 - netdata_exit
511 */
aclk/aclk.h
+1 -1
@@ -25,7 +25,7 @@ extern struct aclk_shared_state {
25 time_t last_popcorn_interrupt;
26
27 // To wait for `disconnect` message PUBACK
28 - // when shuting down
28 + // when shutting down
29 // at the same time if > 0 we know link is
30 // shutting down
31 int mqtt_shutdown_msg_id;
aclk/aclk_collector_list.c
+1 -1
@@ -1,5 +1,5 @@
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 -// This is copied from Legacy ACLK, Original Autor: amoss
2 +// This is copied from Legacy ACLK, Original Author: amoss
3
4 // TODO unmess this
5
aclk/aclk_collector_list.h
+1 -1
@@ -1,5 +1,5 @@
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 -// This is copied from Legacy ACLK, Original Autor: amoss
2 +// This is copied from Legacy ACLK, Original Author: amoss
3
4 // TODO unmess this
5
aclk/aclk_otp.c
+3 -3
@@ -209,7 +209,7 @@ static int parse_passwd_response(const char *json_str, struct auth_data *auth) {
209
210 json = json_tokener_parse(json_str);
211 if (!json) {
212 - error("JSON-C failed to parse the payload of http respons of /env endpoint");
212 + error("JSON-C failed to parse the payload of http response of /env endpoint");
213 return 1;
214 }
215
@@ -359,7 +359,7 @@ static int aclk_parse_otp_error(const char *json_str) {
359
360 json = json_tokener_parse(json_str);
361 if (!json) {
362 - error("JSON-C failed to parse the payload of http respons of /env endpoint");
362 + error("JSON-C failed to parse the payload of http response of /env endpoint");
363 return 1;
364 }
365
@@ -730,7 +730,7 @@ static int parse_json_env(const char *json_str, aclk_env_t *env) {
730
731 json = json_tokener_parse(json_str);
732 if (!json) {
733 - error("JSON-C failed to parse the payload of http respons of /env endpoint");
733 + error("JSON-C failed to parse the payload of http response of /env endpoint");
734 return 1;
735 }
736
aclk/aclk_tx_msgs.c
+2 -2
@@ -20,7 +20,7 @@ static void aclk_send_message_subtopic(mqtt_wss_client client, json_object *msg,
20 const char *topic = aclk_get_topic(subtopic);
21
22 if (unlikely(!topic)) {
23 - error("Couldn't get topic. Aborting mesage send");
23 + error("Couldn't get topic. Aborting message send");
24 return;
25 }
26
@@ -74,7 +74,7 @@ static uint16_t aclk_send_message_subtopic_pid(mqtt_wss_client client, json_obje
74 const char *topic = aclk_get_topic(subtopic);
75
76 if (unlikely(!topic)) {
77 - error("Couldn't get topic. Aborting mesage send");
77 + error("Couldn't get topic. Aborting message send");
78 return 0;
79 }
80
aclk/https_client.c
+1 -1
@@ -606,7 +606,7 @@ static int parse_host_port(url_t *url) {
606 error(URL_PARSER_LOG_PREFIX ": specified but no port number");
607 return 1;
608 }
609 - if (port_len > 5 /* MAX port lenght is 5digit long in decimal */) {
609 + if (port_len > 5 /* MAX port length is 5digit long in decimal */) {
610 error(URL_PARSER_LOG_PREFIX "port # is too long");
611 return 1;
612 }
aclk/legacy/aclk_common.h
+1 -1
@@ -34,7 +34,7 @@ extern netdata_mutex_t legacy_aclk_shared_state_mutex;
34 #define ACLK_IS_HOST_POPCORNING(host) (ACLK_IS_HOST_INITIALIZING(host) && host->aclk_state.t_last_popcorn_update)
35
36 extern struct legacy_aclk_shared_state {
37 - // optimization to avoid looping trough hosts
37 + // optimization to avoid looping through hosts
38 // every time Query Thread wakes up
39 RRDHOST *next_popcorn_host;
40
aclk/legacy/aclk_lws_wss_client.h
+1 -1
@@ -58,7 +58,7 @@ struct aclk_lws_wss_engine_instance {
58 struct lws_wss_packet_buffer *write_buffer_head;
59 struct lws_ring *read_ringbuffer;
60
61 - //flags to be readed by engine user
61 + //flags to be read by engine user
62 int websocket_connection_up;
63
64 // currently this is by default disabled
aclk/legacy/agent_cloud_link.c
+1 -1
@@ -222,7 +222,7 @@ char *get_topic(char *sub_topic, char *final_topic, int max_size)
222 return final_topic;
223 }
224
225 -/* Avoids the need to scan trough all RRDHOSTS
225 +/* Avoids the need to scan through all RRDHOSTS
226 * every time any Query Thread Wakes Up
227 * (every time we need to check child popcorn expiry)
228 * call with legacy_aclk_shared_state_LOCK held
collectors/apps.plugin/apps_plugin.c
+1 -1
@@ -3355,7 +3355,7 @@ static void normalize_utilization(struct target *root) {
3355 cgtime_fix_ratio = 1.0; //(double)(global_utime + global_stime) / (double)(utime + cutime + stime + cstime);
3356 }
3357 else if((global_utime + global_stime > utime + stime) && (cutime || cstime)) {
3358 - // childrens resources are too high
3358 + // children resources are too high
3359 // lower only the children resources
3360 utime_fix_ratio =
3361 stime_fix_ratio =
collectors/cgroups.plugin/sys_fs_cgroup.c
+1 -1
@@ -4203,7 +4203,7 @@ void *cgroups_main(void *ptr) {
4203
4204 int error = uv_thread_create(&discovery_thread.thread, cgroup_discovery_worker, NULL);
4205 if (error) {
4206 - error("CGROUP: cannot create tread worker. uv_thread_create(): %s", uv_strerror(error));
4206 + error("CGROUP: cannot create thread worker. uv_thread_create(): %s", uv_strerror(error));
4207 goto exit;
4208 }
4209 uv_thread_set_name_np(discovery_thread.thread, "PLUGIN[cgroups]");
collectors/charts.d.plugin/ap/ap.chart.sh
+1 -1
@@ -92,7 +92,7 @@ EOF
92 # _update is called continuously, to collect the values
93 ap_update() {
94 # the first argument to this function is the microseconds since last update
95 - # pass this parameter to the BEGIN statement (see bellow).
95 + # pass this parameter to the BEGIN statement (see below).
96
97 # do all the work to collect / calculate the values
98 # for each dimension
collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
+1 -1
@@ -118,7 +118,7 @@ EOF
118
119 apcupsd_update() {
120 # the first argument to this function is the microseconds since last update
121 - # pass this parameter to the BEGIN statement (see bellow).
121 + # pass this parameter to the BEGIN statement (see below).
122
123 # do all the work to collect / calculate the values
124 # for each dimension
collectors/charts.d.plugin/example/example.chart.sh
+1 -1
@@ -103,7 +103,7 @@ EOF
103 # _update is called continuously, to collect the values
104 example_update() {
105 # the first argument to this function is the microseconds since last update
106 - # pass this parameter to the BEGIN statement (see bellow).
106 + # pass this parameter to the BEGIN statement (see below).
107
108 example_get || return 1
109
collectors/charts.d.plugin/libreswan/libreswan.chart.sh
+1 -1
@@ -173,7 +173,7 @@ VALUESEOF
173 # _update is called continuously, to collect the values
174 libreswan_update() {
175 # the first argument to this function is the microseconds since last update
176 - # pass this parameter to the BEGIN statement (see bellow).
176 + # pass this parameter to the BEGIN statement (see below).
177
178 libreswan_get || return 1
179 libreswan_now=$(date +%s)
collectors/charts.d.plugin/nut/nut.chart.sh
+1 -1
@@ -129,7 +129,7 @@ EOF2
129
130 nut_update() {
131 # the first argument to this function is the microseconds since last update
132 - # pass this parameter to the BEGIN statement (see bellow).
132 + # pass this parameter to the BEGIN statement (see below).
133
134 # do all the work to collect / calculate the values
135 # for each dimension
collectors/charts.d.plugin/opensips/opensips.chart.sh
+2 -2
@@ -147,7 +147,7 @@ EOF
147
148 opensips_update() {
149 # the first argument to this function is the microseconds since last update
150 - # pass this parameter to the BEGIN statement (see bellow).
150 + # pass this parameter to the BEGIN statement (see below).
151
152 # do all the work to collect / calculate the values
153 # for each dimension
@@ -158,7 +158,7 @@ opensips_update() {
158 # local opensips_client_http_ then one or more of these a-z 0-9 _ then = and one of more of 0-9
159 # local opensips_server_all_ then one or more of these a-z 0-9 _ then = and one of more of 0-9
160 # 4. then execute this as a script with the eval
161 - # be very carefull with eval:
161 + # be very careful with eval:
162 # prepare the script and always grep at the end the lines that are useful, so that
163 # even if something goes wrong, no other code can be executed
164
collectors/charts.d.plugin/sensors/sensors.chart.sh
+1 -1
@@ -237,7 +237,7 @@ sensors_create() {
237 # _update is called continuously, to collect the values
238 sensors_update() {
239 # the first argument to this function is the microseconds since last update
240 - # pass this parameter to the BEGIN statement (see bellow).
240 + # pass this parameter to the BEGIN statement (see below).
241
242 # do all the work to collect / calculate the values
243 # for each dimension
collectors/ebpf.plugin/README.md
+3 -3
@@ -357,7 +357,7 @@ following functions:
357 single write operation using a group of buffers rather than 1).
358 - `vfs_read`: Function used for monitoring the number of successful & failed
359 filesystem read calls, as well as the total number of read bytes.
360 -- `vfs_readv` Same function as `vfs_read` but for vector reads (i.e. a singe
360 +- `vfs_readv` Same function as `vfs_read` but for vector reads (i.e. a single
361 read operation using a group of buffers rather than 1).
362 - `vfs_unlink`: Function used for monitoring the number of successful & failed
363 filesystem unlink calls.
@@ -589,8 +589,8 @@ Linux metrics:
589 - Number of pages brought from disk. (`cachestat_misses`)
590 - directory cache
591 - Ratio of files available in directory cache. (`dc_hit_ratio`)
592 - - Number of files acessed. (`dc_reference`)
593 - - Number of files acessed that were not in cache. (`dc_not_cache`)
592 + - Number of files accessed. (`dc_reference`)
593 + - Number of files accessed that were not in cache. (`dc_not_cache`)
594 - Number of files not found. (`dc_not_found`)
595 - ipc shm
596 - Number of calls to `shm_get`. (`shmget_call`)
collectors/ebpf.plugin/ebpf.c
+4 -4
@@ -355,7 +355,7 @@ void write_chart_dimension(char *dim, long long value)
355 * @param move the pointer with the values that will be published
356 * @param end the number of values that will be written on standard output
357 *
358 - * @return It returns a variable tha maps the charts that did not have zero values.
358 + * @return It returns a variable that maps the charts that did not have zero values.
359 */
360 void write_count_chart(char *name, char *family, netdata_publish_syscall_t *move, uint32_t end)
361 {
@@ -424,7 +424,7 @@ void ebpf_one_dimension_write_charts(char *family, char *chart, char *dim, long
424 * @param dread the dimension name
425 * @param vread the value for previous dimension
426 *
427 - * @return It returns a variable tha maps the charts that did not have zero values.
427 + * @return It returns a variable that maps the charts that did not have zero values.
428 */
429 void write_io_chart(char *chart, char *family, char *dwrite, long long vwrite, char *dread, long long vread)
430 {
@@ -599,7 +599,7 @@ void ebpf_create_charts_on_apps(char *id, char *title, char *units, char *family
599 * @param dimensions dimension values.
600 * @param end number of bins that will be sent to Netdata.
601 *
602 - * @return It returns a variable tha maps the charts that did not have zero values.
602 + * @return It returns a variable that maps the charts that did not have zero values.
603 */
604 void write_histogram_chart(char *family, char *name, const netdata_idx_t *hist, char **dimensions, uint32_t end)
605 {
@@ -917,7 +917,7 @@ uint32_t ebpf_enable_tracepoints(ebpf_tracepoint_t *tps)
917
918 /*****************************************************************
919 *
920 - * AUXILIAR FUNCTIONS USED DURING INITIALIZATION
920 + * AUXILIARY FUNCTIONS USED DURING INITIALIZATION
921 *
922 *****************************************************************/
923
collectors/ebpf.plugin/ebpf_apps.c
+3 -3
@@ -116,9 +116,9 @@ int am_i_running_as_root()
116 /**
117 * Reset the target values
118 *
119 - * @param root the pointer to the chain that will be reseted.
119 + * @param root the pointer to the chain that will be reset.
120 *
121 - * @return it returns the number of structures that was reseted.
121 + * @return it returns the number of structures that was reset.
122 */
123 size_t zero_all_targets(struct target *root)
124 {
@@ -949,7 +949,7 @@ void cleanup_variables_from_other_threads(uint32_t pid)
949 socket_bandwidth_curr[pid] = NULL;
950 }
951
952 - // Clean cachestat strcture
952 + // Clean cachestat structure
953 if (cachestat_pid) {
954 freez(cachestat_pid[pid]);
955 cachestat_pid[pid] = NULL;
collectors/ebpf.plugin/ebpf_cachestat.c
+3 -3
@@ -111,7 +111,7 @@ static void ebpf_cachestat_cleanup(void *ptr)
111 *
112 * Update publish values before to write dimension.
113 *
114 - * @param out strcuture that will receive data.
114 + * @param out structure that will receive data.
115 * @param mpa calls for mark_page_accessed during the last second.
116 * @param mbd calls for mark_buffer_dirty during the last second.
117 * @param apcl calls for add_to_page_cache_lru during the last second.
@@ -481,7 +481,7 @@ void ebpf_cachestat_sum_pids(netdata_publish_cachestat_t *publish, struct pid_on
481 }
482
483 /**
484 - * Send data to Netdata calling auxiliar functions.
484 + * Send data to Netdata calling auxiliary functions.
485 *
486 * @param root the target list.
487 */
@@ -784,7 +784,7 @@ static void ebpf_obsolete_specific_cachestat_charts(char *type, int update_every
784 }
785
786 /**
787 - * Send data to Netdata calling auxiliar functions.
787 + * Send data to Netdata calling auxiliary functions.
788 *
789 * @param update_every value to overwrite the update frequency set by the server.
790 */
collectors/ebpf.plugin/ebpf_dcstat.c
+3 -3
@@ -60,7 +60,7 @@ static ebpf_specify_name_t dc_optional_name[] = { {.program_name = "netdata_look
60 *
61 * Update publish values before to write dimension.
62 *
63 - * @param out strcuture that will receive data.
63 + * @param out structure that will receive data.
64 * @param cache_access number of access to directory cache.
65 * @param not_found number of files not found on the file system
66 */
@@ -404,7 +404,7 @@ void ebpf_dcstat_sum_pids(netdata_publish_dcstat_t *publish, struct pid_on_targe
404 }
405
406 /**
407 - * Send data to Netdata calling auxiliar functions.
407 + * Send data to Netdata calling auxiliary functions.
408 *
409 * @param root the target list.
410 */
@@ -782,7 +782,7 @@ static void ebpf_send_specific_dc_data(char *type, netdata_publish_dcstat_t *pdc
782 }
783
784 /**
785 - * Send data to Netdata calling auxiliar functions.
785 + * Send data to Netdata calling auxiliary functions.
786 *
787 * @param update_every value to overwrite the update frequency set by the server.
788 */
collectors/ebpf.plugin/ebpf_fd.c
+3 -3
@@ -103,7 +103,7 @@ static void ebpf_fd_cleanup(void *ptr)
103 *****************************************************************/
104
105 /**
106 - * Send data to Netdata calling auxiliar functions.
106 + * Send data to Netdata calling auxiliary functions.
107 *
108 * @param em the structure with thread information
109 */
@@ -320,7 +320,7 @@ static void ebpf_fd_sum_pids(netdata_fd_stat_t *fd, struct pid_on_target *root)
320 }
321
322 /**
323 - * Send data to Netdata calling auxiliar functions.
323 + * Send data to Netdata calling auxiliary functions.
324 *
325 * @param em the structure with thread information
326 * @param root the target list.
@@ -609,7 +609,7 @@ static int ebpf_send_systemd_fd_charts(ebpf_module_t *em)
609 }
610
611 /**
612 - * Send data to Netdata calling auxiliar functions.
612 + * Send data to Netdata calling auxiliary functions.
613 *
614 * @param em the main collector structure
615 */
collectors/ebpf.plugin/ebpf_mount.c
+1 -1
@@ -124,7 +124,7 @@ void *ebpf_mount_read_hash(void *ptr)
124 }
125
126 /**
127 - * Send data to Netdata calling auxiliar functions.
127 + * Send data to Netdata calling auxiliary functions.
128 */
129 static void ebpf_mount_send_data()
130 {
collectors/ebpf.plugin/ebpf_oomkill.c
+1 -1
@@ -199,7 +199,7 @@ static void ebpf_obsolete_specific_oomkill_charts(char *type, int update_every)
199 }
200
201 /**
202 - * Send data to Netdata calling auxiliar functions.
202 + * Send data to Netdata calling auxiliary functions.
203 *
204 * @param update_every value to overwrite the update frequency set by the server.
205 */
collectors/ebpf.plugin/ebpf_process.c
+3 -3
@@ -114,7 +114,7 @@ static void write_status_chart(char *family, netdata_publish_vfs_common_t *pvc)
114 }
115
116 /**
117 - * Send data to Netdata calling auxiliar functions.
117 + * Send data to Netdata calling auxiliary functions.
118 *
119 * @param em the structure with thread information
120 */
@@ -185,7 +185,7 @@ void ebpf_process_remove_pids()
185 }
186
187 /**
188 - * Send data to Netdata calling auxiliar functions.
188 + * Send data to Netdata calling auxiliary functions.
189 *
190 * @param root the target list.
191 */
@@ -848,7 +848,7 @@ static int ebpf_send_systemd_process_charts(ebpf_module_t *em)
848 }
849
850 /**
851 - * Send data to Netdata calling auxiliar functions.
851 + * Send data to Netdata calling auxiliary functions.
852 *
853 * @param em the structure with thread information
854 */
collectors/ebpf.plugin/ebpf_shm.c
+2 -2
@@ -309,7 +309,7 @@ static void ebpf_shm_sum_pids(netdata_publish_shm_t *shm, struct pid_on_target *
309 }
310
311 /**
312 - * Send data to Netdata calling auxiliar functions.
312 + * Send data to Netdata calling auxiliary functions.
313 *
314 * @param root the target list.
315 */
@@ -599,7 +599,7 @@ static void ebpf_send_specific_shm_data(char *type, netdata_publish_shm_t *value
599 }
600
601 /**
602 - * Send data to Netdata calling auxiliar functions.
602 + * Send data to Netdata calling auxiliary functions.
603 *
604 * @param update_every value to overwrite the update frequency set by the server.
605 */
collectors/ebpf.plugin/ebpf_socket.c
+4 -4
@@ -294,7 +294,7 @@ static void ebpf_socket_send_nv_data(netdata_vector_plot_t *ptr)
294 }
295
296 /**
297 - * Send data to Netdata calling auxiliar functions.
297 + * Send data to Netdata calling auxiliary functions.
298 *
299 * @param em the structure with thread information
300 */
@@ -304,7 +304,7 @@ static void ebpf_socket_send_data(ebpf_module_t *em)
304 netdata_publish_vfs_common_t common_udp;
305 ebpf_update_global_publish(socket_publish_aggregated, &common_tcp, &common_udp, socket_aggregated_data);
306
307 - // We read bytes from function arguments, but bandiwdth is given in bits,
307 + // We read bytes from function arguments, but bandwidth is given in bits,
308 // so we need to multiply by 8 to convert for the final value.
309 write_count_chart(NETDATA_TCP_FUNCTION_COUNT, NETDATA_EBPF_IP_FAMILY, socket_publish_aggregated, 3);
310 write_io_chart(NETDATA_TCP_FUNCTION_BITS, NETDATA_EBPF_IP_FAMILY, socket_id_names[0],
@@ -353,7 +353,7 @@ long long ebpf_socket_sum_values_for_pids(struct pid_on_target *root, size_t off
353 }
354
355 /**
356 - * Send data to Netdata calling auxiliar functions.
356 + * Send data to Netdata calling auxiliary functions.
357 *
358 * @param em the structure with thread information
359 * @param root the target list.
@@ -2047,7 +2047,7 @@ void ebpf_socket_update_cgroup_algorithm()
2047 }
2048
2049 /**
2050 - * Send data to Netdata calling auxiliar functions.
2050 + * Send data to Netdata calling auxiliary functions.
2051 *
2052 * @param update_every value to overwrite the update frequency set by the server.
2053 */
collectors/ebpf.plugin/ebpf_swap.c
+2 -2
@@ -299,7 +299,7 @@ static void ebpf_swap_sum_pids(netdata_publish_swap_t *swap, struct pid_on_targe
299 }
300
301 /**
302 - * Send data to Netdata calling auxiliar functions.
302 + * Send data to Netdata calling auxiliary functions.
303 *
304 * @param root the target list.
305 */
@@ -480,7 +480,7 @@ static void ebpf_create_systemd_swap_charts(int update_every)
480 }
481
482 /**
483 - * Send data to Netdata calling auxiliar functions.
483 + * Send data to Netdata calling auxiliary functions.
484 *
485 * @param update_every value to overwrite the update frequency set by the server.
486 */
collectors/ebpf.plugin/ebpf_vfs.c
+3 -3
@@ -103,7 +103,7 @@ static void ebpf_vfs_cleanup(void *ptr)
103 *****************************************************************/
104
105 /**
106 - * Send data to Netdata calling auxiliar functions.
106 + * Send data to Netdata calling auxiliary functions.
107 *
108 * @param em the structure with thread information
109 */
@@ -270,7 +270,7 @@ static void ebpf_vfs_sum_pids(netdata_publish_vfs_t *vfs, struct pid_on_target *
270 }
271
272 /**
273 - * Send data to Netdata calling auxiliar functions.
273 + * Send data to Netdata calling auxiliary functions.
274 *
275 * @param em the structure with thread information
276 * @param root the target list.
@@ -1122,7 +1122,7 @@ static int ebpf_send_systemd_vfs_charts(ebpf_module_t *em)
1122 }
1123
1124 /**
1125 - * Send data to Netdata calling auxiliar functions.
1125 + * Send data to Netdata calling auxiliary functions.
1126 *
1127 * @param em the main collector structure
1128 */
collectors/node.d.plugin/named/named.node.js
+2 -2
@@ -233,7 +233,7 @@ var named = {
233 x = keys[len];
234
235 // we maintain an index of the values found
236 - // mapping them to objects splitted
236 + // mapping them to objects split
237
238 look = named.lookups.nsstats[x];
239 if(typeof look === 'undefined') {
@@ -418,7 +418,7 @@ var named = {
418 var y = ykeys[ylen];
419
420 // we maintain an index of the values found
421 - // mapping them to objects splitted
421 + // mapping them to objects split
422
423 look = named.lookups.resolver_stats[y];
424 if(typeof look === 'undefined') {
collectors/proc.plugin/README.md
+1 -1
@@ -553,7 +553,7 @@ Each port will have its counters metrics monitored, grouped in the following cha
553
554 - **Errors Statistics**
555 Many errors counters are provided, presenting statistics for:
556 - - Packets: malformated, sent/received discarded by card/switch, missing ressource
556 + - Packets: malformed, sent/received discarded by card/switch, missing resource
557 - Link: downed, recovered, integrity error, minor error
558 - Other events: Tick Wait to send, buffer overrun
559
collectors/proc.plugin/proc_net_dev.c
+1 -1
@@ -979,7 +979,7 @@ int do_proc_net_dev(int update_every, usec_t dt) {
979 , NULL
980 , d->chart_family
981 , "net.carrier"
982 - , "Inteface Physical Link State"
982 + , "Interface Physical Link State"
983 , "state"
984 , PLUGIN_PROC_NAME
985 , PLUGIN_PROC_MODULE_NETDEV_NAME
collectors/proc.plugin/proc_pagetypeinfo.c
+1 -1
@@ -139,7 +139,7 @@ int do_proc_pagetypeinfo(int update_every, usec_t dt) {
139 return 1;
140 }
141
142 - // 4th line is the "Free pages count per migrate type at order". Just substract these 8 words.
142 + // 4th line is the "Free pages count per migrate type at order". Just subtract these 8 words.
143 pageorders_cnt = procfile_linewords(ff, 3);
144 if (pageorders_cnt < 9) {
145 error("PLUGIN: PROC_PAGETYPEINFO: Unable to parse Line 4 of %s", ff_path);
collectors/proc.plugin/sys_class_infiniband.c
+1 -1
@@ -37,7 +37,7 @@
37 GEN(port_rcv_constraint_errors, errors, "Pkts rcvd discarded ", 1, __VA_ARGS__) \
38 GEN(port_xmit_discards, errors, "Pkts sent discarded", 1, __VA_ARGS__) \
39 GEN(port_xmit_wait, errors, "Tick Wait to send", 1, __VA_ARGS__) \
40 - GEN(VL15_dropped, errors, "Pkts missed ressource", 1, __VA_ARGS__) \
40 + GEN(VL15_dropped, errors, "Pkts missed resource", 1, __VA_ARGS__) \
41 GEN(excessive_buffer_overrun_errors, errors, "Buffer overrun", 1, __VA_ARGS__) \
42 GEN(link_downed, errors, "Link Downed", 1, __VA_ARGS__) \
43 GEN(link_error_recovery, errors, "Link recovered", 1, __VA_ARGS__) \
collectors/python.d.plugin/anomalies/anomalies.chart.py
+2 -2
@@ -188,7 +188,7 @@ class Service(SimpleService):
188 self.custom_model_scalers[model] = MinMaxScaler()
189
190 def reinitialize(self):
191 - """Reinitialize charts, models and data to a begining state.
191 + """Reinitialize charts, models and data to a beginning state.
192 """
193 self.charts_init()
194 self.custom_models_init()
@@ -385,7 +385,7 @@ class Service(SimpleService):
385
386 def get_data(self):
387
388 - # initialize to whats available right now
388 + # initialize to what's available right now
389 if self.reinitialize_at_every_step or len(self.host_charts_dict[self.host]) == 0:
390 self.charts_init()
391 self.custom_models_init()
collectors/python.d.plugin/changefinder/README.md
+6 -6
@@ -12,8 +12,8 @@ on your Netdata charts and/or dimensions.
12
13 Instead of this collector just _collecting_ data, it also does some computation on the data it collects to return a
14 changepoint score for each chart or dimension you configure it to work on. This is
15 -an [online](https://en.wikipedia.org/wiki/Online_machine_learning) machine learning algorithim so there is no batch step
16 -to train the model, instead it evolves over time as more data arrives. That makes this particualr algorithim quite cheap
15 +an [online](https://en.wikipedia.org/wiki/Online_machine_learning) machine learning algorithm so there is no batch step
16 +to train the model, instead it evolves over time as more data arrives. That makes this particular algorithm quite cheap
17 to compute at each step of data collection (see the notes section below for more details) and it should scale fairly
18 well to work on lots of charts or hosts (if running on a parent node for example).
19
@@ -28,7 +28,7 @@ Two charts are available:
28 This chart shows the percentile of the score that is output from the ChangeFinder library (it is turned off by default
29 but available with `show_scores: true`).
30
31 -A high observed score is more likley to be a valid changepoint worth exploring, even more so when multiple charts or
31 +A high observed score is more likely to be a valid changepoint worth exploring, even more so when multiple charts or
32 dimensions have high changepoint scores at the same time or very close together.
33
34 ### ChangeFinder Flags (`changefinder.flags`)
@@ -36,11 +36,11 @@ dimensions have high changepoint scores at the same time or very close together.
36 This chart shows `1` or `0` if the latest score has a percentile value that exceeds the `cf_threshold` threshold. By
37 default, any scores that are in the 99th or above percentile will raise a flag on this chart.
38
39 -The raw changefinder score itself can be a little noisey and so limiting ourselves to just periods where it surpasses
39 +The raw changefinder score itself can be a little noisy and so limiting ourselves to just periods where it surpasses
40 the 99th percentile can help manage the "[signal to noise ratio](https://en.wikipedia.org/wiki/Signal-to-noise_ratio)"
41 better.
42
43 -The `cf_threshold` paramater might be one you want to play around with to tune things specifically for the workloads on
43 +The `cf_threshold` parameter might be one you want to play around with to tune things specifically for the workloads on
44 your node and the specific charts you want to monitor. For example, maybe the 95th percentile might work better for you
45 than the 99th percentile.
46
@@ -164,7 +164,7 @@ sudo su -s /bin/bash netdata
164 - It may take an hour or two (depending on your choice of `n_score_samples`) for the collector to 'settle' into it's
165 typical behaviour in terms of the trained models and scores you will see in the normal running of your node. Mainly
166 this is because it can take a while to build up a proper distribution of previous scores in over to convert the raw
167 - score returned by the ChangeFinder algorithim into a percentile based on the most recent `n_score_samples` that have
167 + score returned by the ChangeFinder algorithm into a percentile based on the most recent `n_score_samples` that have
168 already been produced. So when you first turn the collector on, it will have a lot of flags in the beginning and then
169 should 'settle down' once it has built up enough history. This is a typical characteristic of online machine learning
170 approaches which need some initial window of time before they can be useful.
collectors/python.d.plugin/go_expvar/go_expvar.chart.py
+1 -1
@@ -237,7 +237,7 @@ class Service(UrlService):
237 gc_pauses = memstats['PauseNs']
238 try:
239 gc_pause_avg = sum(gc_pauses) / len([x for x in gc_pauses if x > 0])
240 - # no GC cycles have occured yet
240 + # no GC cycles have occurred yet
241 except ZeroDivisionError:
242 gc_pause_avg = 0
243
collectors/python.d.plugin/mongodb/mongodb.chart.py
+2 -2
@@ -250,10 +250,10 @@ CHARTS = {
250 ]
251 },
252 'cursors': {
253 - 'options': [None, 'Currently openned cursors, cursors with timeout disabled and timed out cursors',
253 + 'options': [None, 'Currently opened cursors, cursors with timeout disabled and timed out cursors',
254 'cursors', 'database performance', 'mongodb.cursors', 'stacked'],
255 'lines': [
256 - ['cursor_total', 'openned', 'absolute', 1, 1],
256 + ['cursor_total', 'opened', 'absolute', 1, 1],
257 ['noTimeout', None, 'absolute', 1, 1],
258 ['timedOut', None, 'incremental', 1, 1]
259 ]
collectors/python.d.plugin/postgres/postgres.conf
+1 -1
@@ -97,7 +97,7 @@
97 # the client (Netdata) is not considered local, unless it runs from inside
98 # the same container.
99 #
100 -# Superuser access is needed for theses charts:
100 +# Superuser access is needed for these charts:
101 # Write-Ahead Logs
102 # Archive Write-Ahead Logs
103 #
collectors/python.d.plugin/zscores/README.md
+6 -6
@@ -43,7 +43,7 @@ looking at first (for more background information on why 3 stddev
43 see [here](https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule#:~:text=In%20the%20empirical%20sciences%20the,99.7%25%20probability%20as%20near%20certainty.))
44 .
45
46 -In the example below we basically took a sledge hammer to our system so its not suprising that lots of charts light up
46 +In the example below we basically took a sledge hammer to our system so its not surprising that lots of charts light up
47 after we run the stress command. In a more realistic setting you might just see a handful of charts with strange zscores
48 and that could be a good indication of where to look first.
49
@@ -101,9 +101,9 @@ information about each one and what it does.
101 host: '127.0.0.1:19999'
102 # What charts to pull data for - A regex like 'system\..*|' or 'system\..*|apps.cpu|apps.mem' etc.
103 charts_regex: 'system\..*'
104 -# length of time to base calulcations off for mean and stddev
104 +# length of time to base calculations off for mean and stddev
105 train_secs: 14400 # use last 4 hours to work out the mean and stddev for the zscore
106 -# offset preceeding latest data to ignore when calculating mean and stddev
106 +# offset preceding latest data to ignore when calculating mean and stddev
107 offset_secs: 300 # ignore last 5 minutes of data when calculating the mean and stddev
108 # recalculate the mean and stddev every n steps of the collector
109 train_every_n: 900 # recalculate mean and stddev every 15 minutes
@@ -114,11 +114,11 @@ z_clip: 10 # cap each zscore at 10 so as to avoid really large individual zscore
114 # set z_abs: 'true' to make all zscores be absolute values only.
115 z_abs: 'true'
116 # burn in period in which to initially calculate mean and stddev on every step
117 -burn_in: 2 # on startup of the collector continually update the mean and stddev in case any gaps or inital calculations fail to return
117 +burn_in: 2 # on startup of the collector continually update the mean and stddev in case any gaps or initial calculations fail to return
118 # mode can be to get a zscore 'per_dim' or 'per_chart'
119 mode: 'per_chart' # 'per_chart' means individual dimension level smoothed zscores will be aggregated to one zscore per chart per time step
120 # per_chart_agg is how you aggregate from dimension to chart when mode='per_chart'
121 -per_chart_agg: 'mean' # 'absmax' will take the max absolute value accross all dimensions but will maintain the sign. 'mean' will just average.
121 +per_chart_agg: 'mean' # 'absmax' will take the max absolute value across all dimensions but will maintain the sign. 'mean' will just average.
122 ```
123
124 ## Notes
@@ -128,7 +128,7 @@ per_chart_agg: 'mean' # 'absmax' will take the max absolute value accross all di
128 calls to the netdata rest api to get the required data for each chart when calculating the mean and stddev.
129 - It may take a few hours or so for the collector to 'settle' into it's typical behaviour in terms of the scores you
130 will see in the normal running of your system.
131 -- The zscore you see for each chart when using `mode: 'per_chart'` as actually an aggregated zscore accross all the
131 +- The zscore you see for each chart when using `mode: 'per_chart'` as actually an aggregated zscore across all the
132 dimensions on the underlying chart.
133 - If you set `mode: 'per_dim'` then you will see a zscore for each dimension on each chart as opposed to one per chart.
134 - As this collector does some calculations itself in python you may want to try it out first on a test or development
collectors/python.d.plugin/zscores/zscores.conf
+3 -3
@@ -83,7 +83,7 @@ local:
83 # length of time to base calculations off for mean and stddev
84 train_secs: 14400 # use last 4 hours to work out the mean and stddev for the zscore
85
86 - # offset preceeding latest data to ignore when calculating mean and stddev
86 + # offset preceding latest data to ignore when calculating mean and stddev
87 offset_secs: 300 # ignore last 5 minutes of data when calculating the mean and stddev
88
89 # recalculate the mean and stddev every n steps of the collector
@@ -99,10 +99,10 @@ local:
99 z_abs: 'true'
100
101 # burn in period in which to initially calculate mean and stddev on every step
102 - burn_in: 2 # on startup of the collector continually update the mean and stddev in case any gaps or inital calculations fail to return
102 + burn_in: 2 # on startup of the collector continually update the mean and stddev in case any gaps or initial calculations fail to return
103
104 # mode can be to get a zscore 'per_dim' or 'per_chart'
105 mode: 'per_chart' # 'per_chart' means individual dimension level smoothed zscores will be aggregated to one zscore per chart per time step
106
107 # per_chart_agg is how you aggregate from dimension to chart when mode='per_chart'
108 - per_chart_agg: 'mean' # 'absmax' will take the max absolute value accross all dimensions but will maintain the sign. 'mean' will just average.
108 + per_chart_agg: 'mean' # 'absmax' will take the max absolute value across all dimensions but will maintain the sign. 'mean' will just average.
collectors/statsd.plugin/README.md
+3 -3
@@ -21,7 +21,7 @@ Netdata statsd is fast. It can collect more than **1.200.000 metrics per second*
21
22 # Available StatsD collectors
23
24 -Netdata ships with collectors implemented using the StatsD collector. They are configuration files (as you will read bellow), but they function as a collector, in the sense that configuration file organize the metrics of a data source into pre-defined charts.
24 +Netdata ships with collectors implemented using the StatsD collector. They are configuration files (as you will read below), but they function as a collector, in the sense that configuration file organize the metrics of a data source into pre-defined charts.
25
26 On these charts, we can have alarms as with any metric and chart.
27
@@ -64,7 +64,7 @@ Netdata fully supports the StatsD protocol. All StatsD client libraries can be u
64 - Timers use `|ms`
65 - Histograms use `|h`
66
67 - The only difference between the two, is the `units` of the charts, as timers report *miliseconds*.
67 + The only difference between the two, is the `units` of the charts, as timers report *milliseconds*.
68
69 [Sampling rate](#sampling-rates) is supported.
70
@@ -102,7 +102,7 @@ When sending multiple packets over UDP, it is important not to exceed the networ
102
103 Netdata will accept UDP packets up to 9000 bytes, but the underlying network will not exceed MTU.
104
105 -> You can read more about the network maxium transmission unit(MTU) in this cloudflare [article](https://www.cloudflare.com/en-gb/learning/network-layer/what-is-mtu/).
105 +> You can read more about the network maximum transmission unit(MTU) in this cloudflare [article](https://www.cloudflare.com/en-gb/learning/network-layer/what-is-mtu/).
106
107 ## Configuration
108
configure.ac
+3 -3
@@ -199,7 +199,7 @@ AC_ARG_ENABLE(
199
200 # -----------------------------------------------------------------------------
201 # Enforce building with C99, bail early if we can't.
202 -test "${ac_cv_prog_cc_c99}" = "no" && AC_MSG_ERROR([Netdata rquires a compiler that supports C99 to build])
202 +test "${ac_cv_prog_cc_c99}" = "no" && AC_MSG_ERROR([Netdata requires a compiler that supports C99 to build])
203
204 # -----------------------------------------------------------------------------
205 # Check if cloud is enabled and if the functionality is available
@@ -823,7 +823,7 @@ if test "$enable_cloud" != "no" -a "$aclk_ng" != "no"; then
823 AC_MSG_CHECKING([ACLK Next Generation can support New Cloud protocol])
824 AC_MSG_RESULT([${can_build_new_cloud_protocol}])
825 if test "$new_cloud_protocol" = "yes" -a "$can_build_new_cloud_protocol" != "yes"; then
826 - AC_MSG_ERROR([Requested new cloud protocol support but it cant be build])
826 + AC_MSG_ERROR([Requested new cloud protocol support but it can't be build])
827 fi
828 if test "$can_build_new_cloud_protocol" = "yes"; then
829 new_cloud_protocol="yes"
@@ -1225,7 +1225,7 @@ fi
1225 # -----------------------------------------------------------------------------
1226 # ml - anomaly detection
1227
1228 -# Check if uuid is availabe. Fail if ML was explicitly requested.
1228 +# Check if uuid is available. Fail if ML was explicitly requested.
1229 if test "${enable_ml}" = "yes" -a "${have_uuid}" != "yes"; then
1230 AC_MSG_ERROR([You have explicitly requested --enable-ml functionality but libuuid can not be found."])
1231 fi
daemon/analytics.c
+1 -1
@@ -239,7 +239,7 @@ void analytics_mirrored_hosts(void)
239 void analytics_exporters(void)
240 {
241 //when no exporters are available, an empty string will be sent
242 - //decide if something else is more suitable (but propably not null)
242 + //decide if something else is more suitable (but probably not null)
243 BUFFER *bi = buffer_create(1000);
244 analytics_exporting_connectors(bi);
245 analytics_set_data_str(&analytics_data.netdata_exporting_connectors, (char *)buffer_tostring(bi));
database/rrdhost.c
+2 -2
@@ -679,12 +679,12 @@ restart_after_removal:
679
680 int rrd_init(char *hostname, struct rrdhost_system_info *system_info) {
681 rrdset_free_obsolete_time = config_get_number(CONFIG_SECTION_GLOBAL, "cleanup obsolete charts after seconds", rrdset_free_obsolete_time);
682 - // Current chart locking and invalidation scheme doesn't prevent Netdata from segmentaion faults if a short
682 + // Current chart locking and invalidation scheme doesn't prevent Netdata from segmentation faults if a short
683 // cleanup delay is set. Extensive stress tests showed that 10 seconds is quite a safe delay. Look at
684 // https://github.com/netdata/netdata/pull/11222#issuecomment-868367920 for more information.
685 if (rrdset_free_obsolete_time < 10) {
686 rrdset_free_obsolete_time = 10;
687 - info("The \"cleanup obsolete charts after seconds\" option was set to 10 seconds. A lower delay can potentially cause a segmentaion fault.");
687 + info("The \"cleanup obsolete charts after seconds\" option was set to 10 seconds. A lower delay can potentially cause a segmentation fault.");
688 }
689 gap_when_lost_iterations_above = (int)config_get_number(CONFIG_SECTION_GLOBAL, "gap when lost iterations above", gap_when_lost_iterations_above);
690 if (gap_when_lost_iterations_above < 1)
docs/Running-behind-lighttpd.md
+1 -1
@@ -14,7 +14,7 @@ $HTTP["url"] =~ "^/netdata/" {
14 }
15 ```
16
17 -If you have older lighttpd you have to use a chain (such as bellow), as explained [at this stackoverflow answer](http://stackoverflow.com/questions/14536554/lighttpd-configuration-to-proxy-rewrite-from-one-domain-to-another).
17 +If you have older lighttpd you have to use a chain (such as below), as explained [at this stackoverflow answer](http://stackoverflow.com/questions/14536554/lighttpd-configuration-to-proxy-rewrite-from-one-domain-to-another).
18
19 ```txt
20 $HTTP["url"] =~ "^/netdata/" {
docs/dashboard/import-export-print-snapshot.mdx
+1 -1
@@ -39,7 +39,7 @@ Some caveats and tips to keep in mind:
39
40 - Only metrics in the export timeframe are available to you. If you zoom out or pan through time, you'll see the
41 beginning and end of the snapshot.
42 -- Charts won't update with new inforamtion, as you're looking at a static replica, not the live dashboard.
42 +- Charts won't update with new information, as you're looking at a static replica, not the live dashboard.
43 - The import is only temporary. Reload your browser tab to return to your node's real-time dashboard.
44
45 ## Export a snapshot
docs/guides/monitor-cockroachdb.md
+1 -1
@@ -13,7 +13,7 @@ maximum granularity using Netdata. Collect more than 50 unique metrics and put t
13 designed for better visual anomaly detection.
14
15 Netdata itself uses CockroachDB as part of its Netdata Cloud infrastructure, so we're happy to introduce this new
16 -collector and help others get started with it straightaway.
16 +collector and help others get started with it straight away.
17
18 Let's dive in and walk through the process of monitoring CockroachDB metrics with Netdata.
19
docs/guides/monitor/anomaly-detection.md
+1 -1
@@ -123,7 +123,7 @@ configure the collector to monitor charts from the
123 log](https://learn.netdata.cloud/docs/agent/collectors/go.d.plugin/modules/weblog) collectors.
124
125 `charts_regex` allows for some basic regex, such as wildcards (`*`) to match all contexts with a certain pattern. For
126 -example, `system\..*` matches with any chart wit ha context that begins with `system.`, and ends in any number of other
126 +example, `system\..*` matches with any chart with a context that begins with `system.`, and ends in any number of other
127 characters (`.*`). Note the escape character (`\`) around the first period to capture a period character exactly, and
128 not any character.
129
docs/guides/monitor/statsd.md
+1 -1
@@ -111,7 +111,7 @@ Find more details about family and context in our [documentation](/web/README.md
111 Now, having decided on how we are going to group the charts, we need to define how we are going to group metrics into different charts. This is particularly important, since we decide:
112
113 - What metrics **not** to show, since they are not useful for our use-case.
114 -- What metrics to consolidate into the same charts, so as to reduce noice and increase visual correlation.
114 +- What metrics to consolidate into the same charts, so as to reduce noise and increase visual correlation.
115
116 The dimension option has this syntax: `dimension = [pattern] METRIC NAME TYPE MULTIPLIER DIVIDER OPTIONS`
117
docs/guides/python-collector.md
+6 -6
@@ -24,7 +24,7 @@ prebuilt method for collecting your required metric data.
24
25 In this tutorial, you'll learn how to leverage the [Python programming language](https://www.python.org/) to build a
26 custom data collector for the Netdata Agent. Follow along with your own dataset, using the techniques and best practices
27 -covered here, or use the included examples for collecting and organizing eithre random or weather data.
27 +covered here, or use the included examples for collecting and organizing either random or weather data.
28
29 ## What you need to get started
30
@@ -48,7 +48,7 @@ The basic elements of a Netdata collector are:
48 - `ORDER[]`: A list containing the charts to be displayed.
49 - `CHARTS{}`: A dictionary containing the details for the charts to be displayed.
50 - `data{}`: A dictionary containing the values to be displayed.
51 -- `get_data()`: The basic function of the plugin which will retrun to Netdata the correct values.
51 +- `get_data()`: The basic function of the plugin which will return to Netdata the correct values.
52
53 Let's walk through these jobs and elements as independent elements first, then apply them to example Python code.
54
@@ -138,7 +138,7 @@ correct values.
138 The `python.d` plugin has a number of framework classes that can be used to speed up the development of your python
139 collector. Your class can inherit one of these framework classes, which have preconfigured methods.
140
141 -For example, the snippet bellow is from the [RabbitMQ
141 +For example, the snippet below is from the [RabbitMQ
142 collector](https://github.com/netdata/netdata/blob/91f3268e9615edd393bd43de4ad8068111024cc9/collectors/python.d.plugin/rabbitmq/rabbitmq.chart.py#L273).
143 This collector uses an HTTP endpoint and uses the `UrlService` framework class, which only needs to define an HTTP
144 endpoint for data collection.
@@ -298,7 +298,7 @@ class Service(SimpleService):
298 def get_data(self):
299 #The data dict is basically all the values to be represented
300 # The entries are in the format: { "dimension": value}
301 - #And each "dimension" shoudl belong to a chart.
301 + #And each "dimension" should belong to a chart.
302 data = dict()
303
304 self.populate_data()
@@ -356,7 +356,7 @@ chart:
356 Next, time to add one more chart that visualizes the average, minimum, and maximum temperature values.
357
358 Add a new entry in the `CHARTS` dictionary with the definition for the new chart. Since you want three values
359 -represented in this this chart, add three dimensions. You shoudl also use the same `FAMILY` value in the charts (`TEMP`)
359 +represented in this this chart, add three dimensions. You should also use the same `FAMILY` value in the charts (`TEMP`)
360 so that those two charts are grouped together.
361
362 ```python
@@ -418,7 +418,7 @@ configuration in [YAML](https://www.tutorialspoint.com/yaml/yaml_basics.htm) for
418 - Create a configuration file in the same directory as the `<plugin_name>.chart.py`. Name it `<plugin_name>.conf`.
419 - Define a `job`, which is an instance of the collector. It is useful when you want to collect data from different
420 sources with different attributes. For example, we could gather data from 2 different weather stations, which use
421 - different temperature measures: Fahrenheit and Celcius.
421 + different temperature measures: Fahrenheit and Celsius.
422 - You can define many different jobs with the same name, but with different attributes. Netdata will try each job
423 serially and will stop at the first job that returns data. If multiple jobs have the same name, only one of them can
424 run. This enables you to define different "ways" to fetch data from a particular data source so that the collector has
exporting/init_connectors.c
+1 -1
@@ -92,7 +92,7 @@ int init_connectors(struct engine *engine)
92 // dispatch the instance worker thread
93 int error = uv_thread_create(&instance->thread, instance->worker, instance);
94 if (error) {
95 - error("EXPORTING: cannot create tread worker. uv_thread_create(): %s", uv_strerror(error));
95 + error("EXPORTING: cannot create thread worker. uv_thread_create(): %s", uv_strerror(error));
96 return 1;
97 }
98 char threadname[NETDATA_THREAD_NAME_MAX + 1];
exporting/prometheus/prometheus.c
+3 -3
@@ -136,7 +136,7 @@ static inline time_t prometheus_server_last_access(const char *server, RRDHOST *
136 * Copy and sanitize name.
137 *
138 * @param d a destination string.
139 - * @param s a source sting.
139 + * @param s a source string.
140 * @param usable the number of characters to copy.
141 * @return Returns the length of the copied string.
142 */
@@ -161,7 +161,7 @@ inline size_t prometheus_name_copy(char *d, const char *s, size_t usable)
161 * Copy and sanitize label.
162 *
163 * @param d a destination string.
164 - * @param s a source sting.
164 + * @param s a source string.
165 * @param usable the number of characters to copy.
166 * @return Returns the length of the copied string.
167 */
@@ -190,7 +190,7 @@ inline size_t prometheus_label_copy(char *d, const char *s, size_t usable)
190 * Copy and sanitize units.
191 *
192 * @param d a destination string.
193 - * @param s a source sting.
193 + * @param s a source string.
194 * @param usable the number of characters to copy.
195 * @param showoldunits set this flag to 1 to show old (before v1.12) units.
196 * @return Returns the destination string.
health/REFERENCE.md
+1 -1
@@ -177,7 +177,7 @@ type: Database
177 | Cgroups | Alerts for cpu and memory usage of control groups |
178 | Computing | Alerts for shared computing applications (e.g. boinc) |
179 | Containers | Container related alerts (e.g. docker instances) |
180 -| Database | Database systems (e.g. MySQL, Postgress, etc) |
180 +| Database | Database systems (e.g. MySQL, PostgreSQL, etc) |
181 | Data Sharing | Used to group together alerts for data sharing applications |
182 | DHCP | Alerts for dhcp related services |
183 | DNS | Alerts for dns related services |
health/health.d/geth.conf
+1 -1
@@ -1,4 +1,4 @@
1 -#chainhead_header is expected momenterarily to be ahead. If its considerably ahead (e.g more than 5 blocks), then the node is definetely out of sync.
1 +#chainhead_header is expected momenterarily to be ahead. If its considerably ahead (e.g more than 5 blocks), then the node is definitely out of sync.
2 template: geth_chainhead_diff_between_header_block
3 on: geth.chainhead
4 class: Workload
health/notifications/alarm-notify.sh.in
+1 -1
@@ -319,7 +319,7 @@ SLACK_WEBHOOK_URL=
319 # Microsoft Teams configs
320 MSTEAMS_WEBHOOK_URL=
321
322 -# Legacy Microsoft Teams configs for backwards compatability:
322 +# Legacy Microsoft Teams configs for backwards compatibility:
323 declare -A role_recipients_msteam
324
325 # rocketchat configs
health/notifications/syslog/README.md
+1 -1
@@ -17,7 +17,7 @@ netdata WARNING on hostname at Tue Apr 3 09:00:00 EDT 2018: disk_space._ out of
17
18 System log targets are configured as recipients in [`/etc/netdata/health_alarm_notify.conf`](https://github.com/netdata/netdata/blob/36bedc044584dea791fd29455bdcd287c3306cb2/conf.d/health_alarm_notify.conf#L534) (to edit it on your system run `/etc/netdata/edit-config health_alarm_notify.conf`).
19
20 -You can als configure per-role targets in the same file a bit further down.
20 +You can also configure per-role targets in the same file a bit further down.
21
22 Targets are defined as follows:
23
libnetdata/ebpf/ebpf.c
+1 -1
@@ -654,7 +654,7 @@ void ebpf_load_addresses(ebpf_addresses_t *fa, int fd)
654 *
655 * @param algorithms the output vector
656 * @param length number of elements of algorithms vector
657 - * @param algortihm algorithm used on charts.
657 + * @param algorithm algorithm used on charts.
658 */
659 void ebpf_fill_algorithms(int *algorithms, size_t length, int algorithm)
660 {
libnetdata/json/jsmn.c
+1 -1
@@ -183,7 +183,7 @@ static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js,
183 *
184 * Parse JSON string and fill tokens.
185 *
186 - * @param parser the auxiliar vector used to parser
186 + * @param parser the auxiliary vector used to parser
187 * @param js the string to parse
188 * @param len the string length
189 * @param tokens the place to map the tokens
libnetdata/procfile/procfile.c
+2 -2
@@ -69,7 +69,7 @@ static inline pfwords *pfwords_new(void) {
69 }
70
71 static inline void pfwords_reset(pfwords *fw) {
72 - // debug(D_PROCFILE, PF_PREFIX ": reseting words");
72 + // debug(D_PROCFILE, PF_PREFIX ": resetting words");
73 fw->len = 0;
74 }
75
@@ -115,7 +115,7 @@ static inline pflines *pflines_new(void) {
115 }
116
117 static inline void pflines_reset(pflines *fl) {
118 - // debug(D_PROCFILE, PF_PREFIX ": reseting lines");
118 + // debug(D_PROCFILE, PF_PREFIX ": resetting lines");
119
120 fl->len = 0;
121 }
packaging/installer/methods/kickstart.md
+1 -1
@@ -53,7 +53,7 @@ installation. Here are a few important parameters:
53 - `--no-updates`: Disable automatic updates.
54 - `--stable-channel`: Use a stable build instead of a nightly build.
55 - `--reinstall`: If an existing install is found, reinstall instead of trying to update it in place.
56 -- `--dont-start-it`: Don’t auto-start the daemon after installing. This parameter is not gauranteed to work.
56 +- `--dont-start-it`: Don’t auto-start the daemon after installing. This parameter is not guaranteed to work.
57 - `--install`: Specify an alternative install prefix.
58 - `--disable-cloud`: For local builds, don’t build any of the cloud code at all. For native packages and static builds,
59 use runtime configuration to disable cloud support.
packaging/installer/methods/source.md
+1 -1
@@ -120,7 +120,7 @@ you can do the following to prepare a copy for the build system:
120 4. Build JSON-C by running `make` in the JSON-C source directory.
121 5. In the Netdata source directory, create a directory called
122 `externaldeps/jsonc`.
123 -6. Copy `libjson-c.a` fro the JSON-C source directory to
123 +6. Copy `libjson-c.a` from the JSON-C source directory to
124 `externaldeps/jsonc/libjson-c.a` in the Netdata source tree.
125 7. Copy all of the header files (`*.h`) from the JSON-C source directory
126 to `externaldeps/jsonc/json-c` in the Netdata source tree.
packaging/installer/methods/synology.md
+1 -1
@@ -21,7 +21,7 @@ will install the content into `/opt/netdata`, making future removal safe and sim
21 When Netdata is first installed, it will run as _root_. This may or may not be acceptable for you, and since other
22 installations run it as the `netdata` user, you might wish to do the same. This requires some extra work:
23
24 -1. Creat a group `netdata` via the Synology group interface. Give it no access to anything.
24 +1. Create a group `netdata` via the Synology group interface. Give it no access to anything.
25 2. Create a user `netdata` via the Synology user interface. Give it no access to anything and a random password. Assign
26 the user to the `netdata` group. Netdata will chuid to this user when running.
27 3. Change ownership of the following directories, as defined in [Netdata
packaging/makeself/makeself.sh
+1 -1
@@ -7,7 +7,7 @@
7 # Utility to create self-extracting tar.gz archives.
8 # The resulting archive is a file holding the tar.gz archive with
9 # a small Shell script stub that uncompresses the archive to a temporary
10 -# directory and then executes a given script from withing that directory.
10 +# directory and then executes a given script from within that directory.
11 #
12 # Makeself home page: http://makeself.io/
13 #
tests/profile/benchmark-procfile-parser.c
+2 -2
@@ -17,7 +17,7 @@ extern size_t procfile_max_allocation;
17
18
19 static inline void pflines_reset(pflines *fl) {
20 - // debug(D_PROCFILE, PF_PREFIX ": reseting lines");
20 + // debug(D_PROCFILE, PF_PREFIX ": resetting lines");
21
22 fl->len = 0;
23 }
@@ -29,7 +29,7 @@ static inline void pflines_free(pflines *fl) {
29 }
30
31 static inline void pfwords_reset(pfwords *fw) {
32 - // debug(D_PROCFILE, PF_PREFIX ": reseting words");
32 + // debug(D_PROCFILE, PF_PREFIX ": resetting words");
33 fw->len = 0;
34 }
35
web/api/tests/valid_urls.c
+1 -1
@@ -410,7 +410,7 @@ static void empty_url(void **state)
410 }
411
412 /* If the %-escape is being performed at the correct time then the url should not be treated as a query, but instead
413 - as a path "/api/v1/info?blah?" which should despatch into the API with the given values.
413 + as a path "/api/v1/info?blah?" which should dispatch into the API with the given values.
414 */
415 static void not_a_query(void **state)
416 {
web/server/web_client_cache.c
+1 -1
@@ -79,7 +79,7 @@ static struct web_client *web_client_alloc(void) {
79 // Comments per server:
80 // SINGLE-THREADED : 1 cache is maintained
81 // MULTI-THREADED : 1 cache is maintained
82 -// STATIC-THREADED : 1 cache for each thred of the web server
82 +// STATIC-THREADED : 1 cache for each thread of the web server
83
84 __thread struct clients_cache web_clients_cache = {
85 .pid = 0,