v0.81.0
This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.81.0 and the opentelemetry-collector-contrib v0.81.0 releases where appropriate.
🛑 Breaking changes 🛑
- (Core)
service
: Remove 'service.connectors' featuregate (#7952) - (Contrib)
receiver/mongodbatlas
: Change the types ofConfig.PrivateKey
andConfig.Alerts.Secret
to beconfigopaque.String
(#17273)
🚩 Deprecations 🚩
mysqlreceiver
: setmysql.locked_connects
as optional in order to remove it in next release (#14138, #23274)
💡 Enhancements 💡
-
(Splunk) Package default discovery configuration in reference form in
/etc/otel/collector/config.d
(#3311) -
(Splunk) Add bundled collectd/nginx Smart Agent receiver discovery rules (#3321)
-
(Splunk) Support custom
--discovery-properties
file (#3334) -
(Splunk) Add
--discovery
to the Linux installer script (#3365) -
(Splunk) Starting from this version the logs pipeline is split in the default configuration in a way that profiling
data is always sent to Splunk Observability endpoint while other logs can be sent to another hec endpoint configured
withSPLUNK_HEC_URL
andSPLUNK_HEC_TOKEN
environment variables (#3330) -
(Core)
HTTPServerSettings
: Add zstd support to HTTPServerSettings (#7927)
This adds ability to decompress zstd-compressed HTTP requests to| all receivers that use HTTPServerSettings. -
(Core)
confighttp
: Addresponse_headers
configuration option on HTTPServerSettings. It allows for additional headers to be attached to each HTTP response sent to the client (#7328) -
(Core)
otlpreceiver, otlphttpexporter, otlpexporter, configgrpc
: Upgrade github.com/mostynb/go-grpc-compression and switch to nonclobbering imports (#7920)
consumers of this library should not have their grpc codecs overridden -
(Core)
otlphttpexporter
: Treat partial success responses as errors (#6686) -
(Contrib)
sqlqueryreceiver
: Add support of Start and End Timestamp Column in Metric Configuration. (#18925, #14146) -
(Contrib)
filelogreceiver
: Add support for tracking the current file in filelogreceiver (#22998) -
(Contrib)
pkg/ottl
: Adds newTime
converter to convert a string to a Golang time struct based on a supplied format (#22007) -
(Contrib)
hostmetricsreceiver
: Add new Windows-exclusive process.handles metric. (#21379) -
(Contrib)
resourcedetectionprocessor
: Adds a way to configure the list of added resource attributes by the processor (#21482)
Users can now configure what resource attributes are gathered by specific detectors.
Example configuration:resourcedetection: detectors: [system, ec2] system: resource_attributes: host.name: enabled: true host.id: enabled: false ec2: resource_attributes: host.name: enabled: false host.id: enabled: true
For example, this config makes
host.name
being set bysystem
detector, andhost.id
byec2
detector.
Moreover:- Existing behavior remains unaffected as all attributes are currently enabled by default.
- The default attributes 'enabled' values are defined in
metadata.yaml
. - Future releases will introduce changes to resource_attributes
enabled
values. - Users can tailor resource detection process to their needs and environment.
-
(Contrib)
k8sclusterreceiver
: Switch k8s.pod and k8s.container metrics to use pdata. (#23441)
🧰 Bug fixes 🧰
- (Contrib)
k8sclusterreceiver
: Add back all other vendor-specific node conditions, and report them even if missing, as well as all allocatable node metrics if present, to the list of Kubernetes node metrics available, which went missing during the pdata translation (#23839) - (Contrib)
k8sclusterreceiver
: Add explicitlyk8s.node.allocatable_pods
to the list of Kubernetes node metrics available, which went missing during the pdata translation (#23839) - (Contrib)
receiver/kafkametricsreceiver
: Updates certain metrics in kafkametricsreceiver to function as non-monotonic sums. (#4327)
Update the metrics type in KafkaMetricsReceiver from "gauge" to "nonmonotonic sum". Changes metrics are, kafka.brokers, kafka.topic.partitions, kafka.partition.replicas, kafka.partition.replicas_in_sync, kafka.consumer_group.members. - (Contrib)
windowseventlogreceiver
: Fix buffer overflow when ingesting large raw Events (#23677) - (Contrib)
pkg/stanza
: adding octet counting event breaking for syslog parser (#23577)
Docker Images:
quay.io/signalfx/splunk-otel-collector:0.81.0-amd64
(digest:sha256:17e4f3b3152492f7d802a3280ef68f6f37b5634e54f6b7e01685c5548f2e8d14
)quay.io/signalfx/splunk-otel-collector:0.81.0-arm64
(digest:sha256:39f70c23b7b676a2037f4fba624096421057fc595f32bf13735ac8413eb0b14a
)quay.io/signalfx/splunk-otel-collector:0.81.0-ppc64le
(digest:sha256:fcd7edd1fe23c88e056c6d747a730af8c1d4c5b0fab67951db9937df6b87365a
)quay.io/signalfx/splunk-otel-collector-windows:0.81.0
(digest:sha256:68049a383be0b91ddffb03cbeab672786ae7851a26d995bce2af3287297b9a4e
)quay.io/signalfx/splunk-otel-collector-windows:0.81.0-2022
(digest:sha256:2889298d605e83463f163117b926336f185fcffb0a06fd928c243f3e30f79704
)