Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Correlation/concurrency issues with `UseAzureMonitor` & `WebApplicationFactory<T>`.

Đang mở
#208 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
azure
Lĩnh vực
observability, testing-qa

Hướng nghiên cứu

Bắt đầu với issue 98854 của dotnet/runtime được liên kết và bản tái hiện ActivityTesting tại commit đã được ghim của repository. Chạy các bài kiểm thử tích hợp với UseAzureMonitor được bật, so sánh việc thực thi song song và tuần tự, đồng thời xem xét workaround một phần đã được ghi lại. Công việc được xem là hoàn tất khi các lỗi về tính đồng thời và tương quan đã được tái hiện, hiểu rõ và giải quyết mà không phụ thuộc vào workaround đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PowerShell
Star
1.2k
Fork
493
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/AzureMonitorCommunity

Tất cả issue của microsoft/AzureMonitorCommunity

Issue tương tự

Thêm issue về Observability & SRE

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.