chore: upgrade OpenTelemetry to 1.60.1 / agent 2.26.1#313
Merged
Conversation
Replace removed AgentInstrumentationConfig with the existing ConfigurationDefaults.configProperties for reading trace level configuration.
OTel 2.26.1's OkHttp sender resolves localhost to IPv6 (::1) first, but the mock server binds to IPv4 only. This caused all IT tests to fail with connection refused errors.
The OTel agent 2.26.1 bundles ByteBuddy 1.18.7 but the extension was compiled with 1.17.7. This version mismatch caused the ByteBuddy-transformed instrumentation classes to be incompatible at runtime, preventing all Vaadin instrumentations from matching.
OTel agent 2.26.1 requires META-INF/services/ files in extension JARs for ServiceLoader discovery. The @autoservice annotation processor was not generating these files, so they are now provided manually. Also fix muzzle compatibility: ConfigurationDefaults references OTel SDK classes (ConfigProperties, AutoConfigurationCustomizer) that are only in the agent classloader, not the app classloader. Muzzle now rejects these. Fix by: - Excluding ConfigurationDefaults from isHelperClass() - Using a BiFunction<String,String,String> bridge in Configuration to avoid direct references to OTel SDK types from helper classes
Replace volatile static BiFunction with a proper initialize() method and private fields. ConfigurationDefaults pushes resolved values during agent startup, and Configuration exposes them through clean getters.
heruan
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Replace removed AgentInstrumentationConfig with the existing ConfigurationDefaults.configProperties for reading trace level configuration.