[TT-16342] fix: update OTel test scenarios to match Go 1.25 attribute names#8059
[TT-16342] fix: update OTel test scenarios to match Go 1.25 attribute names#8059buger wants to merge 1 commit intorelease-5.12.1from
Conversation
Go 1.25 updated the OTel HTTP instrumentation library which now emits new-style semantic convention attributes. Update test scenarios to match the actual gateway output. Key attribute mappings: - http.method -> http.request.method - http.status_code -> http.response.status_code - http.wrote_bytes -> http.response.body.size - http.user_agent -> user_agent.original - http.url -> url.full - http.scheme -> url.scheme - net.peer.name -> server.address Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
This PR updates 16 OpenTelemetry (OTel) end-to-end test scenarios to align with the new semantic attribute conventions introduced by the OTel HTTP instrumentation library in Go 1.25. The changes correct a recent regression on the Files Changed Analysis
Architecture & Impact Assessment
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T20:43:33.942Z | Triggered by: pr_opened | Commit: 405564f 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Security Check PassedNo security issues found – changes LGTM. \n\n✅ Architecture Check PassedNo architecture issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. Powered by Visor from Probelabs Last updated: 2026-04-16T20:42:49.437Z | Triggered by: pr_opened | Commit: 405564f 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
|
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |



Summary
release-5.12.1now produces these new attributes, but PRs [TT-16342] revert: undo incorrect OTel scenario update (PR #8041) #8047/[TT-16342] revert: undo incorrect OTel scenario update (PR #8042) #8048 incorrectly reverted the test scenarios back to old namesKey attribute mappings (old -> new)
http.methodhttp.request.methodhttp.status_codehttp.response.status_codehttp.wrote_byteshttp.response.body.sizehttp.user_agentuser_agent.originalhttp.urlurl.fullhttp.schemeurl.schemenet.peer.nameserver.addressTest plan
release-5.12.1CI with Go 1.25Closes incorrect revert PRs #8047 and #8048.
🤖 Generated with Claude Code