lhotari opened a new pull request, #4773: URL: https://github.com/apache/bookkeeper/pull/4773
## Summary - Bump OpenTelemetry dependencies: `opentelemetry-java` 1.56.0 → 1.61.0, `opentelemetry-java-instrumentation` 2.21.0 → 2.27.0, `semantic-conventions-java` 1.37.0 → 1.41.0, `opentelemetry-java-contrib` 1.52.0 → 1.56.0. - Migrate `OtelMetricsProvider` off the `opentelemetry-runtime-telemetry-java8` per-observer classes (`Classes`, `Cpu`, `GarbageCollector`, `MemoryPools`, `Threads`, `ExperimentalBufferPools`) — they were deprecated in 2.25.0, made internal in 2.26.0, and removed in 2.27.0 — to the unified `opentelemetry-runtime-telemetry` module's `RuntimeTelemetry` builder. Experimental buffer-pool metrics and GC-cause attribute capture are preserved. - Replace the `Aggregation.explicitBucketHistogram(List<Double>)` overload deprecated in opentelemetry-java SDK 1.60.0 with the new `ExplicitBucketHistogramOptions` form. ## Test plan - [ ] `mvn -pl stats/bookkeeper-stats-providers/otel-metrics-provider -am compile` succeeds with no deprecation warnings - [ ] CI passes - [ ] Smoke-test JVM metrics export with the new `RuntimeTelemetry` to confirm memory pools, classes, CPU, threads, GC (with cause) and buffer pools are still emitted -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
