Repository navigation
chore(deps): update dependency open-telemetry/opentelemetry-java-instrumentation to v2.32.0 - #1288
Merged
Conversation
…rumentation to v2.32.0
jaydeluca
approved these changes
Oct 3, 2026
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:
v2.31.1→v2.32.0Release Notes
open-telemetry/opentelemetry-java-instrumentation (open-telemetry/opentelemetry-java-instrumentation)
v2.32.0: Version 2.32.0Compare Source
This release targets the OpenTelemetry SDK 1.66.0.
Note that many artifacts have the
-alphasuffix attached to their version number, reflecting that they will continue to have breaking changes. Please see VERSIONING.md for more details.HostIdResource.REGISTRY_QUERYconstant. (#19778)ExperimentalJmxMetricHandlerSPI now requires implementations to providegetMetricNames(). (#19781)isRequestStreaming(REQUEST)method toGenAiAttributesGetter. (#19879)java.common.messaging.headers/developmentYAML selector no longer configures header capture. Usejava.common.messaging.headersinstead. (#20260)🚫 Deprecations
otel.jmx.target.systemin favor ofotel.jmx.metrics.experimental.included. (#19783)otel.instrumentation.elasticsearch.capture-search-query. It will be removed in 3.0, when search query bodies are always captured. There is no replacement. (#19675)otel.instrumentation.opensearch.capture-search-query. It will be removed in 3.0, when search query bodies are always captured. There is no replacement. Sanitization remains enabled by default and configurable withotel.instrumentation.opensearch.query-sanitization.enabled. (#19837)otel.jmx.enabledin favor ofotel.instrumentation.jmx.enabledto align with other instrumentation enablement properties. (#19945)VirtualField.find(Class, Class)calls in inlined javaagent advice. Instead, look up theVirtualFieldonce and store it in a helper class'sstatic finalfield. Thefindmethod itself remains supported. (#19980)RestClientusage. Java agent instrumentation is unaffected. (#19995)otel.instrumentation.messaging.experimental.receive-telemetry.enabledin favor ofotel.instrumentation.common.messaging.experimental.receive-telemetry.enabled. For headers, replaceotel.instrumentation.messaging.experimental.headers.includedand.excludedwithotel.instrumentation.common.messaging.headers.includedand.excluded. Also deprecateotel.instrumentation.messaging.experimental.capture-headersin favor ofotel.instrumentation.common.messaging.headers.included. Stable selectors take precedence per leaf. (#20060, #20260).included/.excludedproperties underotel.instrumentation.log4j-appender.experimental.map-message-attributes,otel.instrumentation.logback-appender.experimental.key-value-pair-attributes,otel.instrumentation.logback-appender.experimental.logstash-marker-attributes, andotel.instrumentation.logback-appender.experimental.logstash-structured-argument-attributesin favor of the stable and unifiedotel.instrumentation.common.logging.structured-attributes.included/.excluded. (#20066)otel.instrumentation.couchbase.experimental-span-attributesin favor ofotel.instrumentation.couchbase.emit-experimental-telemetry, a broader name for experimental attributes and internal spans from the underlying Couchbase client. (#20117)otel.traces.sampler=linksbased_parentbased_always_onwith no replacement and declarativerule_based_routingin favor of the SDK incubator composite/developmentrule_basedsampler, whose configuration and matching behavior differ. (#20249)otel.instrumentation.common.controller-telemetry.enabledandotel.instrumentation.common.view-telemetry.enabled, deprecatingotel.instrumentation.common.experimental.controller-telemetry.enabledandotel.instrumentation.common.experimental.view-telemetry.enabled. (#20258)otel.instrumentation.common.span-suppression-strategy, deprecatingotel.instrumentation.experimental.span-suppression-strategy. (#20259)otel.instrumentation.oshi.experimental-metrics.enabled,ProcessMetrics, and itsregisterObservers(...)methods in favor ofjvm.memory.usedandjvm.cpu.time. (#20323)SystemMetrics.registerObservers(Meter)in the OSHI library instrumentation in favor ofSystemMetrics.registerObservers(OpenTelemetry). (#20263)distribution.javaagent.instrumentation.enabledand.disabledlists. Usereactor_3_1instead ofreactor_3.1. Flat-property names such asotel.instrumentation.reactor-3.1.enabledare unchanged. (#20326)🌟 New javaagent instrumentation
📈 Enhancements
otel.semconv-stability.opt-in=database, including configured server targets and span names, endpoint validation, network-peer attributes, Redis namespaces, operation names, error types, query text, and connection pool metric names and database identity for Cassandra, ClickHouse, Couchbase, Elasticsearch, Geode, HBase, JDBC, Redis clients, MongoDB, OpenSearch, R2DBC, Spymemcached, and Vert.x. (#19728, #19747, #19749, #19753, #19757, #19795, #19830, #19831, #19832, #19834, #19838, #19839, #19844, #19845, #19846, #19848, #19850, #19864, #19868, #19872, #19877, #19883, #19901, #19902, #19903, #19904, #19981, #19983, #19986, #19988, #20008, #20011, #20015, #20017, #20041, #20065, #20068, #20070, #20071, #20072, #20073, #20074, #20075, #20076, #20077, #20078, #20080, #20082, #20084, #20086, #20089, #20105)otel.semconv-stability.opt-in=messaging, including operation-based spans, client and process metrics, per-message batch creation and propagation, consistent timestamps, durable subscription names, and duplicate processing suppression for Camel, Kafka Connect, JMS, SQS, and RocketMQ. (#19483, #19485, #19503, #19517, #19915, #20045, #20067, #20144)messaging.kafka.cluster.idonce cluster metadata is resolved. (#18978)ExecuteStatementandBatchExecuteStatementspans. (#19259)WARNINGlogs for invalid or empty extension locations and failed extension JAR loads, plusFINElogs for successfully loaded extension JARs. (#19584)kafka.connect.connector.statusandkafka.connect.task.statusto omit the listed supported state values. (#19724)server.addressandserver.portwhen the region's pool has exactly one configured server. (#19748)otel.semconv.exception.signal.preview=logs. (#19750, #20253, #20254)server.addressandserver.portattributes to Couchbase database spans. (#19758)otel.jmx.metrics.includedandotel.jmx.metrics.excluded, orJmxTelemetryBuilder.setMetrics(IncludeExclude)in the library. (#19782)messaging.rabbitmq.vhost.nameandmessaging.rabbitmq.cluster.namewhenotel.instrumentation.rabbitmq.experimental-span-attributes=true. (#19822)FINEinstead ofINFO, reducing default log noise. (#19825)client.addressfrom the socket peer for HTTP/1.1 and HTTP/2 requests. (#19841)network.protocol.versionattribute to Spring WebFlux 5.0 client request duration metrics. (#19842)network.protocol.versionattribute. (#19843)otel.instrumentation.opensearch.query-sanitization.enabled(defaulttrue) to control whether captured search query bodies are sanitized; set it tofalseto capture them verbatim. (#19869)gen_ai.request.streamattribute when the request uses streaming. (#19879)gen_ai.usage.cache_read.input_tokensand reasoning output token counts asgen_ai.usage.reasoning.output_tokenswhen usage details are available. (#19906)aws.bedrock.guardrail.idspan attribute to AWS Bedrock Runtime requests when a guardrail identifier is configured. (#20040)host.idresource detection opt-in for the Java agent withotel.resource.providers.host-id.enabled=true. (#20099)🛠️ Bug fixes
$JS.ACK publishunder legacy semantic conventions. (#19396)@WithSpanmethods so their spans retain the correct caller context. (#19446)sendHead()and later completed withend(), so the server span is parented to the exported client span. (#19547)?while preserving the query structure. Disable sanitization withotel.instrumentation.elasticsearch.query-sanitization.enabled=false. (#19675)BasicDataSourcewhen both instrumentations are enabled. (#19721)otel.spring-starter.debug=true. (#19725, #20034)pool.namevalue. (#19745)@SpanAttributehandling so generic values and arrays are recorded correctly as span attributes. (#19785)java.lang.ClassLoaderstub as a helper. (#19811)CLIENTspan kind. (#19858)ConsumeServiceconstructor overload. (#19860)Context.getXrayTraceId()to continue the incoming trace. (#19920)org.h2.command.dml.Update$$Lambdaclass. (#19993)OpenTelemetryDrivernow honorsotel.instrumentation.jdbc.query-sanitization.enabled, so JDBC-specific query sanitization can override the common setting. (#20020)db.name,server.address, andserver.portfor connections configured withconnectingTosuppliers. (#20050)forEachorforEachRemaininghandlers throw. (#20194)http.routeattribute. (#20216)🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@abhishuraina
@aganjai
@akg268
@amit306
@arimu1
@benjoseph-grafana
@bhuvan-somisetty
@breedx-splk
@cdsap
@choufraise
@colamong
@edwardxia
@gniadeck
@himanshuc71
@hshar89
@jaydeluca
@jeefy
@johnbley
@kejne
@Kielek
@laurit
@leonard2901
@lymerin
@markfink-splunk
@maryantocinn
@mateuszrzeszutek
@mityayak
@mwimpelberg28
@nikhiln64
@oldium
@opentelemetry-pr-dashboard
@opentelemetrybot
@patschl
@pavolloffay
@pjfanning
@praneethhere
@pureklkl
@robsunday
@rsclarke
@Sebmaster
@shashank-reddy-nr
@steverao
@sudhanshubliz
@SylvainJuge
@trask
@vincent-fuchs
@walleseve
@wangzlei
@YaoYingLong
@ym0506
@zackman0010
@ZapolyarnyDev
@zeitlinger
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.