v0.98.0
This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.98.0 and the opentelemetry-collector-contrib v0.98.0 releases where appropriate.
🛑 Breaking changes 🛑
- (Splunk) Remove the
bash
,curl
,nc
, andtar
command-line utilities from the collector packages/images and smart agent bundle (#4646) - (Splunk)
receiver/discovery
: Update metrics and logs evaluation statements schema:- Remove
severity_text
field from log evaluation statements (#4583) - Remove
first_only
field from match struct. Events are always emitted only once for first matching metric or log statement (#4593) - Combine matching conditions with different statuses in one list (#4588)
- Apply entity events schema to the logs emitted by the receiver (#4638)
- Emit only one log record per matched endpoint (#4586)
- Remove
- (Core)
service
: emit internal collector metrics with _ instead of / with OTLP export (#9774) - (Contrib)
oracledbreceiver
: Fix incorrect values being set for oracledb.tablespace_size.limit and oracledb.tablespace_size.usage (#31451)- Please grant the
DBA_TABLESPACE_USAGE_METRICS
permission to the user connecting to the Oracle DB instance to ensure all enabled metrics are properly ingested.
- Please grant the
- (Contrib)
pkg/stanza
: Revert recombine operator's 'overwrite_with' default value. (#30783) - (Contrib)
processor/attributes, processor/resource
: Remove stable coreinternal.attraction.hash.sha256 feature gate. (#31997)
🚩 Deprecations 🚩
- (Contrib)
postgresqlreceiver
: Minimal supported PostgreSQL version will be updated from 9.6 to 12.0 in a future release. (#30923)
Aligning on the supported versions as can be seen in the PostgreSQL releases section
🚀 New components 🚀
- (Splunk) Add SQL Server receiver (#4649)
💡 Enhancements 💡
- (Splunk) Automatically set
splunk_otlp_histograms: true
for collector telemetry exported viasignalfx
metrics exporter (#4655) - (Splunk) Windows installer now removes the unused configuration files from the installation directory (#4645)
- (Core)
otlpexporter
: Checks for port in the config validation for the otlpexporter (#9505) - (Core)
service
: Validate pipeline type against component types (#8007) - (Contrib)
ottl
: Add new Unix function to convert from epoch timestamp to time.Time (#27868) - (Contrib)
filelogreceiver
: When reading a file on filelogreceiver not on windows, if include_file_owner_name is true, it will add the file owner name as the attributelog.file.owner.name
and if include_file_owner_group_name is true, it will add the file owner group name as the attributelog.file.owner.group.name
. (#30775) - (Contrib) -
prometheusreceiver
: Allows receiving prometheus native histograms (#26555)- Native histograms are compatible with OTEL exponential histograms.
- The feature can be enabled via the feature gate
receiver.prometheusreceiver.EnableNativeHistograms
.
Run the collector with the command line option--feature-gates=receiver.prometheusreceiver.EnableNativeHistograms
. - Currently the feature also requires that targets are scraped via the ProtoBuf format.
To start scraping native histograms, set
config.global.scrape_protocols
to[ PrometheusProto, OpenMetricsText1.0.0, OpenMetricsText0.0.1, PrometheusText0.0.4 ]
in the
receiver configuration. This requirement will be lifted once Prometheus can scrape native histograms over text formats. - For more up to date information see the README.md file of the receiver at
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/prometheusreceiver/README.md#prometheus-native-histograms.
- (Contrib)
spanmetricsconnector
: Change default value of metrics_flush_interval from 15s to 60s (#31776) - (Contrib)
pkg/ottl
: Adding a string converter into pkg/ottl (#27867) - (Contrib)
loadbalancingexporter
: Support the timeout period of k8s resolver list watch can be configured. (#31757)
🧰 Bug fixes 🧰
- (Splunk)
discovery
: Don't use component.MustNewIDWithName (#4565) - (Core)
configtls
: Fix issue whereIncludeSystemCACertsPool
was not consistently used betweenServerConfig
andClientConfig
. (#9835) - (Core)
component
: Fix issue where thecomponents
command wasn't properly printing the component type. (#9856) - (Core)
otelcol
: Fix issue where thevalidate
command wasn't properly printing valid component type. (#9866) - (Core)
receiver/otlp
: Fix bug where the otlp receiver did not properly respond with a retryable error code when possible for http (#9357) - (Contrib)
filelogreceiver
: Fix missing scope name and group logs based on scope (#23387) - (Contrib)
jmxreceiver
: Fix memory leak during component shutdown (#32289) - (Contrib)
k8sobjectsreceiver
: Fix memory leak caused by the pull mode's interval ticker (#31919) - (Contrib)
kafkareceiver
: fix kafka receiver panic on shutdown (#31926) - (Contrib)
prometheusreceiver
: Fix a bug where a new prometheus receiver with the same name cannot be created after the previous receiver is Shutdown (#32123) - (Contrib)
resourcedetectionprocessor
: Only attempt to detect Kubernetes node resource attributes when they're enabled. (#31941) - (Contrib)
syslogreceiver
: Fix issue where static resource and attributes were ignored (#31849)
Docker Images:
quay.io/signalfx/splunk-otel-collector:0.98.0-amd64
(digest:sha256:6255d8b1ebb3cd95577d192f43e5ac08c029fd065eb720e54854ded7967e21b6
)quay.io/signalfx/splunk-otel-collector:0.98.0-arm64
(digest:sha256:1370cefd0fd33f0e691a152887b511c716b0044189b85743bfe474593f6b5a86
)quay.io/signalfx/splunk-otel-collector:0.98.0-ppc64le
(digest:sha256:ab3bf871fda3b21f770539882c9147e8bf1329d2a20ddb52f546fa0e9e223edf
)quay.io/signalfx/splunk-otel-collector-windows:0.98.0
(digest:sha256:d26e509ecf5e748c00c3381f171a7c6aa3e9a6b36ce401f7bd72c8269989ee78
)quay.io/signalfx/splunk-otel-collector-windows:0.98.0-2019
(digest:sha256:578bc9ebf571bbd011e6baf9977d844868b09219fe8e8c46e2fdf45af60d882b
)quay.io/signalfx/splunk-otel-collector-windows:0.98.0-2022
(digest:sha256:00ff87e429aaea23e17f9769faca0b99ee886293bb3b3d342428c2470531c676
)