fix(deps): update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom to v2 #1176
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.31.0
->2.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
open-telemetry/opentelemetry-java-instrumentation (io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom)
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)
v1.32.0
Migration notes
(#9716)
📈 Enhancements
(#9693)
(#9685)
(#9700)
url.scheme
in terms of logical operation in HTTP server semconv(when opting in to new semconv)
(#9698)
(#9652)
(client|server).socket.(address|port)
attributes withnetwork.(peer|local).(address|port)
(when opting in to new semconv)
(#9676)
(#9565)
network.transport
andnetwork.type
opt-in (when opting in to new semconv)(#9719)
X-Forwarded-Host
/Forwarded
when capturingserver.address
andserver.port
(when opting in to new semconv)
(#9721)
(#9725)
server.port
whenserver.address
is set (when opting in to new semconv)(#9737)
(#9712)
(#9625)
(#9735)
(#9705)
user_agent.original
from recommended to opt-in on HTTP client spans(#9776)
:authority
andHost
headers(#9774)
(#9751,
#9788)
network.peer.address
andnetwork.peer.port
(when opting in to new semconv)
(#9775)
client.port
from recommended to opt-in on HTTP server spans(when opting in to new semconv)
(#9786)
url.scheme
opt in for HTTP client metrics and makeserver.port
required(when opting in to new semconv)
(#9784)
http.request.body.size
andhttp.response.body.size
attributes from recommended to opt-in(when opting in to new semconv)
(#9799)
http.route
in spring-cloud-gateway(#9597)
(#9791)
network.protocol.name
from opt-in to conditionally required(when opting in to new semconv)
(#9797)
spring.application.name
in thebootstrap.properties
,bootstrap.yml
and
bootstrap.yaml
(#9801)
(#9796)
(#9824)
(#9778)
service.name
to MDC(#9647)
(#9777)
(#9841)
(#9842)
(#9862)
(#9553)
(#9821)
(#9839)
(#9890)
(#9884)
(#9798)
(#9739)
(#9896)
🛠️ Bug fixes
(#9723)
(#9710)
(#9863)
🧰 Tooling
(#9715)
(#9752)
(#9887)
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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.