dependency response code is not displayed properly
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java, spring-boot
- Lĩnh vực
- backend, observability
Hướng nghiên cứu
Bắt đầu bằng cách chạy SimplifiedApp và SimplifiedService được đính kèm với Java agent, sau đó tái hiện request bằng lệnh curl được cung cấp. Theo dõi việc xử lý mã phản hồi của dependency cho HTTP interface và xác định nơi response 500 trở thành 0. Được xem là hoàn tất khi các response của dependency có mã 4xx hoặc 5xx hiển thị các status code tương ứng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Expected behavior
when dependency response code is 4xx or 5xx, dependency response code should show the corresponding status code 4xx or 5xx.
Actual behavior
instead, it is showing 0
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.
I spent some time to build two bare bone applications. Please see the attachments for the source code. Before you run SimplifiedApp, you will need to put “applicationinsights-agent-3.6.2.jar” in the root folder. It is too big, I cannot add them into the zip file to send via email.
SimplifiedApp (local port: 8585)
SimplifiedService(Local port: 8081)
curl --location --request POST 'http://localhost:8585/test'
calls endpoint http://localhost:8081/csn which simply returns http status code 500 without going through a custom exception handler at all.
simplifiedapp.zip
simplifiedservice.zip
System information
Please provide the following information:
- SDK Version: 17
- OS type and version: windows 11
- Application Server type and version (if applicable): Tomcat
- Using spring-boot? Yes, springboot 3.x
- http interface
Logs
Turn on SDK logs and attach/paste them to the issue. If using an application server, also attach any relevant server logs.
⚠ BE SURE TO REMOVE ANY PRIVATE INFORMATION FROM THE LOGS BEFORE POSTING ⚠
Screenshots
If applicable, add screenshots to help explain your problem.
- 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 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoft/ApplicationInsights-Java#4770 · 2 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 · 123 bình luận ·
Tất cả issue của microsoft/ApplicationInsights-Java
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
objectionary/jeo-maven-plugin#1811 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
hiero-ledger/hiero-block-node#3693 ·
-
area/dependencies kind/cve severity/critical source/scan-dependencies status/triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
beemdevelopment/Aegis#1840 ·