chore(deps): update module github.com/open-telemetry/opentelemetry-collector-contrib/connector/countconnector to v0.146.0#53
Open
topicus-education-renovate-bot[bot] wants to merge 1 commit intomainfrom
Conversation
2242610 to
5b8e44a
Compare
5b8e44a to
e66579e
Compare
e66579e to
2a04286
Compare
051e9c1 to
0d504c0
Compare
0d504c0 to
7772b5d
Compare
5dc1a5d to
0d7df48
Compare
0d7df48 to
06c2d33
Compare
0a3ba82 to
406f4b3
Compare
406f4b3 to
ddbf729
Compare
ddbf729 to
ef0bf10
Compare
f1da8e2 to
427fe28
Compare
427fe28 to
7322e40
Compare
989257c to
858cdec
Compare
858cdec to
d7e27bd
Compare
07b4649 to
f372d07
Compare
…llector-contrib/connector/countconnector to v0.146.0
f372d07 to
55d8a54
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.138.0→v0.146.0Release Notes
open-telemetry/opentelemetry-collector-contrib (github.com/open-telemetry/opentelemetry-collector-contrib/connector/countconnector)
v0.146.0Compare Source
🛑 Breaking changes 🛑
all: Increase minimum Go version to 1.25 (#46000)exporter/elasticsearch: Remove ecs mode log enrichment foragent.nameandagent.version(#45849)The removed log enrichments are duplicate code that already exists in the
github.com/elastic/opentelemetry-collector-components/processor/elasticapmprocessor. It is recommended to use thegithub.com/elastic/opentelemetry-collector-components/processor/elasticapmprocessorwhen using mapping modeecsto ensure index documents contain all required Elastic fields to power the Kibana UI.processor/akamaidetector: Update semantic conventions to v1.39.0 and use the convention for cloud.platform in Akamai detector (#45511)processor/k8s_attributes: Introduce semantic conventions compliant feature gate pair for k8sattributes processor (#44693)processor.k8sattributes.EmitV1K8sConventionsfeature gate to enable stable semantic convention attributes (singular form:k8s.<workload>.label.<key>andk8s.<workload>.annotation.<key>)processor.k8sattributes.DontEmitV0K8sConventionsfeature gate to disable legacy non-compliant attributes (plural form:k8s.<workload>.labels.<key>andk8s.<workload>.annotations.<key>)alphastage and disabled by defaultk8sattr.labelsAnnotationsSingular.allowfeature gate in favor of the new semconv-compliant gates (will be removed in v0.150.0)EmitV1K8sConventionsis enabled butDontEmitV0K8sConventionsis notprocessor/resourcedetection: Promoteprocessor.resourcedetection.propagateerrorsfeature gate to Stable and is now always enabled (#44609)receiver/hostmetrics:process.context_switcheswill now properly count context switches for all threads. (#36804)Previously, only the lead thread's context switches would be counter. We believe this was a bug,
but are marking it as a breaking change since the values of these metrics may change drastically
compared to previous expectations. However, the values you get now will be more accurate than before.
receiver/kafkametrics:receiver.kafkametricsreceiver.UseFranzGofeature gate is now in Beta stage and enabled by default (#44600)🚩 Deprecations 🚩
connector/signal_to_metrics: Renamesignaltometricsconnector tosignal_to_metricsand add deprecated aliassignal_to_metrics(#45551)exporter/alibabacloud_logservice: Marking component unmaintained (#46029)processor/datadogsemantics: Deprecate thedatadogsemanticsprocessor. (#46052)If you are using this component, please contact Datadog support.
processor/k8s_attributes: Renamek8sattributesprocessor tok8s_attributesprocessor and add deprecated aliask8sattributes. (#45894)receiver/kubeletstats: TheGCEPersistentDisk,AWSElasticBlockStore, andGlusterfshave been deprecated as these have been depreacted in k8s (#40477)K8s documentation for the three deprecated volume types is below:
receiver/signalfx: This receiver is deprecated. Please use the OTLP receiver instead (#46079)This component will be removed in a future release.
receiver/wavefront: Deprecate the wavefront receiver (#46087)There is no replacement for the wavefront receiver.
Wavefront is EOL: https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/release-announcements/0/25153
🚀 New components 🚀
receiver/vcr: First PR for new receiver (#42877)💡 Enhancements 💡
cmd/golden: Golden tool now returns all comparison errors with attempt numbers instead of only the last error (#45424)When multiple metric payloads fail validation, the golden tool now displays all errors with their attempt numbers,
making it easier to debug test failures. Previously, only the last error was shown.
connector/signal_to_metrics: Adderror_modeconfiguration to control OTTL evaluation error handling. Prevents single bad record from failing entire batch. (#38826, #45746)Adds three error modes:
propagate(default): Returns error, entire batch fails (backward compatible)ignore: Logs error, skips bad record, continues processing valid recordssilent: Skips bad record silently, continues processing valid recordsexporter/datadog: Add new alpha feature gate 'exporter.datadogexporter.DisableAllMetricRemapping' to disable all metric remapping in the Datadog exporter. (#45943)The feature gate is marked as alpha pending changes in Datadog's backend.
exporter/elasticsearch: Update the ECS mode metrics data point hasher to exclude theelasticsearch.mapping.hintsattribute (#45887)Excluding the
elasticsearch.mapping.hintsattribute will allow similar metric data points to be grouped together and indexed to the same document.exporter/elasticsearch: Addtraces_dynamic_idconfig to dynamically set document IDs for traces and span events (#43649)Adds
traces_dynamic_idconfiguration option to allow setting document IDs based on span and span event attributes using theelasticsearch.document_idattribute.This prevents duplicate documents from being created when the same span is sent multiple times, similar to the existing
logs_dynamic_idfeature.Disabled by default.
exporter/file: Add support for rotation when group_by is enabled in file exporter (#43143)exporter/googlecloudstorage: Add compression support for Google Cloud Storage exporter (#45337)The Google Cloud Storage exporter now supports compression of log data before uploading to GCS.
Supported compression algorithms:
gzipandzstd.exporter/kafka: Addconn_idle_timeoutconfiguration option to control when idle connections are not reused and may be closed. (#45321)Defaults to 9 minutes.
extension/awscloudwatchmetricstreams_encoding: Add support for extracting percentile statistics (p50, p90, p99, etc.) from CloudWatch Metric Streams JSON format (#45855)The JSON unmarshaler now extracts percentile fields from CloudWatch Metric Streams data and converts them to OpenTelemetry Summary quantiles.
This enables feature parity with the embedded cwmetricstream unmarshaler in awsfirehosereceiver.
extension/awslogs_encoding: Support CloudWatch Logs extracted fields (@aws.account,@aws.region) for centralized logging (#45792)CloudWatch Logs subscription filter unmarshaler now supports extracted fields (
@aws.accountand@aws.region)that are automatically added when using CloudWatch Logs centralization and enabling
emitSystemFieldsinsubscription filters. This enhancement enables proper resource attribution in OpenTelemetry when processing
logs from multiple AWS accounts and regions. Logs with different extracted field values are automatically
grouped into separate ResourceLogs for proper semantic convention mapping:
@aws.accountmaps tocloud.account.id@aws.regionmaps tocloud.regionextension/awslogs_encoding: Handle multiple concatenated JSON objects for AWS CloudWatch Log subscription (#46120)extension/azureauth: Add and implement new methodToken(context.Context) (*oauth2.Token, error). (#45064)extension/encoding: Introduce streaming support for encoding extensions (#38780)extension/oidc: Addspublic_keys_fileto the provider config. When set, keys are loaded from a local JWKS file instead of using remote discovery. (#44899)The file is watched for changes and keys are automatically reloaded on update. Supported key types are RSA, ECDSA, and
ED25519.pkg/ottl: AddIsInCIDRfunction to check if IP belongs to given list of CIDR (#42215)pkg/sampling: Optimize OTel tracestate parsing by replacing regex validation with hand-written validator (10-21x faster). (#45539)pkg/sampling: Replace regex-based W3C tracestate validation with hand-written validator for 30-65x performance improvement (#45734)pkg/stanza: Ensure filter operator does not split batches of entries (#42391)processor/filter: Introduces inferred context conditions for filtering (#37904)Introduces three new top-level config fields [metric_conditions, log_conditions, trace_conditions].
A user can supply OTTL conditions for each without needing to supply context.
processor/k8s_attributes: Addedcontainer.image.tagsresource attribute with feature gate controls according to OpenTelemetry semantic conventions. (#44589)processor/lookup: Add lookup processor implementation and YAML source (#41816)Adds the core lookup processor implementation for enriching telemetry data using external lookups.
Includes YAML file source for loading lookup tables from local files.
processor/vultrdetector: Update semantic conventions to v1.39.0 and add support for cloud.platform in Vultr detector (#45512)receiver/datadog: Add support for handling the /api/v0.2/stats endpoint to receive and process APM trace stats payloads from the Datadog Agent. (#45778)The Datadog Receiver can now process APM trace stats payloads sent by the Datadog Agent via the /api/v0.2/stats endpoint.
The handler correctly processes gzipped msgpack payloads, decodes them into StatsPayload, translates them into OpenTelemetry-compatible metrics, and forwards them to the configured metrics consumer.
This enables the complete APM metrics flow: Application → Datadog SDK → Datadog Agent → OpenTelemetry Collector → OTEL Backends.
receiver/hostmetrics: Add optionalsystem.memory.linux.sharedmetric (#32712)This metric reports shared memory usage, including tmpfs filesystems,
System V shared memory, and POSIX shared memory. Currently only available
on Linux systems due to platform-specific data availability.
This corresponds to the
Shmemfield in/proc/meminfo.receiver/k8s_cluster: Add opt-in service metrics derived from k8s Service and EndpointSlice API (#45620)New metrics (disabled by default):
k8s.service.endpoint.count: Number of endpoints by condition (ready, serving, terminating), address type, and zonek8s.service.load_balancer.ingress.count: Number of load balancer ingress points assigned to the serviceNew resource attributes:
k8s.service.name: The k8s service namek8s.service.uid: The k8s service uidk8s.service.type: The k8s service typek8s.service.traffic_distribution: The service's traffic routing preferencek8s.service.publish_not_ready_addresses: Whether the service publishes endpoints before pods are readyreceiver/kafka: Addconn_idle_timeoutconfiguration option to control when idle connections are not reused and may be closed. (#45321)Defaults to 9 minutes.
receiver/mongodb: Add support for auth_mechanism, auth_source, and auth_mechanism_properties configuration options (#40686)Users can now specify the authentication mechanism (e.g., SCRAM-SHA-256, GSSAPI, MONGODB-AWS), auth source database,
and auth mechanism properties when connecting to MongoDB instances. This is particularly useful for MongoDB servers
that require specific authentication mechanisms. For example, GSSAPI (Kerberos) may require SERVICE_NAME, and
MONGODB-AWS may require AWS_SESSION_TOKEN when using temporary AWS credentials.
receiver/pprof: Implement the functionality of transforming pprof to OTel Profiles (#45411)receiver/prometheusremotewrite: Improved performance when parsing Remote Write v2 requests. (#45623)receiver/prometheusremotewrite: Add exemplar support to the Prometheus Remote Write receiver (#44983)receiver/redfish: Changesystem.host_nameandbase_urlas resource attributes. (#45470)receiver/sqlquery: Add support forinitial_delayin logs collection. (#29671)Log collection now applies
initial_delay(previously ignored). Ifinitial_delayis not set, the first log collection now occurs at 1 second, instead of occurring aftercollection_intervaltime has passed.receiver/sqlserver: Add thesqlserver.procedure_idandsqlserver.procedure_nameattributes to TopQuery and Sample Events (#44656)Refined query and reported events to include stored procedure information when applicable. Additionally, the maximum number of active queries reported by default has been increased from 200 to 250 to account for record deaggregation introduced by this change, ensuring the effective limit remains consistent with the previous 200-query baseline.
receiver/statsd: Discard StatsD metrics with NaN or infinite values to prevent invalid data from entering the metric pipeline (#44288)receiver/syslog: Add facility_text attribute to syslog parser output (#45641)The syslog parser now outputs a facility_text attribute containing
the human-readable facility name (e.g., "auth", "kern", "local0")
in addition to the existing numeric facility attribute.
🧰 Bug fixes 🧰
exporter/datadog: OTLP logs now support array type attributes. Arrays containing primitive values or nested maps are now correctly preserved in the log output. (#45708)exporter/datadog: Fix data race in the Datadog exporter which could cause a crash with error message "concurrent map iteration and map write". (#46051)Specifically, when processing spans with the
datadog.host.use_as_metadataattribute.exporter/elasticsearch: Fix ECS mode to properly protect known schema fields from getting.valuesuffix when conflicting with nested attributes (#37211)Previously, when ECS mode was enabled and attributes like
process.executable.nameconflicted with the known ECS fieldprocess.executable, the deduplication logic would incorrectly add a.valuesuffix to the known field, resulting inprocess.executable.value. This fix ensures protected ECS fields remain unchanged and conflicting nested attributes are properly ignored.exporter/opensearch: Fixsending_queuenot using default values fornum_consumersandqueue_sizewhen onlybatchis configured (#45016)exporter/syslog: Update the timestamp when using the RFC 3164 formatter to space-pad the day of month for single digit days (#46115)extension/awslogs_encoding: Fix duplicate resource attributes in subscription filter unmarshaler (#45792)The
aws.log.group.namesandaws.log.stream.namesresource attributes were incorrectlybeing set twice: first as array values, then immediately overwritten as string values.
This fix removes the duplicate string assignments, ensuring the attributes are correctly
set only as arrays per OpenTelemetry semantic conventions.
extension/oauth2client: Fix oauth2clientauth client-credentials grant type (#45786)extension/text_encoding: Fix text encoding extension to not split large messages when no separator is configured. (#45845)pkg/stanza: Fix recombine operator logging errors at ERROR level whenon_erroris set to quiet mode (#42646)pkg/translator/prometheusremotewrite: Fix export of Instrumentation Scope attributes as Prometheus labels. (#45912)Instrumentation Scope attributes (name, version, and other attributes) are now correctly translated to Prometheus labels with the
otel_scope_prefix.pkg/xk8stest: Fix IPv6 gateway handling in HostEndpoint to avoid invalid address formatting in e2e tests (#46082)Prefer IPv4 gateways when resolving the Docker kind network gateway.
Fall back to bracketed IPv6 if no IPv4 gateway is found, so that
appending :port produces a valid address (e.g. [::1]:4317).
processor/k8s_attributes: Fix concurrent map access panic by cloning pod labels and annotations before extraction. (#46112)processor/k8s_attributes: Allow key_regex to work without tag_name by using the default tag name format (#45719)When using key_regex with capturing groups but without specifying tag_name, the processor now
correctly uses the default tag name format (e.g., k8s.pod.labels.<label_key>) instead of
producing empty tag names.
processor/redaction: Improve database sanitization with system-aware obfuscation, span name sanitization, and URL path parameter redaction. (#44229)...name can be generated due to enabling multiple sanitizersreceiver/azure_event_hub: Fixes a bug where the receiver would stop receiving messages after a parsing error. (#45898)receiver/faro: Updates Faroreceiver to return HTTP 202 Accepted status code upon successful data ingestion to comply with the OpenAPI specification. (#45648)receiver/fluentforward: handle uint64 to int64 overflow by changing to string (#45252)FluentD supports record entries with uint64 types. OpenTelemetry log attributes only support int64 and no uint64.
The old solution would overflow with uint64 values greater than
math.MaxInt64and result in negative attribute values.This fix changes that behaviour by storing only those large values as string attributes instead.
receiver/googlecloudpubsub: Fix compression detection when both encoding and compression are set in the config (#45810)receiver/mongodb: Check if metrics are enabled before collecting them to prevent errors when metrics are disabled. (#41465)receiver/postgresql: Updated the default value for top_n_query (200) to match with other db receivers (#45612)v0.145.0Compare Source
🛑 Breaking changes 🛑
exporter/sentry: Create a new version of the sentryexporter that supports dynamic routing to Sentry projects (#45051)pkg/translator/azure: Updated OpenTelemetry semantic conversion to the latest version 1.38.0 in azure pkg. (#44801)processor/resourcedetection: Promoteprocessor.resourcedetection.removeGCPFaasIDfeature gate to Stable and is now always enabled (#45797)The faas.id attribute is replaced by the faas.instance attribute.
receiver/azure_event_hub: Upgradereceiver.azureeventhubreceiver.UseAzeventhubsfeature gate to stable. (#45527)receiver/github: Make step spans siblings of queue-job span under job span instead of children of queue-job span (#42623)This change improves a workflow job trace structure by making step spans siblings of the queue-job span under the job span.
Reflecting that queuing and step execution are sequential phases rather than nested operations which more accurately aligns with the specification.
receiver/kafka: ReplaceStartTracesOp/EndTracesOpwithStartProfilesOp/EndProfilesOpin profilesHandler. (#45601)The span name generated by the profiles receiver now uses the
ProfilesReceivedsuffix instead ofTraceDataReceived.receiver/prometheus: Promotereceiver.prometheusreceiver.RemoveReportExtraScrapeMetricsConfigfeature gate to beta (#44181)The
report_extra_scrape_metricsconfiguration option is now ignored by default. Extra scrape metrics are instead controlled by thereceiver.prometheusreceiver.EnableReportExtraScrapeMetricsfeature gate and the Prometheus upstream configuration available inpromconfig(either globally or per-scrape config).🚩 Deprecations 🚩
receiver/azure_event_hub: Renameazureeventhubreceiver toazure_event_huband add deprecated aliasazureeventhub(#45637)receiver/jmx: Deprecate the jmxreceiver to avoid running Java subprocesses in the Collector and prevent container-based deployments from requiring a Java runtime. (#45740)receiver/mongodb_atlas: Renamemongodbatlasreceiver tomongodb_atlasand add deprecated aliasmongodbatlas(#45652)💡 Enhancements 💡
connector/routing: Add move/copy support in routing connector (#45061)exporter/googlecloudstorage: Add support for exporting traces to Google Cloud Storage (#44945)exporter/signalfx: Add support for processing entity events from logs pipeline to send as dimension property updates (#27890)The SignalFx exporter now supports processing entity events (e.g., from k8s_cluster receiver)
received via the logs pipeline and converting them to dimension property updates. This provides
an alternative to the metadata_exporters option and enables consistent metadata handling.
This feature is behind the
exporter.signalfx.consumeEntityEventsfeature gate (disabled by default).extension/awslogs_encoding: Add support for processing CloudTrail logs from CloudWatch subscription filters (#45354)extension/awslogs_encoding: Allow using aws.user_identity prefix for UserIdentity bound attributes. This is enabled with extension.awslogsencoding.cloudtrail.enable.user.identity.prefix feature gate ID. (#43638)extension/azure_encoding: Add processing for Application Gateway, Azure Messaging (ServiceBus and EventHub), Data Factory, FunctionApps and BlobStorage logs records (#41725)extension/oauth2client: Support jwt-bearer grant-type (RFC7523) (#44314)extension/opamp: This change adds support for the OpAMP AcceptsRestartCommand capability. The implementation for this capability sends a SIGHUP signal to restart the collector which will reload the config on startup. (#45056)This functionality is behind a feature gate (extension.opampextension.RemoteRestarts) that defaults disabled. The SIGHUP signal does not work on windows systems, but might later be updated to use the SIGUSR2 signal.
internal/coreinternal: Improve performance of hashing function for attraction package. (#45211)pkg/fileconsumer: Open files on Windows with FILE_SHARE_DELETE mode (#32037)pkg/ottl: Added generic path to get/set span flags in OTTL trace span context. (#34739)pkg/ottl: Introducingdelete_indexfunction for deleting items from an existing array (#43098)pkg/stanza: Ensure recombine operator does not split batches of entries (#42392)pkg/stanza: Ensure container operator does not split batches of entries (#42389)pkg/stanza: Ensure syslog operator does not split batches of entries (#42394)pkg/translator/azurelogs: Add support for all Activity Logs categories (#44871)Includes support for the Alert, Autoscale, Policy, Recommendation, Security, ServiceHealth, and ResourceHealth categories.
processor/k8sattributes: Added processor-specific observability metrics:otelcol.k8s.pod.associationwithstatus,pod_identifier, andotelcol.signalattributes (#44587)processor/resourcedetection: Add support for GCP resource detector to gather GCE instance labels as resource attributes (#35859)The GCP resource detector now supports gathering GCE instance labels as resource attributes, allowing for more detailed resource metadata in telemetry data.
processor/resourcedetection: Added Alibaba Cloud ECS resource detector to the Resource Detection Processor (#45632)processor/tail_sampling: New policy type to return the opposite of the sampling decision of a wrapped policy. (#39668)processor/tail_sampling: Add trace_flags policy (#43867)processor/tail_sampling: Provide option to limit maximum trace size kept in memory by the tail sampling processor (#45286)Traces that exceed the size limit will be immediately dropped, not have a decision made for them.
receiver/azureblob: Replace deprecatedazure-event-hubs-goSDK withazure-sdk-for-go(#44335)receiver/filelog: Suppress repeated permission-denied errors (#39491)Only one error is logged per file per process run, and an informational message is emitted when the file becomes readable again.
This reduces log spam and improves clarity for operators.
receiver/hostmetrics: Add support for Linux hugepages memory monitoring via system.memory.linux.hugepages metrics. (#42650)Users can now monitor hugepages usage on host machine.
receiver/jmx: Add the JMX scraper version "1.53.0-alpha" to the supported jars hash list (#45571)receiver/jmx: Add the JMX metrics gatherer version "1.53.0-alpha" to the supported jars hash list (#45570)receiver/k8sobjects: Add support for exclude_namespaces to exclude specific namespaces from being watched. (#36217)Add support for exclude_namespaces to exclude specific namespaces from being watched.
receiver/prometheus: Support removable Prometheus service discoveries via Go build tags. (#44406)Prometheus service discoveries can now be removed at build time when building the collector with OCB (OpenTelemetry Collector Builder).
Use the
build_tagsoption in the builder configuration to pass Go build tags such asremove_all_sdto exclude optional service discoveries.See the Prometheus documentation for available build tags to customize which service discoveries are included.
receiver/snowflake: Enables dynamic metric reaggregation in the Splunk Enterprise receiver. This does not break existing configuration files. (#45396)receiver/windowsservice: Enables dynamic metric reaggregation in the Splunk Enterprise receiver. This does not break existing configuration files. (#45396)🧰 Bug fixes 🧰
exporter/coralogix: Fix unmarshalling to avoid validation errors with profiles when protocol is set to http. (#45677)exporter/elasticsearch: Add status code OK to success document processed metric. (#45067)internal/datadog: Fix race condition in gohai host metadata payload causing concurrent map access panic (#30438)Deep copy the host metadata payload before passing it to ConsumeHostMetadata() to prevent
concurrent map access when the reporter's gohai collector refreshes maps while JSON marshaling
iterates over them. This fixes the "fatal error: concurrent map iteration and map write" panic
that occurred with multiple concurrent metric consumers and host metadata enabled.
internal/metadataproviders: Fix kubeadm resource detector to correctly read clusterName from kubeadm configmap (#45603)pkg/ottl: Fix debug logs in OTTL parser to not panic when marshalling transform contexts with invalid pdata (#44705)pkg/stanza: Fix transformer operators logging errors at ERROR level whenon_erroris set to quiet mode (#42646)pkg/stanza: Fixcontaineroperator log truncation for large CRI logs (#43982)Previously the option
max_log_sizeof thecontaineroperator did not work correctly, with the maximum log size limited to an arbitrary value even ifmax_log_sizewas higher or set to0to remove the limit. With this changemax_log_size: 0works correctly, removing the upper limit on log size.The default value for
max_log_sizeis now changed from0to1MiBto prevent boundless memory usage.pkg/stanza: Fix syslog parser operator logging errors at ERROR level whenon_erroris set to quiet mode (#42646)pkg/stanza: Fix data race in fileconsumer FileAttributes map access (#42825)processor/azuredetector: Avoid set cloud.availability_zone when Azure Availability Zone is not assigned (#45642)In cases where an Azure VM is not assigned to any Availability Zone,
the
cloud.availability_zoneattribute was being set to an empty string.This fix ensures that the attribute is only set when an Availability Zone
is indeed assigned, preventing misleading empty values.
processor/azuredetector: Fallback to VM Name when osProfile.computerName is unavailable (#45642)In certain Azure images, the
osProfile.computerNamefield may not be set.This fix ensures that the hostname detection falls back to using the VM Name
from the instance metadata service when
osProfile.computerNameis empty.processor/azuredetector: Avoid set azure.vm.scaleset.name empty when VM not in scale set (#45642)In scenarios where a VM is not part of a scale set, the
azure.vm.scaleset.nameattribute was being set to an empty string.This fix ensures that the attribute is only set when the VM is indeed
part of a scale set, preventing misleading empty values.
processor/deltatocumulative: Fix panic when processing exponential histograms with empty bucket counts (#42163)processor/k8sattributes: Fix k8s.node.uid extraction when node.name is disabled (#45328)receiver/awscontainerinsightreceiver: Add cAdvisor filesystem plugin imports to fix missing NodeFS and InstanceFS metrics (#45534)receiver/filelog: Fixed encoding not being applied to multiline pattern matching (#39011)Previously, when using multiline pattern matching with non-UTF-8 encodings (e.g., utf-16le),
the encoding was not properly applied during pattern matching, causing multiline patterns to fail.
This fix ensures that the specified encoding is correctly applied when processing multiline patterns,
allowing proper parsing of files with fixed-length records and no line terminators in various encodings.
receiver/googlecloudmonitoring: Fix boolean metrics conversion to int values (#45423)receiver/journald: Avoid passing empty cursors to journalctl when resuming journald reads (#45435)receiver/libhoney: Fix timestamp in libhoney receiver (#45799)The libhoney exporter was setting the start_time for some spans to the
current time instead of the timestamp in the event.
receiver/receiver_creator: Do not log config in receivercreator since it could contain sensitive information (#38163)v0.144.0Compare Source
🛑 Breaking changes 🛑
exporter/elasticsearch: Remove ecs mode span enrichment forspan.action,span.message.queue.name, andtransaction.message.queue.name(#45014)The removed span enrichments have been moved to the
github.com/elastic/opentelemetry-collector-components/processor/elasticapmprocessor. It is recommended to use thegithub.com/elastic/opentelemetry-collector-components/processor/elasticapmprocessorwhen using mapping modeecsto ensure index documents contain all required Elastic fields to power the Kibana UI.exporter/kafka: Remove Sarama producer implementation (#44565)The Sarama-based Kafka producer has been removed from kafkaexporter.
Feature gate
exporter.kafkaexporter.UseFranzGohas also been removed since Franz-go is now the only supported Kafka client.processor/tail_sampling: The deprecated invert decisions are disabled by default. (#44132)Drop policies should be used instead of invert decisions for explicitly not sampling a trace.
If the deprecated behavior is required while migrating to drop policies, disable the
processor.tailsamplingprocessor.disableinvertdecisionsfeature gate.receiver/kafka: Remove Sarama consumer implementation anddefault_fetch_sizeconfiguration option (#44564)The Sarama-based Kafka consumer has been removed from kafkareceiver.
The
default_fetch_sizeconfiguration option has also been removed as it was only used by the Sarama consumer.Feature gate
receiver.kafkareceiver.UseFranzGohas also been removed since Franz-go is now the only supported Kafka client.🚩 Deprecations 🚩
exporter/elasticsearch: Deprecatemapping::modeconfig option (#45246)The
mapping::modeconfig option is now deprecated and will soon be ignored. Instead, usethe
X-Elastic-Mapping-Modeclient metadata key (via headers_setter extension) or theelastic.mapping.modescope attribute to control the mapping mode per-request.See the README for migration instructions.
🚀 New components 🚀
processor/lookup: Add skeleton for external lookup enrichment processor (#41816)Adds the initial skeleton for a lookup processor that performs external lookups to enrich telemetry signals.
Also includes source abstraction with factory pattern, noop source for testing, and cache wrapper utility.
💡 Enhancements 💡
cmd/schemagen: Extend schemagen script with ability to handle external refs. (#42214)The
schemagentool has been enhanced to support external references when generatingconfiguration schemas for OpenTelemetry Collector components. This improvement allows
the tool to accurately reference and include schema definitions from external packages,
facilitating better modularity and reuse of configuration schemas across different components.
cmd/schemagen: Fixes for schemagen to handle common issues with receiver components schemas. (#42214)Fix common issues discovered while using schemagen with receiver components:
squashtag and not exported internal type (e.g. huaweicloudcesreceiver)cmd/telemetrygen: Add batching capability to metrics and traces (#42322)exporter/azureblob: Add timezone option for formatting blob names in azureblob exporter. (#43752)exporter/elasticsearch: Remove go-elasticsearch dependency to reduce binary size (#45104)This leads to a 19MB size reduction in contrib distribution
exporter/googlecloudstorage: Add support for time partitioning (#44889)exporter/opensearch: Add support for multiple variables to build index names (#42585)exporter/sumologic: Adddecompose_otlp_summariesconfiguration option to decompose OTLP Summary metrics into individual gauges and counters (#44737)extension/awslogs_encoding: Optimize CloudTrail logs unmarshaling for memory usage (#45180)processor/k8sattributes: Bumnp version of semconv to v1.39.0 (#45447)processor/redaction: Addsanitize_span_nameoption to URL and DB sanitization configs. (#44228)processor/redaction: Addignored_key_patternsconfiguration option to allow ignoring keys by regex pattern (#44657)processor/resourcedetection: Add optional docker attributes (#44898). Note: Because of opentelemetry-collector-releases#1350 this change is not available on the v0.144.0 binary releases. v0.145.0 will include this change.Add
container.image.nameandcontainer.nameoptional resource attributes with the docker detector.processor/tail_sampling: Provide an option,decision_wait_after_root_received, to make quicker decisions after a root span is received. (#43876)receiver/azureeventhub: Add support for azure auth when feature gatereceiver.azureeventhubreceiver.UseAzeventhubsis enabled. (#40711)receiver/prometheus: receiver/prometheus now associates scraped _created text lines as the created timestamp of its metric family rather than its own metric series, as defined by the OpenMetricsText spec (#45291)receiver/prometheus: Add comprehensive troubleshooting and best practices guide to Prometheus receiver README (#44925)The guide includes common issues and solutions, performance optimization strategies,
production deployment best practices, monitoring recommendations, and debugging tips.
receiver/prometheusremotewrite: Replace labels.Map() iteration with direct label traversal to eliminate intermediate map allocations. (#45166)🧰 Bug fixes 🧰
exporter/kafka: franz-go: Exclude non-produce metrics from kafka_exporter_write_latency and kafka_exporter_latency (#45258)exporter/opensearch: Fix dynamic log index feature putting logs in wrong index (#43183)exporter/prometheusremotewrite: Prevent duplicate samples by allowing the WAL to be empty (#41785)Since the WAL is being truncated after every send it's likely the reader and writer are in sync. Since WAL was not
allowed to be empty, the reader would always re-read previously delivered samples causing duplicate data to be sent
continuously.
extension/datadog: Datadog extension no longer throws an error for missing extensions when getting a list of active components, and now populates active components even when missing go mod/version info. (#45358, #45460)extension/file_storage: Handle filename too long error in file storage extension by using the sha256 of the attempted filename instead. (#44039)extension/text_encoding: Avoid spurious marshalling separators at end of lines (#42797)Previously, text_encoding would append the marshalling separator to the end of
each log record, potentially resulting in double-newlines between blocks of
records.
extension/text_encoding: Fix an issue where marshalling/unmarshalling separators were ignored (#42797)pkg/kafka/configkafka: Fix consumer group rebalance strategy validation (#45268)pkg/ottl: Fix numeric parsing to correctly handle signed numbers in math expressions. (#45222)The OTTL math expression parser did not correctly handle unary signs for plus
and minus. Expressions like
3-5would not parse correctly without insertingspaces to make it
3 - 5. This change moves the sign handling out of thelexer and into the parser.
pkg/ottl: Handle floating constants with decimal point but no fraction. (#45222)Floating point constants that had a decimal point but no fractional digits
(e.g., "3.") were not handled properly and could crash the parser. These are
now parsed as valid floating point numbers.
pkg/stanza: Fix Windows UNC network path handling in filelog receiver (#44401)The filelog receiver now correctly handles Windows UNC network paths (e.g., \server\share\logs*.log).
Previously, the receiver could list files from network shares but failed to open them due to path corruption
during normalization. This fix converts UNC paths to Windows extended-length format (\?\UNC\server\share\path)
which is more reliable and not affected by filepath.Clean() issues.
pkg/stanza: Ensurecontainerparser respects theifcondition andon_errorsettings when format detection fails (#41508)processor/resourcedetection: Prevent the resource detection processoConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.