fix(deps): update upstream otel instrumentation to v2 (main) (major) #920
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:
1.33.6-alpha
->2.10.0-alpha
1.33.6
->2.10.0
1.33.6
->2.10.0
Release Notes
open-telemetry/opentelemetry-java-instrumentation (io.opentelemetry.instrumentation:opentelemetry-instrumentation-api)
v2.10.0
🌟 New javaagent instrumentation
(#12562)
🌟 New library instrumentation
(#12562)
Migration notes
io.opentelemetry.spring-scheduling-3.1
toio.opentelemetry.spring-boot-autoconfigure
to reflect the module's name.
to 10 seconds to match the flush timeout used in the aws lambda library instrumentation.
(#12576)
📈 Enhancements
(#12505)
(#12444)
when Azure SDK tracing is disabled.
(#12489)
(#12530)
(#12515)
(#12565)
(#12571)
(#12544)
🛠️ Bug fixes
(#12479)
(#12512)
(#12511)
(#12552)
(#12583)
v2.9.0
📈 Enhancements
(#12178)
(#12266)
(#12230)
(#12326)
(#12359)
(#12373)
(#12314)
(#12398)
(#12397)
aws.requestId
was renamed toaws.request_id
(to match the semantic conventions) and it is now emitted by default.
(#12352)
(#12442)
(#12265)
(#12438)
APIGatewayProxyRequestEvent
headers for context propagation in AWS Lambda instrumentation(#12440)
(#12369)
(#12454)
🛠️ Bug fixes
(#12256)
(#12260)
(#12331)
(#12330)
(#12341)
(#12394)
(#12445)
(#12434)
v2.8.0
Migration notes
to conform with the semantic conventions.
If you are using the Java agent, this only affects you if you are opting in via
otel.instrumentation.runtime-telemetry-java17.enable-all=true
.(#12084,
#12244)
📈 Enhancements
(#11648)
network.peer.address
in OkHttp 3.0 instrumentation(#12012)
(#12077)
(#11901)
(#12183)
(#12204)
(#12144)
🛠️ Bug fixes
java.net.spi.InetAddressResolverProvider
(#11987)
(#12052)
(#12066)
(#12109)
NullPointerException
in Play instrumentation(#12121)
(#12161)
ServletRequestPathUtils.parseAndCache()
(#12221)
(#12131)
(#12176)
v2.7.0
📈 Enhancements
(#11697)
(#11936)
(#11926)
(#11954)
aws-lambda-java-serialization
library, which is available by default, while deserializing input and serializing output(#11868)
(#11974)
(#11865)
(#11914)
(#11891)
🛠️ Bug fixes
(#11893)
(#11852)
(#11934)
(#11975)
(#11726)
(#12003)
v2.6.0
The Spring Boot Starter (
opentelemetry-spring-boot-starter
) is now stable.Migration notes
opentelemetry-spring-boot
andopentelemetry-spring-boot-3
artifacts have been mergedinto a single artifact named
opentelemetry-spring-boot-autoconfigure
which supports both Spring Boot 2 and Spring Boot 3
http.server.request.size
→http.server.request.body.size
,http.server.response.size
→http.server.response.body.size
🌟 New javaagent instrumentation
(#11587)
(#11660)
📈 Enhancements
(#11620)
db.statement
for create/drop database and write operations(#11557)
otel.instrumentation.common.default-enabled
in the Spring starter(#11746)
(#11519)
messaging.producer.duration
metric(#11591)
(#11640)
(#11675)
@WithSpan
(#11757)
(#11667)
🛠️ Bug fixes
http.server.active_requests
metric with async requests(#11638)
v2.5.0
📈 Enhancements
(#11542)
(#11075)
(#11472)
(#11466)
(#11503)
(#11500)
(#11535)
(#11539)
(#11329)
(#11583)
🛠️ Bug fixes
(#11382)
(#11400)
(#11441)
(#11469)
(#11454)
(#11308)
(#11570)
(#11471)
v2.4.0
🌟 New javaagent instrumentation
(#10850)
(#11351)
(#11260)
📈 Enhancements
(#11103)
(#11141)
RestClient
in Spring starter(#11038)
(#11185)
(#11168)
(#11258)
StructuredTaskScope
instrumentation(#11202)
(#11235)
(#11221)
(#11104)
otel.instrumentation.kafka.experimental-span-attributes
in Spring starter(#11263)
(#11324)
(#10963)
(#11384)
(#11355)
(#11388)
(#11350)
🛠️ Bug fixes
(#11142)
(#11151)
(#11170)
(#11361)
(#11334)
(#11337)
v2.3.0
📈 Enhancements
(#10868)
(#10922)
(#10930)
(#11000)
(#10650)
messaging.kafka.destination.partition
tomessaging.destination.partition.id
(#11086)
service.instance.id
in spring starter(#11071)
(#11054)
(#11014)
🛠️ Bug fixes
(#10881)
(#10887)
(#10935)
(#10942)
(#10996)
(#10982)
(#11079)
v2.2.0
Migration notes
(#10454)
🌟 New javaagent instrumentation
(#10754)
(#10421)
📈 Enhancements
(#10573)
(#10457)
(#10604)
(#10629)
(#10753)
(#10781)
(#10779)
(#10799)
(#10564)
db.operation
for CREATE/DROP/ALTER SQL statement(#10020)
(#10736)
(#10453)
(#10621)
(#10575)
(#10627)
(#10613)
🛠️ Bug fixes
(#10602)
(#10669)
(#10671)
(#10685)
(#10757)
(#10766)
(#10802)
(#10741)
(#10737)
(#10855)
(#10854)
v2.1.0
Migration notes
otel.instrumentation.kafka.client-propagation.enabled
->otel.instrumentation.kafka.producer-propagation.enabled
otel.instrumentation.netty.always-create-connect-span
->otel.instrumentation.netty.connection-telemetry.enabled
otel.instrumentation.http.capture-headers.client.request
->otel.instrumentation.http.client.capture-request-headers
otel.instrumentation.http.capture-headers.client.response
->otel.instrumentation.http.client.capture-response-headers
otel.instrumentation.http.capture-headers.server.request
->otel.instrumentation.http.server.capture-request-headers
otel.instrumentation.http.capture-headers.server.response
->otel.instrumentation.http.server.capture-response-headers
otel.instrumentation.http.client.emit-experimental-metrics
->otel.instrumentation.http.client.emit-experimental-telemetry
otel.instrumentation.http.server.emit-experimental-metrics
->otel.instrumentation.http.server.emit-experimental-telemetry
(#10349)
(#10241)
You can enable using
OTEL_INSTRUMENTATION_SPRING_BOOT_ACTUATOR_AUTOCONFIGURE_ENABLED=true
or
-Dotel.instrumentation.spring-boot-actuator-autoconfigure.enabled=true
.(#10394)
annotation. Use @io.opentelemetry.instrumentation.annotations.WithSpan annotation instead.
(#10530)
🌟 New javaagent instrumentation
(#10258)
(#10141)
🌟 New library instrumentation
(#10100)
📈 Enhancements
(#10276)
(#10311)
(#10306)
(#10277)
(#10364)
(#10355)
(#10292)
here
application.properties
orapplication.yml
(#10420)
(#10512)
otel.propagators
(#10408)
(#10290)
(#10253)
🛠️ Bug fixes
(#10243)
(#10254)
(#10222)
(#10250)
(#10283)
to downstream according to parent contract
(#10303)
(#10301)
(#10336)
(#10333)
(#10282)
(#10346)
HTTP requests
(#10350)
io.opentelemetry
package when matching(#10385)
client.address
when X-Forwarded-For is not present(#10370)
(#10410)
(#10389)
(#10458)
Statement.getConnection()
(#10554)
otel.propagators
(#10559)
server.address
andserver.port
in Cassandra instrumentation(#10357)
🧰 Tooling
(#10015)
v2.0.0
The 2.0.0 release contains significant breaking changes that will most likely affect all users,
please be sure to read the breaking changes below carefully.
Note: 1.32.x will be security patched for at least 6 months in case some of the changes below are
too disruptive to adopt right away.
grpc
tohttp/protobuf
in order to align withthe specification.
You can switch to the
grpc
protocol usingOTEL_EXPORTER_OTLP_PROTOCOL=grpc
or
-Dotel.exporter.otlp.protocol=grpc
.OTEL_INSTRUMENTATION_MICROMETER_ENABLED=true
or
-Dotel.instrumentation.micrometer.enabled=true
.OTEL_LOGS_EXPORTER=none
or-Dotel.logs.exporter=none
.OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED=true
or
-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true
.OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_VIEW_TELEMETRY_ENABLED=true
or
-Dotel.instrumentation.common.experimental.view-telemetry.enabled=true
.list of changes.
process.runtime.jvm.memory.usage
renamed tojvm.memory.used
process.runtime.jvm.memory.committed
renamed tojvm.memory.committed
process.runtime.jvm.memory.limit
renamed tojvm.memory.limit
process.runtime.jvm.memory.usage_after_last_gc
renamed tojvm.memory.used_after_last_gc
process.runtime.jvm.memory.init
renamed tojvm.memory.init
(still experimental)type
renamed tojvm.memory.type
pool
renamed tojvm.memory.pool.name
process.runtime.jvm.gc.duration
renamed tojvm.gc.duration
name
renamed tojvm.gc.name
action
renamed tojvm.gc.action
process.runtime.jvm.threads.count
renamed tojvm.threads.count
daemon
renamed tojvm.thread.daemon
process.runtime.jvm.classes.loaded
renamed tojvm.classes.loaded
process.runtime.jvm.classes.unloaded
renamed tojvm.classes.unloaded
process.runtime.jvm.classes.current_loaded
renamed tojvm.classes.count
process.runtime.jvm.cpu.utilization
renamed tojvm.cpu.recent_utilization
process.runtime.jvm.system.cpu.load_1m
renamed tojvm.system.cpu.load_1m
(still experimental)process.runtime.jvm.system.cpu.utilization
renamed tojvm.system.cpu.utilization
(still experimental)process.runtime.jvm.buffer.limit
renamed tojvm.buffer.memory.limit
(still experimental)process.runtime.jvm.buffer.count
renamed tojvm.buffer.count
(still experimental)process.runtime.jvm.buffer.usage
renamed tojvm.buffer.memory.usage
(still experimental)pool
renamed tojvm.buffer.pool.name
More migration notes
OTEL_INSTRUMENTATION_LETTUCE_CONNECTION_TELEMETRY_ENABLED=true
or
-Dotel.instrumentation.lettuce.connection-telemetry.enabled=true
.otel.instrumentation.log4j-appender.experimental.capture-context-data-attributes
has beenrenamed to
otel.instrumentation.log4j-appender.experimental.capture-mdc-attributes
.log4j.mdc.
andlogback.mdc.*
) have been removed.instrumentation-api-semconv
has been renamed toinstrumentation-api-incubator
.instrumentation-api-incubator
toinstrumentation-api
and as a result are now stable.
🌟 New javaagent instrumentation
(#9838)
📈 Enhancements
(#9923)
error.type
inspring-webflux
andreactor-netty
instrumentations(#9967)
(#10026)
(#10039)
telemetry.auto.version
totelemetry.distro.version
and addtelemetry.distro.name
(#9065)
(#10062)
(#10074)
OTEL_RESOURCE_ATTRIBUTES
,OTEL_SERVICE_NAME
,OTEL_EXPORTER_OTLP_HEADERS
,and
OTEL_EXPORTER_OTLP_PROTOCOL
for spring boot starter(#9950)
(#10102)
(#9935)
(#10125)
(#10115)
(#10096)
(#10210)
(#10134)
(#10197)
🛠️ Bug fixes
(#9924)
(#9990)
(#9978)
(#10029)
(#10066)
(#10052)
(#10086)
ParameterNameDiscoverer
Bean Conflict inspring-boot-autoconfigure
(#10105)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.