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

user_AuthenticatedId column empty in appInsights requests and traces

Đang mở
#4,770 2 bình luận 0 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
42/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
azure, java, spring
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-api version 1.0.0 or 1.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.attribute is populated in customDimensions of requests
  • customDimensions does not contain enduser.id and enduser.pseudo.id properties
  • user_AuthenticatedId is empty
  • user_Id is empty
Image
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

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/ApplicationInsights-Java

Tất cả issue của microsoft/ApplicationInsights-Java

Issue tương tự

Thêm issue về Java

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.