Skip to content

chore: upgrade OpenTelemetry to 1.60.1 / agent 2.26.1#313

Merged
heruan merged 9 commits intomainfrom
upgrade-opentelemetry
Apr 8, 2026
Merged

chore: upgrade OpenTelemetry to 1.60.1 / agent 2.26.1#313
heruan merged 9 commits intomainfrom
upgrade-opentelemetry

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented Apr 6, 2026

Replace removed AgentInstrumentationConfig with the existing ConfigurationDefaults.configProperties for reading trace level configuration.

Artur- and others added 2 commits April 6, 2026 18:59
Replace removed AgentInstrumentationConfig with the existing
ConfigurationDefaults.configProperties for reading trace level
configuration.
@mshabarov mshabarov moved this from 🔎Iteration reviews to ⚒️ In progress in Vaadin Flow | Hilla | Kits ongoing work Apr 7, 2026
Artur- and others added 3 commits April 7, 2026 12:05
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.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Test Results

0 tests   - 148   0 ✅  - 148   0s ⏱️ - 1m 37s
0 suites  -  39   0 💤 ±  0 
0 files    -  39   0 ❌ ±  0 

Results for commit b4e0823. ± Comparison against base commit 03445b5.

♻️ This comment has been updated with latest results.

heruan and others added 4 commits April 8, 2026 13:17
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 heruan enabled auto-merge (squash) April 8, 2026 12:59
@heruan heruan merged commit ab2c699 into main Apr 8, 2026
4 checks passed
@heruan heruan deleted the upgrade-opentelemetry branch April 8, 2026 12:59
@github-project-automation github-project-automation bot moved this from ⚒️ In progress to Done in Vaadin Flow | Hilla | Kits ongoing work Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants