Skip to content

Commit 9f30afb

Browse files
authored
[chore] Spelling receiver/u...z (#37611)
#### Description Fix spelling in receiver/{u...z}* #37128 (review) #37134 (comment) #### Link to tracking issue * #37128 --------- Signed-off-by: Josh Soref <[email protected]>
1 parent 4a2ed0d commit 9f30afb

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

receiver/udplogreceiver/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Many parsers operators can be configured to embed certain followup operations su
4545

4646
If set, the `multiline` configuration block instructs the `udplog` receiver to split log entries on a pattern other than newlines.
4747

48-
**note** If `multiline` is not set at all, it wont't split log entries at all. Every UDP packet is going to be treated as log.
48+
**note** If `multiline` is not set at all, it won't split log entries at all. Every UDP packet is going to be treated as log.
4949
**note** `multiline` detection works per UDP packet due to protocol limitations.
5050

5151
The `multiline` configuration block must contain exactly one of `line_start_pattern` or `line_end_pattern`. These are regex patterns that
@@ -70,7 +70,7 @@ for other encodings available.
7070

7171
#### `async` configuration
7272

73-
If set, the `async` configuration block instructs the `udp_input` operator to read and process logs asynchronsouly and concurrently.
73+
If set, the `async` configuration block instructs the `udp_input` operator to read and process logs asynchronously and concurrently.
7474

7575
**note** If `async` is not set at all, a single thread will read lines synchronously.
7676

receiver/vcenterreceiver/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (vc *vcenterClient) EnsureConnection(ctx context.Context) error {
9898
return nil
9999
}
100100

101-
// Disconnect will logout of the autenticated session
101+
// Disconnect will logout of the authenticated session
102102
func (vc *vcenterClient) Disconnect(ctx context.Context) error {
103103
if vc.sessionManager != nil {
104104
return vc.sessionManager.Logout(ctx)

receiver/vcenterreceiver/internal/mockserver/client_mock.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func routeBody(t *testing.T, requestType string, body map[string]any) ([]byte, e
7777
case "Logout":
7878
return loadResponse("logout.xml")
7979
case "RetrievePropertiesEx":
80-
return routeRetreivePropertiesEx(t, body)
80+
return routeRetrievePropertiesEx(t, body)
8181
case "QueryPerf":
8282
return routePerformanceQuery(t, body)
8383
case "CreateContainerView":
@@ -91,7 +91,7 @@ func routeBody(t *testing.T, requestType string, body map[string]any) ([]byte, e
9191
return []byte{}, errNotFound
9292
}
9393

94-
func routeRetreivePropertiesEx(t *testing.T, body map[string]any) ([]byte, error) {
94+
func routeRetrievePropertiesEx(t *testing.T, body map[string]any) ([]byte, error) {
9595
rp, ok := body["RetrievePropertiesEx"].(map[string]any)
9696
require.True(t, ok)
9797
specSet := rp["specSet"].(map[string]any)

receiver/vcenterreceiver/internal/mockserver/responses/perf-manager.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3356,7 +3356,7 @@
33563356
<key>153</key>
33573357
<nameInfo>
33583358
<label>Net Throughput Contention</label>
3359-
<summary>The aggregate network droppped packets for the host</summary>
3359+
<summary>The aggregate network dropped packets for the host</summary>
33603360
<key>throughput.contention</key>
33613361
</nameInfo>
33623362
<groupInfo>
@@ -8064,7 +8064,7 @@
80648064
<key>421</key>
80658065
<nameInfo>
80668066
<label>VMKMEM minfree</label>
8067-
<summary>Mininum amount of machine memory that VMkernel likes to keep free</summary>
8067+
<summary>Minimum amount of machine memory that VMkernel likes to keep free</summary>
80688068
<key>kernel.minfree</key>
80698069
</nameInfo>
80708070
<groupInfo>

receiver/wavefrontreceiver/wavefront_parser.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ var (
2929
_ protocol.ParserConfig = (*WavefrontParser)(nil)
3030
)
3131

32-
// Only two chars can be espcaped per Wavafront SDK, see
32+
// Only two chars can be escaped per Wavefront SDK, see
3333
// https://github.com/wavefrontHQ/wavefront-sdk-go/blob/2c5891318fcd83c35c93bba2b411640495473333/senders/formatter.go#L20
3434
var escapedCharReplacer = strings.NewReplacer(
3535
`\"`, `"`, // Replaces escaped double-quotes
36-
`\n`, "\n", // Repaces escaped new-line.
36+
`\n`, "\n", // Replaces escaped new-line.
3737
)
3838

3939
// BuildParser creates a new Parser instance that receives Wavefront metric data.

receiver/webhookeventreceiver/req_to_log_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ func TestReqToLog(t *testing.T) {
5151
if v, ok := attributes.Get("qparam1"); ok {
5252
require.Equal(t, "hello", v.AsString())
5353
} else {
54-
require.Fail(t, "faild to set attribute from query parameter 1")
54+
require.Fail(t, "failed to set attribute from query parameter 1")
5555
}
5656
if v, ok := attributes.Get("qparam2"); ok {
5757
require.Equal(t, "world", v.AsString())
5858
} else {
59-
require.Fail(t, "faild to set attribute query parameter 2")
59+
require.Fail(t, "failed to set attribute query parameter 2")
6060
}
6161
},
6262
},
@@ -85,12 +85,12 @@ func TestReqToLog(t *testing.T) {
8585
if v, ok := attributes.Get("qparam1"); ok {
8686
require.Equal(t, "hello", v.AsString())
8787
} else {
88-
require.Fail(t, "faild to set attribute from query parameter 1")
88+
require.Fail(t, "failed to set attribute from query parameter 1")
8989
}
9090
if v, ok := attributes.Get("qparam2"); ok {
9191
require.Equal(t, "world", v.AsString())
9292
} else {
93-
require.Fail(t, "faild to set attribute query parameter 2")
93+
require.Fail(t, "failed to set attribute query parameter 2")
9494
}
9595
},
9696
},

receiver/windowsperfcountersreceiver/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ service:
205205

206206
## Known Limitation
207207

208-
- The network interface is not available inside the container. Hence, the metrics for the object `Network Interface` aren't generated in that scenario. In the case of sub-process, it captures `Network Interface` metrics. There is a similar open issue in [Github](https://github.com/influxdata/telegraf/issues/5357) and [Docker](https://forums.docker.com/t/unable-to-collect-network-metrics-inside-windows-container-on-windows-server-2016-data-center/69480) forum.
208+
- The network interface is not available inside the container. Hence, the metrics for the object `Network Interface` aren't generated in that scenario. In the case of sub-process, it captures `Network Interface` metrics. There is a similar open issue in [GitHub](https://github.com/influxdata/telegraf/issues/5357) and [Docker](https://forums.docker.com/t/unable-to-collect-network-metrics-inside-windows-container-on-windows-server-2016-data-center/69480) forum.
209209

210210
- The counter category `Process` is [unreliable with multiple instances of the same process][1]. On Windows 11 and later, it is recommended to use `Process V2` instead as it includes the process ID in the instance name. For versions prior to Windows 11 it is possible to [configure the `Process` counter category to include the PID in the instance name][2].
211211

receiver/zipkinreceiver/trace_receiver_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func compressZlib(body []byte) (*bytes.Buffer, error) {
358358
return &buf, nil
359359
}
360360

361-
func TestConvertSpansToTraceSpans_JSONWithoutSerivceName(t *testing.T) {
361+
func TestConvertSpansToTraceSpans_JSONWithoutServiceName(t *testing.T) {
362362
blob, err := os.ReadFile("./testdata/sample2.json")
363363
require.NoError(t, err, "Failed to read sample JSON file: %v", err)
364364
zi := newTestZipkinReceiver()

0 commit comments

Comments
 (0)