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

Reactor Netty HttpClient Wiretap Logs missing from tracing

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

@trask đang làm issue này rồi.

Từ ngày 23/1/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Needs: Attention :wave:
Expected behavior

HttpClient log to be traced into Azure AppInsight when the wiretap is switched on.

HttpClient httpClient = HttpClient
  .create()
  .wiretap("reactor.netty.http.client.HttpClient", 
    LogLevel.DEBUG, AdvancedByteBufFormat.TEXTUAL); 

Actual behavior

HttpClient log to be trace are missing from AppInsight tracing. We could see the logs been dumped from http client like

2022-11-23 20:52:39.129 DEBUG [app-name,,] 1 --- [or-http-epoll-3] reactor.netty.http.client.HttpClient     : [bfdf3140-1, L:/10.22.xxx.xx:54830 - R:dev2xxxxxx.net.au/10.12.32.85:443] READ COMPLETE
2022-11-23 20:52:39.212 DEBUG [app-name,,] 1 --- [or-http-epoll-3] reactor.netty.http.client.HttpClient     : [bfdf3140-1, L:/10.22.xxx.xx:54830 - R:dev2xxxxxx.net.au/10.12.32.85:443] READ: 8448B HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: application/json
Request-Context: appId=cid-v1:xxxxxx
Strict-Transport-Security: max-age=15724800; includeSubDomains
Date: Wed, 23 Nov 2022 09:52:38 GMT

2000
{}
To Reproduce

Create a netty http client used with spring webflux and enable the http client loggings. Usage guide - https://www.baeldung.com/spring-log-webclient-calls#2-logging-with-netty-httpclient

System information

Please provide the following information:

  • SDK Version: - applicationinsights-agent-3.4.2.jar
  • OS type and version: Azure AKS
  • Application Server type and version (if applicable):
  • Using spring-boot? - Spring boot version - 2.7.4
  • Additional relevant libraries (with version, if applicable):spring-boot-starter-webflux:2.7.4,JDK17
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.