Skip to content

Commit fc9ee78

Browse files
authored
docs: Fix a few typos (DataDog#8963)
- Should read `accessed` rather than `acessed`. - Should read `throttling` rather than `throtling`. - Should read `standard` rather than `standars`. - Should read `occurrences` rather than `occurences`. - Should read `minimum` rather than `minumum`. - Should read `inadvertently` rather than `inadvertedly`. - Should read `foreign` rather than `foreing`. - Should read `enqueuing` rather than `enqueing`. - Should read `definitions` rather than `defintions`.
1 parent f92b031 commit fc9ee78

File tree

11 files changed

+10
-11
lines changed

11 files changed

+10
-11
lines changed

Dockerfiles/manifests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Several examples are provided:
1212
* [`cluster-agent-datadogMetrics`](cluster-agent) Contains the agent DaemonSet as well as the cluster agent with DatadogMetric CRD support;
1313
* [`cluster-checks-runners`](cluster-checks-runners) Contains the agent DaemonSet as well as the cluster agent and the cluster check runners.
1414

15-
**NOTE:** Manifests are generated in the `default` namespace. You will need to modify `namespace: default` occurences if you are installing in another namespace.
15+
**NOTE:** Manifests are generated in the `default` namespace. You will need to modify `namespace: default` occurrences if you are installing in another namespace.

docs/dev/caveats.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This document provides a list of known development caveats
99
The COM concurrency model may be set in different ways, it also has to be called for every thread that might indeed interact with the COM library. Furthermore, once a concurrency model is set for a thread, it cannot be changed unless the thread is `CoUnitilialize()`d. This poses an issue for us for a variety of reasons:
1010
1. Third party libraries like `gopsutil`, which initializes the concurrency model by setting it to the multi-threaded model, will fail in its calls as the model is different.
1111
2. We also have python integrations that employ the COM library (ie. WMI, SQLserver, ...) that ultimately rely on `pythoncom` for this. `pythoncom`, in fact, initializes the COM library to the single-threaded model by default, but doesn't really care about the concurrency model and will not fail if a different model has been previously set.
12-
3. Because the actual *loading* of the integrations will import `pythoncom` the concurrency model might be inadvertedly and implicitly be set to the default (single-threaded) concurrency model meaning that any subsequent call to an affected `gopsutil` function would fail as the concurrency model would already be set.
12+
3. Because the actual *loading* of the integrations will import `pythoncom` the concurrency model might be inadvertently and implicitly be set to the default (single-threaded) concurrency model meaning that any subsequent call to an affected `gopsutil` function would fail as the concurrency model would already be set.
1313
4. Due to go's concurrency model we can assume nothing about what goroutine is running on what thread at any given time, so it's not trivial to tell what concurrency model a thread's COM library was initialized to.
1414

1515

pkg/network/ebpf/c/http.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static __always_inline void http_enqueue(http_transaction_t *http) {
7575
// It seems that support for this type of access range by the verifier was added later on:
7676
// https://patchwork.ozlabs.org/project/netdev/patch/[email protected]/
7777
//
78-
// What is unfortunate about this is not only that enqueing a HTTP transaction is O(HTTP_BATCH_SIZE),
78+
// What is unfortunate about this is not only that enqueuing a HTTP transaction is O(HTTP_BATCH_SIZE),
7979
// but also that we can't really increase the batch/page size at the moment because that blows up the eBPF *program* size
8080
#pragma unroll
8181
for (int i = 0; i < HTTP_BATCH_SIZE; i++) {

pkg/network/ebpf/c/sockfd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <linux/types.h>
66

77
// This map is used to to temporarily store function arguments (sockfd) for
8-
// sockfd_lookup_light function calls, so they can be acessed by the corresponding kretprobe.
8+
// sockfd_lookup_light function calls, so they can be accessed by the corresponding kretprobe.
99
// * Key is the pid_tgid;
1010
// * Value the socket FD;
1111
struct bpf_map_def SEC("maps/sockfd_lookup_args") sockfd_lookup_args = {

pkg/network/ebpf/c/tracer-maps.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ struct bpf_map_def SEC("maps/telemetry") telemetry = {
137137

138138
// This map is used to to temporarily store function arguments (the struct sock*
139139
// mapped to the given fd_out) for do_sendfile function calls, so they can be
140-
// acessed by the corresponding kretprobe.
140+
// accessed by the corresponding kretprobe.
141141
// * Key is pid_tgid (u64)
142142
// * Value is (struct sock*)
143143
struct bpf_map_def SEC("maps/do_sendfile_args") do_sendfile_args = {

pkg/util/retry/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ methods from `retrier.go` on that class:
3636
- passing the error to `Retry.IsErrWillRetry()` and `Retry.IsErrPermaFail()`
3737
will tell you whether it's necessary to retry again, or just give up
3838
initialising this object
39-
- retry throtling is implemented in case several users try to use a class.
39+
- retry throttling is implemented in case several users try to use a class.
4040
Calling `NextRetry()` will tell you when the next retry is possible. Before
4141
that time, all calls to `TriggerRetry()` will return a `FailWillRetry` error.
4242
**The retry will not automatically run when that time is reached, you have

rtloader/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CPython embedding/extending backend with support for multiple Python versions.
55
## Concepts
66

77
RtLoader is a C++ wrapper around the CPython API with a C89-compatible public API
8-
that can be used by foreing languages like Go. In order to provide support for
8+
that can be used by foreign languages like Go. In order to provide support for
99
multiple Python versions, RtLoader fully abstracts Python in order to decouple client
1010
applications and CPython. Which Python version to use can be decided at runtime,
1111
RtLoader will `dlopen` the proper backend libraries accordingly.

rtloader/common/builtins/datadog_agent.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ PyObject *get_config(PyObject *self, PyObject *args)
225225
}
226226

227227
/*! \fn PyObject *headers(PyObject *self, PyObject *args, PyObject *kwargs)
228-
\brief This function provides a standars set of HTTP headers the caller might want to
228+
\brief This function provides a standard set of HTTP headers the caller might want to
229229
use for HTTP requests.
230230
\param self A PyObject* pointer to the `datadog_agent` module.
231231
\param args A PyObject* pointer to the `agentConfig`, but not expected to be used.

tasks/go.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def generate_licenses(ctx, filename='LICENSE-3rdparty.csv', verbose=False):
404404
@task
405405
def generate_protobuf(ctx):
406406
"""
407-
Generates protobuf defintions in pkg/proto
407+
Generates protobuf definitions in pkg/proto
408408
"""
409409
base = os.path.dirname(os.path.abspath(__file__))
410410
repo_root = os.path.abspath(os.path.join(base, ".."))

tools/dep_tree_resolver/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ones specified) when the code is being run. While no method is perfect at this
66
task, we can use this helper script to generate our best-guess at the resulting
77
dependency tree.
88

9-
109
## Caveats
1110

1211
### Isolated module dependencies

tools/windows/install-help/cal/customaction.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define MIN_PASS_LEN 16 /* minimum length of password to generate */
77
#define MAX_PASS_LEN 20 /* maximum length of password to generate */
88
#define MIN_NUM_LOWER_CHARS 2 /* minimum allowable number of lowercase chars */
9-
#define MIN_NUM_UPPER_CHARS 2 /* minumum allowable number of uppercase chars */
9+
#define MIN_NUM_UPPER_CHARS 2 /* minimum allowable number of uppercase chars */
1010
#define MIN_NUM_NUMBER_CHARS 2 /* minimum allowable number of numeric chars */
1111
#define MIN_NUM_SPECIAL_CHARS 2 /* minimum number of special characters */
1212
#include "SID.h"

0 commit comments

Comments
 (0)