[TT-16342] fix: update OTel tracing test scenarios for Go 1.25#8042
[TT-16342] fix: update OTel tracing test scenarios for Go 1.25#8042buger merged 1 commit intorelease-5.12.1from
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 scenario files to align with the new semantic convention attribute names introduced in Go 1.25 and the The modifications consist of replacing deprecated attribute keys with their new counterparts in the YAML test files (e.g., Files Changed Analysis
Architecture & Impact Assessment
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T14:56:20.629Z | Triggered by: pr_opened | Commit: a7a9a3a 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ 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:55:50.791Z | Triggered by: pr_opened | Commit: a7a9a3a 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
Reverts the OTel test scenario changes from PR #8042. The release-5.12.1 branch uses otelhttp v0.60.0 which defaults to OLD semantic convention attribute names. The scenarios were incorrectly updated to expect NEW names. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
## Summary Reverts PR #8042 which incorrectly updated OTel test scenarios to use NEW attribute names on release-5.12.1. release-5.12.1 uses otelhttp v0.60.0 which defaults to OLD attribute names unless OTEL_SEMCONV_STABILITY_OPT_IN is set. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🚨 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
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