Correlation/concurrency issues with `UseAzureMonitor` & `WebApplicationFactory<T>`.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- azure
调研方向
从链接的 dotnet/runtime issue 98854 和固定仓库提交中的 ActivityTesting 复现开始。启用 UseAzureMonitor 后运行集成测试,比较并行执行和顺序执行,并查看已记录的部分变通方案。当并发和关联失败得到复现、理解并解决,且不依赖该变通方案时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I was directed by @tarekgh here to create an issue in this repository, so here I am 👋
There are more details in the issue linked (https://github.com/dotnet/runtime/issues/98854), but the gist of it is this: Adding UseAzureMonitor causes my integration tests to "blow up"; It's causing some immense concurrency and/or correlation issues.
Without UseAzureMonitor I have no concurrency and/or correlation issues (Only some inconsistencies in the name of the activity, which is a different issue entirely I reckon, not related to Azure).
With UseAzureMonitor however there is something happening (be that concurrency or correlation - I don't know) that's causing my integration tests to fail when running them in parallel, but work fine when I'm running them sequentially.
Later in the thread I did find a partial workaround (With its own set of problems), but the general issue stands; Something fishy is going on with UseAzureMonitor.
In case the issue over on dotnet drops or I do a lot of changes to the repro during research, here's a direct link to the GitHub repo before adding the partial workaround: https://github.com/KennethHoff/Repros/tree/b25106f575ee5c782f99dfcfe89b5fc6eb53a900/ActivityTesting
- 主要语言
- PowerShell
- 星标
- 1.2k
- 派生
- 493
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/AzureMonitorCommunity 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 4/5 3-5 天 新手友好度 10/100
查看 microsoft/AzureMonitorCommunity 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
backend bug tracing
难度 2/5 1-3 小时 新手友好度 65/100
future-agi/future-agi#3022 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
traceloop/openllmetry#4502 ·
-
area/distributed-query area/observability kind/bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100