This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.129.0
and the opentelemetry-collector-contrib v0.129.0 releases where appropriate.
🛑 Breaking changes 🛑
- (Core)
exporterhelper
: Remove deprecated sending_queue::blocking options, use sending_queue::block_on_overflow. (#13211) - (Contrib)
kafka
: remove broken SASL/AWS_MSK_IAM auth mechanism from Kafka components (#40554) - (Contrib)
kafkareceiver
: Improve kafkareceiver internal metrics telemetry (#40816)
This change adds the following internal telemetry metrics to the receiver:- kafka_broker_connects
- kafka_broker_closed
- kafka_broker_throttling_duration
- kafka_receiver_bytes
- kafka_receiver_bytes_uncompressed
- kafka_receiver_latency
In addition it removes explicit component "name" metrics attribute which should be enabled with "telemetry.newPipelineTelemetry"
collector feature gate instead. And changes "partition" metrics attribute to more direct "int64" type instead of "string".
- (Contrib)
receiver/httpcheck
: Always close resp.Body and add timeout (#40552) - (Contrib)
sqlserverreceiver
: Only empty strings for query texts and query plans when obfuscation failed. (#40527)
This change applies only to top query collection and query sample collection.
🚩 Deprecations 🚩
- (Splunk)
packaging
: Fluentd support has been deprecated in packages and will be removed in a future release.
Please refer to deprecation documentation for more information (#6366) - (Contrib)
resourcedetectionprocessor
: Promote the processor.resourcedetection.removeGCPFaasID feature gate to beta. (#40601)
The faas.id attribute is replaced by the faas.instance attribute. | This disables detection of the faas.id resource attribute by default. | Re-enable by disabling the processor.resourcedetection.removeGCPFaasID feature gate. - (Contrib)
resourcedetectionprocessor
: Remove the stable processor.resourcedetection.hostCPUSteppingAsString featuregate (#40569)
It was supposed to be removed in v0.110.0. - (Contrib)
prometheusreceiver
: Promote the receiver.prometheusreceiver.RemoveLegacyResourceAttributes featuregate to stable (#40572)
It has been beta since v0.126.0
💡 Enhancements 💡
- (Splunk) Update
splunk-otel-javaagent
tov2.17.0
(#6397) - (Splunk) Update
splunk-otel-js
tov3.3.0
(#6396) - (Splunk)
receiver/discovery
: Propagate logs reported by dynamic receivers (#6388)
Sample and propagate all logs from the dynamically created receivers to the stdout. This brings visibility to discovery issues that are not covered by the matching discovery rules - (Splunk)
receiver/discovery
: Set service.type as part of a discovery rule (#6400)
Deducing service.type from the existing data isn't reliable. For example, discovered kafka service gets "kafkametrics" name.
This changes adds another required field to a service discovery rule to signify what type of a service is being discovered. - (Core)
service
: Support settingsampler
andlimits
underservice::telemetry::traces
(#13201)
This allows users to enable sampling and set span limits on internal Collector traces using the
OpenTelemetry SDK declarative configuration. - (Contrib)
windowseventlogreceiver
: Added option to prevent collector shutdown due to errors while opening channels (#36237) - (Contrib)
azuremonitorreceiver
: Add support for azureauth when batch api is enabled. (#40872) - (Contrib)
azuremonitorreceiver
: fix unnecessarily exported struct (#40662) - (Contrib)
azuremonitorreceiver
: Added new config that sets the number of unique resource IDs to fetch per Batch API call (#40112) - (Contrib)
hostmetricsreceiver
: Skeleton nfsscraper -- adds Linux nfs and nfsd metrics from /proc (#39978) - (Contrib)
receiver/hostmetrics
: Addsystem.paging.faults
metrics on Windows (#40468) - (Contrib)
elasticsearchreceiver
: Add support for ES version 9 (#39929) - (Contrib)
kafkareceiver
: Add an Alpha feature gatereceiver.kafkareceiver.UseFranzGo
to use franz-go in the Kafka receiver for better performance. (#40628)
Adds an experimental opt-in support to use the franz-go client in the Kafka receiver.
The franz-go client is a high-performance Kafka client that can improve the performance of the Kafka receiver.
The default client remains sarama, which is used by the Kafka exporter and other components.
Enable the franz-go client by setting thereceiver.kafkareceiver.UseFranzGo
feature gate. - (Contrib)
kafkareceiver
: Refactor Sarama client to pave the way for franz-gofeaturegate
opt-in (#40628) - (Contrib)
kafkaexporter
: Improve kafkaexporter internal metrics telemetry (#40815) - (Contrib)
kafkareceiver
: Create the consumer group asynchronously, and report component status (#40516)
This change ensures that the collector can start up if the Kafka cluster is not available
or the consumer group creation fails due to some other transient, retryable error. - (Contrib)
sqlserverreceiver
: add feature gate for removing metrics resource attributesserver.address
, andserver.port
(#40579)
These are not resource attributes according to the semantic conventions.
To enable this feature gate, when running the otel collector, pass the following argument--feature-gates=receiver.sqlserver.RemoveServerResourceAttribute
. - (Contrib)
sqlqueryreceiver
: Add SQL connection fieldshost
,port
,database
,username
,password
, andadditional_params
. (#39760)
These options can be used instead of the existingdatasource
configuration option. - (Contrib)
sqlserverreceiver
: Update obfuscation library to usemssql
mode. (#40525)
Now it can obfuscate more SQL Server specific queries which may not work before. - (Contrib)
processor/transform
: Introduce optional metric name suffix setup for metric conversion functions (#33850)
The affected functions are: convert_summary_count_val_to_sum(), convert_summary_sum_val_to_sum(), extract_count_metric(), extract_sum_metric()
🧰 Bug fixes 🧰
- (Core)
pdata
: Fix copying of optional fields when the source is unset. (#13268) - (Core)
service
: Only allocate one set of internal log sampling counters (#13014)
The case where logs are only exported to stdout was fixed in v0.126.0;
this new fix also covers the case where logs are exported through OTLP. - (Contrib)
collectdreceiver
: Ensure the receiver closes its port when shutting down quickly after starting. (#40406) - (Contrib)
hostmetricsreceiver
: Minor fix to the handling of conntrack errors (#40175) - (Contrib)
k8sattributesprocessor
: Make sure getIdentifiersFromAssoc() can handle container.id (#40745) - (Contrib)
kafka
: Fixes a defect introduced in #39115 that prevents MSK IAM auth from working (#40720) - (Contrib)
kafkareceiver
: Protect partition lost/revoke callback against unassigned groups (#40920)
Note that due to the nature of the timing issue this is extremely unlikely to affect a real user,
and really only likely to occur in unit tests.
in the metadata file, thehost.name
resource attribute is defined for metrics, but it is not exported in reality. this fixed the issue and export it as a resource attribute. - (Contrib)
opampextension
: Set the default value ofReportsAvailableComponents
totrue
(#40485) - (Contrib)
receivercreator
: Properly handle default endpoint for annotation discovery (#40712)
Annotation discovery should not add the default endpoint explicitly. Configuration
should be left empty if users do not set anything. Main flow of the receiver_creator
already adds the default endpoint, if not provided, at a later stage by also checking
if target receiver supports it. This patch ensures this logic is unified for both
annotation discovery and templated based discovery.
IAM auth requires TLS, but the config translation was enabling SASL when it intended to enable TLS - (Contrib)
receiver/httpcheck
: Fix resource leak caused by failure to close request body (#40695) - (Contrib)
receiver/simpleprometheus
: Fix bug that caused the labels configuration option to be ignored (#40722) - (Contrib)
routingconnector
: Copy IsMonotonic and AggregationTemporality when routing metrics on datapoint context. (#37273) - (Contrib)
snowflakereceiver
: adds a pre-scrape check to see if metrics are enabled. (#40418) - (Contrib)
snowflakereceiver
: Correct handling of datatypes of Snowflake receiver (#40418) - (Contrib)
snowflakereceiver
: Rectified datatypes of storagemetrics of Snowflake receiver (#40857) - (Contrib)
sqlserverreceiver
: exporthost.name
as resource attributes for metrics (#40576)
Docker Image Manifests:
- Linux (amd64, arm64, ppc64le) and Windows (2019 amd64, 2022 amd64):
quay.io/signalfx/splunk-otel-collector:0.129.0
- digest:
sha256:f59e9b3c69466a68e2ecf2389f7e377264a984e4852a52af382e720d40856450
- Windows (2019 amd64, 2022 amd64):
quay.io/signalfx/splunk-otel-collector-windows:0.129.0
- digest:
sha256:2ad61c558998864acae8cde8a151972c4addcf31d836c73d1e5aa9f2fd48f817