v0.79.0
srv-gh-o11y-gdi
released this
15 Jun 20:28
·
1947 commits
to main
since this release
This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.79.0 and the opentelemetry-collector-contrib v0.79.0 releases where appropriate.
🛑 Breaking changes 🛑
- (Contrib) Set
pkg.translator.prometheus.NormalizeName
feature gate back to Alpha state since it was enabled
prematurely. Metrics coming from Prometheus receiver will not be normalized by default, specifically_total
suffix
will not be removed from metric names. To maintain the current behavior (drop the_total
suffix), you can enable
the feature gate using the--feature-gates=pkg.translator.prometheus.NormalizeName
command argument. However, note
that the translation in the prometheus receiver is a subject to possible future changes.
(#23229) - (Contrib)
attributesprocessor
: Enable SHA-256 as hashing algorithm by default for attributesprocessor hashing action (#4759) - (Contrib)
windowseventlogreceiver
: Emit raw Windows events as strings instead of byte arrays (#22704) - (Contrib)
pkg/ottl
: RemovesStandardTypeGetter
in favor ofStandardStringGetter
,StandardIntGetter
,StandardFloatGetter
, andStandardPMapGetter
, which handle converting pcommon.Values of the proper type. (#22763)
This is only a breaking change for users using OTTL in custom components. For all Contrib components this is an enhancement. - (Contrib)
postgresqlreceiver
: Remove resource attribute feature gates (#22479)
💡 Enhancements 💡
- (Splunk)
smartagentreceiver
: Addkubernetes-cluster
config option to sync node labels as properties on thekubernetes_node
dimension (#3267) - (Splunk) Discovery mode: Support
splunk.discovery
mapping in properties.discovery.yaml (#3238) - (Splunk) Upgrade to the latest Java agent version v1.25.0 (#3272)
- (Contrib)
jmxreceiver
: Add the JMX metrics gatherer version 1.26.0-alpha to the supported jars hash list (#22042) - (Contrib)
receivers
: Addinginitial_delay
to receivers to control when scraping interval starts (#23030)
The updated receivers are:oracledb
postgresql
sqlquery
windowsperfcounters
- (Contrib)
oracledbreceiver
: Add a simpler alternative configuration option (#22087) - (Contrib)
pkg/ottl
: Addbody.string
accessor to ottllog (#22786) - (Contrib)
pkg/ottl
: Allow indexing map and slice log bodies (#17396, #22068) - (Contrib)
pkg/ottl
: Add hash converters/functions for OTTL (#22725) - (Contrib)
splunkhecreceiver
: Support different strategies for splitting payloads when receiving a request with the Splunk HEC receiver (#22788) - (Contrib)
exporter/splunk_hec
: Apply compression to Splunk HEC payload unconditionally if it's enabled in the config (#22969, #22018)
The compression used to be enabled only if the payload size was greater than 1.5KB which significantly
complicated the logic and made it hard to test. This change makes the compression unconditionally applied to
the payload if it's enabled in the config. The benchmarking shows improvements in the throughput and CPU usage for
large payloads and expected degradation for small payloads which is acceptable given that it's not a common case. - (Core)
otelcol
: Add connectors to output of thecomponents
command (#7809) - (Core)
scraperhelper
: Will start calling scrapers on component start. (#7635)
The change allows scrapes to perform their initial scrape on component start
and provide an initial delay. This means that scrapes will be delayed byinitial_delay
before first scrape and then run oncollection_interval
for each consecutive interval. - (Core)
batchprocessor
: Change multiBatcher to use sync.Map, avoid global lock on fast path (#7714) - (Core, Contrib, Splunk) Third-party dependency updates.
🧰 Bug fixes 🧰
- (Splunk)
smartagentreceiver
add missingmonitorID
logger field tohttp
monitor (#3261) - (Contrib)
jmxreceiver
: Fixed the issue where the JMX receiver's subprocess wasn't canceled upon shutdown, resulting in a rogue java process. (#23051) - (Contrib)
internal/filter/filterlog
: fix filtering non-string body by bodies property (#22736)
Affectsfilterprocessor
andattributesprocessor
. - (Contrib)
prometheusreceiver
: Remove sd_file validations from config.go in Prometheus Receiver to avoid failing Collector with error as this behaviour is incompatible with the Prometheus. (#21509) - (Contrib)
fileexporter
: Fixes broken lines when rotation is set. (#22747) - (Contrib)
exporter/splunk_hec
: Make sure themax_event_size
option is used to drop events larger thanmax_event_size
instead of using it for batch size. (#18066) - (Contrib)
postgresqlreceiver
: Fix race condition when capturing errors from multiple requests simultaneously (#23026) - (Contrib)
prometheusreceiver
: The prometheus receiver now sets a full, versioned user agent. (#21910) - (Contrib)
splunkhecreceiver
: Fix reusing the same splunkhecreiver between logs and metrics (#22848) - (Core)
connectors
: When replicating data to connectors, consider whether the next pipeline will mutate data (#7776)
Docker Images:
quay.io/signalfx/splunk-otel-collector:0.79.0-amd64
(digest:sha256:bac0f324e18e11f0c4df8a6c0b551a03414efa6d5a34e54fe9134e234348066d
)quay.io/signalfx/splunk-otel-collector:0.79.0-arm64
(digest:sha256:c03f9ee5cf5d15dd19c8f77a2411df088296ae852eb10c532f5e3f8639f4c36b
)quay.io/signalfx/splunk-otel-collector:0.79.0-ppc64le
(digest:sha256:b88dba6c70f4b64b8293652868f2b3ec67ca291ae652be7f2f65c1555a5ebf8f
)quay.io/signalfx/splunk-otel-collector-windows:0.79.0
(digest:sha256:47622257d72c1f0dbfeb05eb65eb7ea37501ca324767281909c52fff99f8332f
)quay.io/signalfx/splunk-otel-collector-windows:0.79.0-2022
(digest:sha256:a3499adc6adacfd3dffc1a3293c507dc60d4eccb310d3d73cb5937397530bba7
)