This release targets the OpenTelemetry SDK 1.32.0.
Note that many artifacts have the -alpha suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
Migration notes
Old server/client socket getter methods deprecated (#9716)
📈 Enhancements
Allow enabling receive telemetry in kafka library instrumentation (#9693)
Add JdbcTelemetry and JdbcTelemetryBuilder (#9685)
Rename http.resend_count to http.request.resend_count (#9700)
Define url.scheme in terms of logical operation in HTTP server semconv (when opting in to new semconv) (#9698)
Generate only consumer span for sqs receive message (#9652)
Replace (client|server).socket.(address|port) attributes with network.(peer|local).(address|port) (when opting in to new semconv) (#9676)
Add capability for invokedynamic InstrumentationModules to inject proxies (#9565)
Make network.transport and network.type opt-in (when opting in to new semconv) (#9719)
Factor in X-Forwarded-Host/Forwarded when capturing server.address and server.port (when opting in to new semconv) (#9721)
Move class that should've been internal to internal package (#9725)
Only set server.port when server.address is set (when opting in to new semconv) (#9737)
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.
⚠️⚠️ Breaking changes ⚠️⚠️
The default OTLP protocol has been changed from grpc to http/protobuf in order to align with
the specification.
You can switch to the grpc protocol using OTEL_EXPORTER_OTLP_PROTOCOL=grpc
or -Dotel.exporter.otlp.protocol=grpc.
Micrometer metric bridge has been disabled by default. You can enable it using
OTEL_INSTRUMENTATION_MICROMETER_ENABLED=true
or -Dotel.instrumentation.micrometer.enabled=true.
The OTLP logs exporter is now enabled by default. You can disable it using
OTEL_LOGS_EXPORTER=none or -Dotel.logs.exporter=none.
Controller spans are now disabled by default. You can enable them using
OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED=true
or -Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true.
View spans are now disabled by default. You can enable them using
OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_VIEW_TELEMETRY_ENABLED=true
or -Dotel.instrumentation.common.experimental.view-telemetry.enabled=true.
⚠️⚠️ Stable HTTP semantic conventions are now emitted ⚠️⚠️
TOO MANY CHANGES TO LIST HERE, be sure to review the full
list of changes.
Stable JVM semantic conventions are now emitted.
Memory metrics
process.runtime.jvm.memory.usage renamed to jvm.memory.used
process.runtime.jvm.memory.committed renamed to jvm.memory.committed
process.runtime.jvm.memory.limit renamed to jvm.memory.limit
process.runtime.jvm.memory.usage_after_last_gc renamed to jvm.memory.used_after_last_gc
process.runtime.jvm.memory.init renamed to jvm.memory.init (still experimental)
Metric attributes
type renamed to jvm.memory.type
pool renamed to jvm.memory.pool.name
Garbage collection metrics
process.runtime.jvm.gc.duration renamed to jvm.gc.duration
Metric attributes
name renamed to jvm.gc.name
action renamed to jvm.gc.action
Thread metrics
process.runtime.jvm.threads.count renamed to jvm.threads.count
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 1.32.0-alpha to 2.0.0-alpha.
Release notes
Sourced from io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha's releases.
... (truncated)
Changelog
Sourced from io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show