Span Naming - New HTTP Semantic Behavior http.url v/s url.full
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java
调研方向
该 issue 未提供 repository 文件、测试或可复现案例;请先检查 v3.7.2 的 HTTP 语义行为,以及所提供配置中的 attribute 和 span 处理器。比较 http.url、url.full 和 url.path 在 span 命名方面的处理方式。当行为得到解释,或可复现测试证明存在修正时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Expected behavior
We are upgrading from Java Agent v3.4.19 to v3.7.2, and one of the critical changes was adopting new HTTP Semantics from Otel
Our request Span naming was leveraging http.url to extract path, and then set the span name as
"HTTPMethod HTTPPath"
Actual behavior
With v3.7.2 we shifted to url.full attribute to extract the path, but noticed that in certain spans, the path is either missing entirely or is partial
We explored leveraging directly url.path attribute for span name instead of extraction but similar partial behavior.
If we revert back to http.url with v3.7.2 our original behavior for Span naming starts working properly, so wanted to understand if url.full , url.path are stable to adopt or we are missing a trick in the book or stick to http.url for consistency?
Config JSON Snippet
"processors": [ { "type": "attribute", "actions": [ { "key": "url.full", "pattern": "^(?<httpProtocol>.*):\\/\\/(?<httpDomain>[^\\/]+)\\/(?<httpPath>[^\\?]+)?(?<httpQueryParams>.*)", "action": "extract" } ] }, { "type": "span", "name": { "fromAttributes": [ "http.request.method", "httpPath" ], "separator": " " } }
To Reproduce
Using a commercial COTS system, I am unable to submit a reproducible use case.
System information
Please provide the following information:
- SDK Version: 3.7.2
- OS type and version: RHEL 8.10
- Application Server type and version (if applicable): COTs
- Using spring-boot? NA
- Additional relevant libraries (with version, if applicable): NA
Logs
I can capture logs if required.
Screenshots
- 主要语言
- Java
- 星标
- 326
- 派生
- 223
- 平均合并
- 23 小时 6 分钟
- 30 天内合并 PR
- 13
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/ApplicationInsights-Java 的其他 Issue
-
Java 25 native-access warning from bundled Netty requires broad ALL-UNNAMED permission可能已有人在做 @rajkumar-rangaraj 于 18 天前认领。 未关闭
microsoft/ApplicationInsights-Java#4851 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
microsoft/ApplicationInsights-Java#4770 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
microsoft/ApplicationInsights-Java#4769 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
microsoft/ApplicationInsights-Java#4729 · 133 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
microsoft/ApplicationInsights-Java#4712 ·
维护者通常 1 天内回复
查看 microsoft/ApplicationInsights-Java 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
bancolombia/scaffold-clean-architecture#1002 ·
维护者通常 1 天内回复
-
CalendarEventAttendance/get returns eventAttendanceStatus while the doc says attendanceStatus可能已有人在做 @chibenwa 今天认领。 未关闭bug claude
难度 1/5 1 小时以内 新手友好度 90/100
linagora/tmail-backend#2697 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
apache/skywalking#14120 ·
维护者通常 1 天内回复
-
[BUG] Case-insensitive search suggestions miss items when the JVM default locale is Turkish可能已有人在做 @thswlsqls 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复