Skip to content

Commit 48ecc22

Browse files
authored
Fix typos and linguistic errors in documentation / hacktoberfest (#43497)
#### Description Fix typos and linguistic errors in documentation. It's not much, but I'm happy to help Signed-off-by: Sebastien Dionne <[email protected]>
1 parent c15e845 commit 48ecc22

File tree

23 files changed

+34
-34
lines changed

23 files changed

+34
-34
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ The frequency of recording pipeline lag can be configured with `lag_record_frequ
16681668
- `elasticsearchexporter`: Enable native frame symbolization for Universal Profiling via the symbolization queue indices. (#38577)
16691669
- `hostmetricsreceiver`: Reduced the cost of retrieving number of threads and parent process ID on Windows. Disable the featuregate `hostmetrics.process.onWindowsUseNewGetProcesses` to fallback to the previous implementation.
16701670
(#32947, #38589)
1671-
- `prometheusremotewritereciever`: Add help ref attribute to metric (#37277)
1671+
- `prometheusremotewritereceiver`: Add help ref attribute to metric (#37277)
16721672
- `hostmetricsreceiver`: Reduced the CPU cost of collecting the `process.handles` metric on Windows. (#38886)
16731673
Instead of using WMI to retrieve the number of opened handles by each process
16741674
the scraper now uses the GetProcessHandleCount Win32 API which results in
@@ -1678,7 +1678,7 @@ The frequency of recording pipeline lag can be configured with `lag_record_frequ
16781678
- `rabbitmqreceiver`: Enhance the RabbitMQ receiver to collect and report additional node-level metrics: `rabbitmq.node.disk_free`, `rabbitmq.node.disk_free_limit`, `rabbitmq.node.disk_free_alarm`, `rabbitmq.node.disk_free_details.rate`, `rabbitmq.node.mem_used`, `rabbitmq.node.mem_limit`, `rabbitmq.node.mem_alarm`, `rabbitmq.node.mem_used_details.rate`, `rabbitmq.node.fd_used`, `rabbitmq.node.fd_total`, `rabbitmq.node.fd_used_details.rate`, `rabbitmq.node.sockets_used`, `rabbitmq.node.sockets_total`, `rabbitmq.node.sockets_used_details.rate`, `rabbitmq.node.proc_used`, `rabbitmq.node.proc_total`, `rabbitmq.node.proc_used_details.rate`. These provide additional observability into the state and resource usage of RabbitMQ nodes. (#38976)
16791679
- `rabbitmqreceiver`: Enhance the RabbitMQ receiver to collect and report additional node-level metrics across multiple categories. These include metrics related to memory, file descriptors, sockets, processes, disk, uptime, scheduling, garbage collection (GC), I/O, message store, connections, clustering, configuration, application info, and context switches. This significantly improves visibility into the performance, state, and resource usage of RabbitMQ nodes. (#38997)
16801680
- `resourcedetection`: Adding the os.version resource attribute to system resourcedetection processor (#38087)
1681-
- `prometheusremotewritereciever`: Separate timeseries with the same labels are now translated into the same OTLP metric. (#37791)
1681+
- `prometheusremotewritereceiver`: Separate timeseries with the same labels are now translated into the same OTLP metric. (#37791)
16821682
timeseries that belongs to the same metric should be added to the same datapoints slice.
16831683
- `prometheusremotewritereceiver`: Use Created Timestamps to populate Datapoint's StartTimeUnixNano (#37277)
16841684
- `workflow`: Remove path parts from component label suffixes (#38527)
@@ -1835,7 +1835,7 @@ The frequency of recording pipeline lag can be configured with `lag_record_frequ
18351835
- `pkg/ottl`: Enhance flatten() editor to resolve attribute key conflicts by adding a number suffix to the conflicting keys. (#35793)
18361836
- `geoipprocessor`: Add the `attributes` parameter and consider both `source.address` and `client.address` by default (#37008)
18371837
- `githubreceiver`: add GitHub workflow job spans (#38016)
1838-
- `prometheusremotewritereciever`: Handle `otel_scope_name` and `otel_scope_version` labels in Prometheus Remote Write receiver properly if not present (#37791)
1838+
- `prometheusremotewritereceiver`: Handle `otel_scope_name` and `otel_scope_version` labels in Prometheus Remote Write receiver properly if not present (#37791)
18391839
if otel_scope_name or otel_scope_name is missing, use collector’s version and description according to the otel spec.
18401840
- `exporter/loadbalancing`: Add support for route with composite keys (#35320)
18411841
- `kafka`: Upgrading to aws sdk v2 (#38478)

exporter/azuremonitorexporter/testdata/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ azuremonitor:
22
azuremonitor/2:
33
# endpoint is the uri used to communicate with Azure Monitor
44
endpoint: "https://dc.services.visualstudio.com/v2/track"
5-
# instrumentation_key is the unique identifer for your Application Insights resource
5+
# instrumentation_key is the unique identifier for your Application Insights resource
66
instrumentation_key: 00000000-0000-0000-0000-000000000000
77
# connection string specifies Application Insights InstrumentationKey and IngestionEndpoint
88
connection_string: InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://ingestion.azuremonitor.com/

exporter/rabbitmqexporter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following settings can be configured:
3030
- `username` (required): username for authentication
3131
- `password`: password for authentication
3232
- `tls` (optional): [TLS configuration](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configtls/configtls.go#L32)
33-
- `name` (optional): The name of the connection, visible in in RabbitMQ management interface
33+
- `name` (optional): The name of the connection, visible in RabbitMQ management interface
3434
- `routing`:
3535
- `routing_key` (default = otlp_spans for traces, otlp_metrics for metrics, otlp_logs for logs): Routing key used to route exported messages to RabbitMQ consumers
3636
- `exchange`: Name of the exchange used to route messages. If omitted, the [default exchange](https://www.rabbitmq.com/tutorials/amqp-concepts#exchange-default) is used which routes to a queue with the same as the routing key. Only [direct exchanges](https://www.rabbitmq.com/tutorials/amqp-concepts#exchange-direct) are currently supported. Note that this component does not handle queue creation or binding.

internal/coreinternal/goldendataset/traces_generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// GenerateTraces generates a slice of OTLP ResourceSpans objects based on the PICT-generated pairwise
1717
// parameters defined in the parameters file specified by the tracePairsFile parameter. The pairs to generate
18-
// spans for for defined in the file specified by the spanPairsFile parameter.
18+
// spans for defined in the file specified by the spanPairsFile parameter.
1919
// The slice of ResourceSpans are returned. If an err is returned, the slice elements will be nil.
2020
func GenerateTraces(tracePairsFile, spanPairsFile string) ([]ptrace.Traces, error) {
2121
random := (*randReader)(rand.New(rand.NewPCG(42, 0)))

internal/e2e/examples/collector.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ exporters:
257257
## @param resource_attributes_as_tags - string - optional - default: false
258258
## Set to true to add resource attributes of a metric to its metric tags.
259259
## Please note that any of the subset of resource attributes in this
260-
## list https://docs.datadoghq.com/opentelemetry/guide/semantic_mapping/ are
261-
## converted to datadog conventions and set to to metric tags whether this option
260+
## list https://docs.datadoghq.com/opentelemetry/guide/semantic_mapping/ are
261+
## converted to datadog conventions and set to metric tags whether this option
262262
## is enabled or not.
263263
#
264264
# resource_attributes_as_tags: false

pkg/datadog/config/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (sm *SummaryMode) UnmarshalText(in []byte) error {
187187

188188
// SummaryConfig customizes export of OTLP Summaries.
189189
type SummaryConfig struct {
190-
// Mode is the the mode for exporting OTLP Summaries.
190+
// Mode is the mode for exporting OTLP Summaries.
191191
// Valid values are 'noquantiles' or 'gauges'.
192192
// - 'noquantiles' sends no `.quantile` metrics. `.sum` and `.count` metrics will still be sent.
193193
// - 'gauges' sends `.quantile` metrics as gauges tagged by the quantile.

pkg/kafka/configkafka/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func (c *ProducerConfig) Unmarshal(conf *confmap.Conf) error {
265265
return conf.Unmarshal(c)
266266
}
267267

268-
// RequiredAcks defines record acknowledgement behavior for for producers.
268+
// RequiredAcks defines record acknowledgement behavior for producers.
269269
type RequiredAcks int
270270

271271
const (

pkg/stanza/fileconsumer/file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ func TestMultipleEmpty(t *testing.T) {
468468
sink.ExpectNoCallsUntil(t, time.Second)
469469
}
470470

471-
// TestLeadingEmpty tests that the the operator handles a leading
471+
// TestLeadingEmpty tests that the operator handles a leading
472472
// newline, and does not read the file multiple times
473473
func TestLeadingEmpty(t *testing.T) {
474474
t.Parallel()

pkg/translator/azurelogs/category_logs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const (
4040
// request to the time the first byte gets sent to the client.
4141
attributeTimeToFirstByte = "azure.time_to_first_byte"
4242

43-
// attributeDuration holds the the length of time from first byte of
43+
// attributeDuration holds the length of time from first byte of
4444
// request to last byte of response out, in seconds.
4545
attributeDuration = "duration"
4646

pkg/winperfcounters/internal/third_party/telegraf/win_perf_counters/pdh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func init() {
217217
// \\LogicalDisk(C:)\% Free Space
218218
//
219219
// To view all (internationalized...) counters on a system, there are three non-programmatic ways: perfmon utility,
220-
// the typeperf command, and the the registry editor. perfmon.exe is perhaps the easiest way, because it's basically a
220+
// the typeperf command, and the registry editor. perfmon.exe is perhaps the easiest way, because it's basically a
221221
// full implemention of the pdh.dll API, except with a GUI and all that. The registry setting also provides an
222222
// interface to the available counters, and can be found at the following key:
223223
//

0 commit comments

Comments
 (0)