Reactor Netty HttpClient Wiretap Logs missing from tracing
@trask ci sta già lavorando.
Dal 23/1/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Java
- Stelle
- 327
- Fork
- 222
- Merge medio
- 22h 34m
- PR unite (30g)
- 14
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/ApplicationInsights-Java
-
microsoft/ApplicationInsights-Java#4851 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/ApplicationInsights-Java#4817 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
microsoft/ApplicationInsights-Java#4770 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
microsoft/ApplicationInsights-Java#4769 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/ApplicationInsights-Java#4729 · 121 commenti ·
Tutte le issue di microsoft/ApplicationInsights-Java
Issue simili
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Apertaarea/plugin
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/rocketmq-dashboard#5064 ·