[TT-16342] fix: update OTel tracing test scenarios for Go 1.25#8041
[TT-16342] fix: update OTel tracing test scenarios for Go 1.25#8041buger merged 1 commit intorelease-5.12from
Conversation
Go 1.25 + otelhttp v0.60.0 uses new OpenTelemetry semantic convention attribute names (e.g., http.response.body.size instead of http.wrote_bytes, http.response.status_code instead of http.status_code, http.request.method instead of http.method, url.full instead of http.url, url.scheme instead of http.scheme, user_agent.original instead of http.user_agent, server.address instead of net.peer.name). Backport scenario updates from master. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
This pull request updates 16 OpenTelemetry (OTel) tracing test scenarios to align with new semantic conventions introduced by Go 1.25 and the The modifications consist of renaming OTel attribute keys in the YAML test files. For example, Files Changed Analysis
Architecture & Impact Assessment
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T14:56:25.015Z | Triggered by: pr_opened | Commit: 9fbc959 💡 TIP: You can chat with Visor using |
🚨 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. |
✅ 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-16T14:56:11.983Z | Triggered by: pr_opened | Commit: 9fbc959 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
|
Reverts the OTel test scenario changes from PR #8041. The release-5.12 branch uses otelhttp v0.49.0 which emits OLD semantic convention attribute names (http.method, http.status_code, etc.). The scenarios were incorrectly updated to expect NEW names (http.request.method, http.response.status_code, etc.) which the gateway does not emit. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
## Summary Reverts PR #8041 which incorrectly updated OTel test scenarios to use NEW attribute names on release-5.12. release-5.12 uses otelhttp v0.49.0 (pinned via go.mod replace), which emits OLD names: - `http.method` (not `http.request.method`) - `http.status_code` (not `http.response.status_code`) - `http.user_agent` (not `user_agent.original`) - `http.wrote_bytes` (not `http.response.body.size`) The scenario update was only correct for master (otelhttp v0.65.0). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>




Summary
http.response.status_codeinstead ofhttp.status_code,http.request.methodinstead ofhttp.method,url.fullinstead ofhttp.url,server.addressinstead ofnet.peer.name, etc.)Attribute mapping
http.status_codehttp.response.status_codehttp.methodhttp.request.methodhttp.urlurl.fullhttp.schemeurl.schemehttp.wrote_byteshttp.response.body.sizehttp.user_agentuser_agent.originalnet.peer.nameserver.addressTest plan
Generated with Claude Code