Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom to v2 #1176

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom 1.31.0 -> 2.0.0 age adoption passing confidence

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.

⚠️⚠️ 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
      • Metric attributes
        • daemon renamed to jvm.thread.daemon
    • Classes metrics
      • process.runtime.jvm.classes.loaded renamed to jvm.classes.loaded
      • process.runtime.jvm.classes.unloaded renamed to jvm.classes.unloaded
      • process.runtime.jvm.classes.current_loaded renamed to jvm.classes.count
    • CPU metrics
      • process.runtime.jvm.cpu.utilization renamed to jvm.cpu.recent_utilization
      • process.runtime.jvm.system.cpu.load_1m renamed to jvm.system.cpu.load_1m (still experimental)
      • process.runtime.jvm.system.cpu.utilization renamed to jvm.system.cpu.utilization (still experimental)
    • Buffer metrics
      • process.runtime.jvm.buffer.limit renamed to jvm.buffer.memory.limit (still experimental)
      • process.runtime.jvm.buffer.count renamed to jvm.buffer.count (still experimental)
      • process.runtime.jvm.buffer.usage renamed to jvm.buffer.memory.usage (still experimental)
      • Metric attributes
        • pool renamed to jvm.buffer.pool.name
More migration notes
  • Lettuce CONNECT spans are now disabled by default. You can enable them using
    OTEL_INSTRUMENTATION_LETTUCE_CONNECTION_TELEMETRY_ENABLED=true
    or -Dotel.instrumentation.lettuce.connection-telemetry.enabled=true.
  • The configuration property
    otel.instrumentation.log4j-appender.experimental.capture-context-data-attributes has been
    renamed to otel.instrumentation.log4j-appender.experimental.capture-mdc-attributes.
  • MDC attribute prefixes (log4j.mdc. and logback.mdc.*) have been removed.
  • The artifact instrumentation-api-semconv has been renamed to instrumentation-api-incubator.
  • HTTP classes have been moved from instrumentation-api-incubator to instrumentation-api
    and as a result are now stable.
🌟 New javaagent instrumentation
📈 Enhancements
  • Reduce reactor stack trace depth
    (#​9923)
  • Implement error.type in spring-webflux and reactor-netty instrumentations
    (#​9967)
  • Bridge metric advice in OpenTelemetry API 1.32
    (#​10026)
  • Capture http.route for akka-http
    (#​10039)
  • Rename telemetry.auto.version to telemetry.distro.version and add telemetry.distro.name
    (#​9065)
  • Implement forEach support for aws sqs tracing list
    (#​10062)
  • Add http client response attributes to aws sqs process spans
    (#​10074)
  • Add support for OTEL_RESOURCE_ATTRIBUTES, OTEL_SERVICE_NAME, OTEL_EXPORTER_OTLP_HEADERS,
    and OTEL_EXPORTER_OTLP_PROTOCOL for spring boot starter
    (#​9950)
  • Add elasticsearch-api-client as instrumentation name to elasticsearch-api-client-7.16
    (#​10102)
  • Add instrumentation for druid connection pool
    (#​9935)
  • Remove deprecated rocketmq setting
    (#​10125)
  • JMX metrics for Tomcat with 'Tomcat' JMX domain
    (#​10115)
  • Capture the SNS topic ARN under the 'messaging.destination.name' span attribute.
    (#​10096)
  • Add network attributes to rabbitmq process spans
    (#​10210)
  • Add UserExcludedClassloadersConfigurer
    (#​10134)
  • Apply both server attributes & network attributes to Lettuce 5.1
    (#​10197)
🛠️ Bug fixes
  • Fix aws propagator presence check in spring boot starter
    (#​9924)
  • Capture authority from apache httpclient request when HttpHost is null
    (#​9990)
  • Fix NoSuchBeanDefinitionException with the JDBC driver configuration in spring boot starter
    (#​9978)
  • Null check for nullable response object in aws sdk 1.1 instrumentation
    (#​10029)
  • Fix using opentelemetry-spring-boot with Java 8 and Gradle
    (#​10066)
  • Fix transforming Java record types
    (#​10052)
  • Fix warnings from the spring boot starter
    (#​10086)
  • Resolve ParameterNameDiscoverer Bean Conflict in spring-boot-autoconfigure
    (#​10105)

v1.32.0

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)
  • Add messaging conventions to sqs spans
    (#​9712)
  • Make the JDBC driver config work with the OTel starter
    (#​9625)
  • Don't normalize the '-' character in HTTP header names when opting in to new semconv
    (#​9735)
  • Add instrumentation for jaxws metro 3.0+
    (#​9705)
  • Change user_agent.original from recommended to opt-in on HTTP client spans
    (#​9776)
  • Change the precedence between :authority and Host headers
    (#​9774)
  • Move capturing enduser.id attribute behind a flag
    (#​9751,
    #​9788)
  • Remove conditional requirement on network.peer.address and network.peer.port
    (when opting in to new semconv)
    (#​9775)
  • Change client.port from recommended to opt-in on HTTP server spans
    (when opting in to new semconv)
    (#​9786)
  • Make url.scheme opt in for HTTP client metrics and make server.port required
    (when opting in to new semconv)
    (#​9784)
  • Change http.request.body.size and http.response.body.size attributes from recommended to opt-in
    (when opting in to new semconv)
    (#​9799)
  • Capture http.route in spring-cloud-gateway
    (#​9597)
  • Always set messaging operation
    (#​9791)
  • Change network.protocol.name from opt-in to conditionally required
    (when opting in to new semconv)
    (#​9797)
  • Support specifying spring.application.name in the bootstrap.properties, bootstrap.yml
    and bootstrap.yaml
    (#​9801)
  • Add process spans to aws-1 sqs instrumentation
    (#​9796)
  • Implement capturing message headers for aws1 sqs spans
    (#​9824)
  • Add process spans to aws2 sqs instrumentation
    (#​9778)
  • Add service.name to MDC
    (#​9647)
  • Capture enduser attributes in Spring Security
    (#​9777)
  • Capture message id in aws1 sqs instrumentation
    (#​9841)
  • Implement capturing message headers for aws2 sqs spans
    (#​9842)
  • Move kafka metrics to separate instrumentation module
    (#​9862)
  • Capture logback logger context properties
    (#​9553)
  • Stable JVM semconv implementation: classes
    (#​9821)
  • Stable JVM semconv implementation: threads
    (#​9839)
  • Stable JVM semconv implementation: GC
    (#​9890)
  • Bridge incubator metrics apis
    (#​9884)
  • Ability to instrument logs before OTel injection into OTel appenders
    (#​9798)
  • Suppress instrumentation based on suppress Context key
    (#​9739)
  • Stable JVM semconv implementation: the rest
    (#​9896)
🛠️ Bug fixes
  • Fix armeria server instrumentation for http2
    (#​9723)
  • Guard against null list from aws SQS lib
    (#​9710)
  • Fix parsing port from mariadb jdbc url
    (#​9863)
🧰 Tooling

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@timyates
Copy link
Contributor

This is tied to micronaut-tracing, and not maven central

@timyates timyates closed this Jan 19, 2024
Copy link
Contributor Author

renovate bot commented Jan 19, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/io.opentelemetry.instrumentation-opentelemetry-instrumentation-bom-2.x branch January 19, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant