Skip to content

Commit 168f34f

Browse files
authored
[chore] Add changelog notes for v0.126.0 (#6251)
* [chore] Add changelog for v0.126.0 * remove changes irrelevant to our repo * changes requested by Paulo
1 parent 7374de3 commit 168f34f

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed

CHANGELOG.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
## Unreleased
44

5+
## v0.126.0
6+
7+
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.126.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.126.0)
8+
and the [opentelemetry-collector-contrib v0.126.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.126.0) releases where appropriate.
9+
10+
### 🛑 Breaking changes 🛑
11+
12+
- (Contrib) `azuremonitorreceiver`: Renamed the `auth` field to `credentials` in the azuremonitorreceiver configuration. ([#39738](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39738))
13+
- (Contrib) `googlecloudpubsubreceiver`: Add `ignore_encoding_error` configuration to ignore decoding failures from the configured encoder ([#38164](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/38164))
14+
Introduce a setting to ignore errors when the configured encoder. It's advised to set this to `true` when using
15+
a custom encoder, and use the new `receiver.googlecloudpubsub.encoding_error` metric to monitor the number of errors.
16+
Ignoring the error will cause the receiver to drop the message.
17+
18+
- (Contrib) `sqlserverreceiver`: Update event properties ([#39868](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39868))
19+
This change only applies to top query events and query sample events:
20+
* Update event name of top query event from `top query` to `db.server.top_query`
21+
* Update event name of query sample event from `query sample` to `db.server.query_sample`
22+
* Remove body of query sample event
23+
* Rename `sqlserver.username` to `user.name` in query sample event
24+
25+
- (Contrib) `receiver/prometheus`: Upgrade `receiver.prometheusreceiver.RemoveLegacyResourceAttributes` feature gate to `beta` stability (enabled by default) ([#32814](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/32814))
26+
Disable the `receiver.prometheusreceiver.RemoveLegacyResourceAttributes` feature gate to restore previous behavior. This feature gate will be removed in a future release.
27+
The feature gate is used to replace the following legacy resource attributes:
28+
`net.host.name` -> `server.address`
29+
`net.host.port` -> `server.port`
30+
`http.scheme` -> `url.scheme`
31+
532
### 🚩 Deprecations 🚩
633

734
- (Splunk) `receiver/lightprometheus`: The following configurable `resource_attributes` are being renamed to match semantic conventions. ([#6257](https://github.com/signalfx/splunk-otel-collector/pull/6257))
@@ -11,15 +38,92 @@
1138

1239
`net.host.name`, `net.host.port`, and `http.scheme` are now considered to be deprecated and will be removed in a future release.
1340

41+
- (Contrib) `googlecloudpubsubreceiver`: Add deprecation warning for the build-in encoders ([#39371](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39371))
42+
The build-in encoders `cloud_logging` and `raw_text` both have encoding extension alternatives and will be removed
43+
in version v0.132.0 of the collector.
44+
45+
- (Contrib) `processor/tailsampling`: The invert decisions (InvertSampled and InvertNotSampled) have been deprecated, please make use of drop policy to explicitly not sample select traces. ([#39833](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39833))
46+
1447
### 💡 Enhancements 💡
1548

1649
- (Splunk) `deployments/nomad`: Add official support for `v1.9.7` ([#6248](https://github.com/signalfx/splunk-otel-collector/pull/6248))
1750

51+
- (Core) `confmap`: Update the behavior of the confmap.enableMergeAppendOption feature gate to merge only component lists. ([#12926](https://github.com/open-telemetry/opentelemetry-collector/pull/12926))
52+
- (Core) `service`: Add item count metrics defined in Pipeline Component Telemetry RFC ([#12812](https://github.com/open-telemetry/opentelemetry-collector/pull/12812))
53+
See [Pipeline Component Telemetry RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md) for more details:
54+
- `otelcol.receiver.produced.items`
55+
- `otelcol.processor.consumed.items`
56+
- `otelcol.processor.produced.items`
57+
- `otelcol.connector.consumed.items`
58+
- `otelcol.connector.produced.items`
59+
- `otelcol.exporter.consumed.items`
60+
61+
- (Core) `tls`: Add trusted platform module (TPM) support to TLS authentication. ([#12801](https://github.com/open-telemetry/opentelemetry-collector/pull/12801))
62+
Now the TLS allows the use of TPM for loading private keys (e.g. in TSS2 format).
63+
64+
- (Contrib) `fileconsumer`: Support "`compression:auto`" which automatically detects file compression type and ingests data. Currently, only gzip compressed files are auto detected. This allows for mix of compressed and uncompressed files to be ingested with the same filelogreceiver. ([#37772](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/37772))
65+
- (Contrib) `kafkaexporter`: Add compression level in kafka producer. ([#39772](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39772))
66+
- (Contrib) `splunkenterprisereceiver`: adds `splunk.indexer.rollingrestart.status` metric ([#39023](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39023))
67+
- (Contrib) `carbonreceiver`: Support unnamed groups in carbon receiver regex parser ([#39137](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39137))
68+
- (Contrib) `splunkenterprisereceiver`: Added a new `splunk.search.initiation`, `splunk.search.duration`, `splunk.search.status`, and `splunk.search.success` metrics. ([#39566](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39566))
69+
- (Contrib) `eventlogreceiver`: add raw XML query filtering option ([#39055](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39055))
70+
- (Contrib) `mongodbatlasreceiver`: Add support for setting custom base URL for the MongoDB Atlas API ([#39345](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39345))
71+
- (Contrib) `postgresqlreceiver`: Reduce component footprint by removing the loading of unnecessary SQL drivers ([#39918](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39918))
72+
Custom builds that are using the postgresql receiver and no other SQL related receivers
73+
will see a reduction in the output binary size. A similar effect is expected also for
74+
the sqlserverreceiver.
75+
76+
- (Contrib) `spanmetricsconnector`: Separate Dimensions for calls and duration metrics ([#36805](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/36805))
77+
Add two new fields to the settings: `histogram.dimensions` and `calls_dimensions`.
78+
Use them to add independent dimensions to the duration and calls metrics.
79+
80+
- (Contrib) `pkg/ottl`: Add support for HasPrefix and HasSuffix functions ([#39825](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39825))
81+
- (Contrib) `k8sobjectsreceiver`: k8sobject receiver support leader election ([#39054](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39054))
82+
- (Contrib) `receiver/k8scluster`: Add node name to pod metadata ([#37454](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/37454))
83+
- (Contrib) `receiver/hostmetricsreceiver`: Migrated `hostmetricsreceiver` to use `pkg/winperfcounters` when retrieving Windows performance counters. ([#38858](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/38858))
84+
- (Contrib) `pkg/ottl`: Add the OTTL function ProfileID() ([#39587](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39587))
85+
- (Contrib) `pkg/ottl`: OTTL is now officially considered Beta stability ([#39910](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39910))
86+
- (Contrib) `postgresqlreceiver`: we introduced the top query collection to postgresql receiver. this will collect the queries from `pg_stat_statements` and report the related metrics. this will help the end user to identify which queries are most executed, and resources most used. ([#39573](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39573))
87+
- (Contrib) `processor/redaction`: Apply redaction to log.body ([#37239](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/37239))
88+
- (Contrib) `processor/tailsampling`: New policy type to explicitly drop traces regardless of other policy decisions. ([#39668](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39668))
89+
- (Contrib) `processor/transform`: The transformprocessor is now officially considered Beta stability ([#39928](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39928))
90+
1891
### 🧰 Bug fixes 🧰
1992

2093
- (Splunk) `receiver/smartagent`: Use the system certificate pool as the default pool on Windows, keeping behavior of monitors consistent with other OSes. ([#6240](https://github.com/signalfx/splunk-otel-collector/pull/6240))
2194
- (Splunk) `discovery`: Fix the prometheus config for envoy discovery receiver ([#6243](https://github.com/signalfx/splunk-otel-collector/pull/6243))
2295

96+
- (Core) `exporterhelper`: Add validation error for batch config if min_size is greater than queue_size. ([#12948](https://github.com/open-telemetry/opentelemetry-collector/pull/12948))
97+
- (Core) `telemetry`: Allocate less memory per component when OTLP exporting of logs is disabled ([#13014](https://github.com/open-telemetry/opentelemetry-collector/pull/13014))
98+
- (Core) `confmap`: Use reflect.DeepEqual to avoid panic when confmap.enableMergeAppendOption feature gate is enabled. ([#12932](https://github.com/open-telemetry/opentelemetry-collector/pull/12932))
99+
- (Core) `internal telemetry`: Add resource attributes from telemetry.resource to the logger ([#12582](https://github.com/open-telemetry/opentelemetry-collector/pull/12582))
100+
Resource attributes from telemetry.resource were not added to the internal
101+
console logs. Now, they are added to the logger as part of the "resource" field.
102+
103+
- (Core) `confighttp and configcompression`: Fix handling of `snappy` content-encoding in a backwards-compatible way ([#10584](https://github.com/open-telemetry/opentelemetry-collector/pull/10584), [#12825](https://github.com/open-telemetry/opentelemetry-collector/pull/12825))
104+
The collector used the Snappy compression type of "framed" to handle the HTTP
105+
content-encoding "snappy". However, this encoding is typically used to indicate
106+
the "block" compression variant of "snappy". This change allows the collector to:
107+
- When receiving a request with encoding 'snappy', the server endpoints will peek
108+
at the first bytes of the payload to determine if it is "framed" or "block" snappy,
109+
and will decompress accordingly. This is a backwards-compatible change.
110+
111+
If the feature-gate "confighttp.framedSnappy" is enabled, you'll see new behavior for both client and server:
112+
- Client compression type "snappy" will now compress to the "block" variant of snappy
113+
instead of "framed". Client compression type "x-snappy-framed" will now compress to the "framed" variant of snappy.
114+
- Servers will accept both "snappy" and "x-snappy-framed" as valid content-encodings.
115+
116+
- (Contrib) `kafkaexporter`: Make Sarama's ConfigurationError as permanent to prevent retries ([#38604](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/38604))
117+
- (Contrib) `kafkaexporter`: fix the default topic configuration, and default message partitioning (#39810, #39816)
118+
- (Contrib) `kafkareceiver`: Fix support for built-in text encodings with hyphens in the encoding name ([#39793](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39793))
119+
- (Contrib) `tailsamplingprocessor`: Fix the misleading decision timer latency metric ([#38502](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/38502))
120+
- (Contrib) `pkg/stanza/fileconsumer`: Mute new reader log when the noStateTracker is used ([#39855](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39855))
121+
- (Contrib) `prometheusreceiver`: Add 'fallback_scrape_protocol' to entries obtained through Target Allocator, unless already defined. ([#39672](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39672))
122+
This applies the same configuration change that is already applied on static configuration.
123+
- (Contrib) `prometheusreceiver`: Convert ms to s when setting start time on the metric ([#39912](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39912))
124+
125+
- (Contrib) `receiver/sqlserver`: Properly parse numbers stored in scientific notation to integers ([#39124](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39124))
126+
23127
## v0.125.0
24128

25129
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.125.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.125.0)

0 commit comments

Comments
 (0)