user_AuthenticatedId column empty in appInsights requests and traces
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
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- observability-sre
Hướng nghiên cứu
Bắt đầu với tài liệu Azure Monitor chính thức và ví dụ ApplicationInsights-Java-Repros được tham chiếu trong báo cáo, sau đó tái hiện hành vi bằng Java Agent 3.7.3, Spring 4.3 và các thuộc tính OpenTelemetry được hiển thị. Theo dõi cách enduser.id và enduser.pseudo.id được xử lý cho các request và trace. Hoàn thành khi user_AuthenticatedId và các trường liên quan được điền nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Expected behavior
After following official documentation, I expect user_AuthenticatedId to be populated in requests table of AppInsights.
Actual behavior
user_AuthenticatedId is still empty (as well was customDimension is not populated).
To Reproduce
Submitting a PR with an example reproducing the issue in this repository would make it easier for the Application Insight maintainers to help you. Before doing this, you have to fork this repository.
System information
Please provide the following information:
- SDK Version: Agent Azure Monitor Java 3.7.3
- OS type and version: Linux with Apache Tomcat 9.0
- Application Server type and version : Web App service with WAR deployment
- Using spring-boot? Spring Framework 4.3
- Additional relevant libraries (with version, if applicable):
opentelemetry-apiversion1.0.0or1.63.0(latest)
Logs
There is no relevant log in /var/log/applicationinsights/applicationinsights.log:
2026-06-24 19:12:03.159Z INFO c.m.applicationinsights.agent - Java version: 1.8.0_472, vendor: Temurin, home: /usr/lib/jdk/jre
2026-06-25 05:59:52.235Z WARN i.o.s.a.ResourceConfiguration - Found reference to io.opentelemetry.sdk.autoconfigure.internal.Envi
2026-06-25 06:00:11.559Z INFO c.m.applicationinsights.agent - Application Insights Java Agent 3.7.3 started successfully (PID 169
2
Screenshots
This…
log.info("Span valid: {}", span.getSpanContext().isValid());
Span.current().setAttribute("test.attribute", currentUserId);
Span.current().setAttribute("enduser.id", currentUserId);
Span.current().setAttribute("enduser.pseudo.id", currentUserId);
… produces this…
test.attributeis populated incustomDimensionsofrequestscustomDimensionsdoes not containenduser.idandenduser.pseudo.idpropertiesuser_AuthenticatedIdis emptyuser_Idis empty
- Ngôn ngữ chính
- Java
- Star
- 327
- Fork
- 222
- Merge trung bình
- 22 giờ 34 phút
- Pull request đã merge (30 ngày)
- 14
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/ApplicationInsights-Java
-
microsoft/ApplicationInsights-Java#4851 · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoft/ApplicationInsights-Java#4817 · 1 bình luận ·
-
Support for tail based sampling? Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
microsoft/ApplicationInsights-Java#4769 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/ApplicationInsights-Java#4729 · 121 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Tất cả issue của microsoft/ApplicationInsights-Java
Issue tương tự
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Đang mởarea/plugin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Add canonical URLs and a sitemap Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
apache/rocketmq-dashboard#5064 ·