netfreeperson opened a new issue, #11891:
URL: https://github.com/apache/skywalking/issues/11891

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   Java Agent (apache/skywalking-java)
   
   ### What happened
   
   1: I used apm-spring-cloud-gateway-3.x-plugin-8.9.0, but the generated 
traceid is the same.  (apm-spring-cloud-gateway-2.1.x-plugin-8.9.0.jar can't 
generate traceid)
   2: The traceid generated by the gateway cannot be delivered to the back-end 
service
   
   
   【The environment is as follows:】
   spring cloud gateway version:
   spring-cloud-gateway-server-2.2.6.RELEASE.jar
   skywalking plugin version:
   apm-spring-cloud-gateway-3.x-plugin-8.9.0.jar
   apm-spring-webflux-5.x-plugin-8.9.0.jar
   
   
   
   gateway log:
   2024-02-19 18:02:10.137|reactor-http-nio-2|TID:N/A|c.m.scg.TestFilter|15 : 
测试.....
   2024-02-19 
18:02:11.758|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:12.646|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:13.434|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:14.421|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:15.369|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:16.248|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:17.089|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:18.167|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:19.195|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:20.042|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:20.934|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:22.124|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:23.240|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:24.106|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   2024-02-19 
18:02:24.641|reactor-http-nio-2|TID:641d749d444e465fbff5fdc981979656.109.17083369297820001|TestFilter|15
 : 
   
   Business service log:
   2024-02-19 18:02:08.128|INFO |RMI TCP 
Connection(3)-2.0.0.1|TID:N/A|o.s.w.s.DispatcherServlet|547 : Completed 
initialization in 24 ms
   2024-02-19 
18:02:10.604|http-nio-8888-exec-1|TID:bbfdff065fc34526b673c3ac5a32f07b.58.17083369304970001|Test
   2024-02-19 
18:02:11.768|http-nio-8888-exec-3|TID:bbfdff065fc34526b673c3ac5a32f07b.60.17083369317660001|Test
   2024-02-19 
18:02:12.659|http-nio-8888-exec-4|TID:bbfdff065fc34526b673c3ac5a32f07b.61.17083369326560001|Test
   2024-02-19 
18:02:13.441|http-nio-8888-exec-5|TID:bbfdff065fc34526b673c3ac5a32f07b.62.17083369334400001|Test
   2024-02-19 
18:02:14.428|http-nio-8888-exec-6|TID:bbfdff065fc34526b673c3ac5a32f07b.63.17083369344270001|Test
   2024-02-19 
18:02:15.375|http-nio-8888-exec-7|TID:bbfdff065fc34526b673c3ac5a32f07b.64.17083369353740001|Test
   2024-02-19 
18:02:16.253|http-nio-8888-exec-8|TID:bbfdff065fc34526b673c3ac5a32f07b.65.17083369362520001|Test
   2024-02-19 
18:02:17.093|http-nio-8888-exec-9|TID:bbfdff065fc34526b673c3ac5a32f07b.66.17083369370920001|Test
   2024-02-19 
18:02:18.174|http-nio-8888-exec-1|TID:bbfdff065fc34526b673c3ac5a32f07b.58.17083369381720003|Test
   2024-02-19 
18:02:19.202|http-nio-8888-exec-3|TID:bbfdff065fc34526b673c3ac5a32f07b.60.17083369392000003|Test
   2024-02-19 
18:02:20.047|http-nio-8888-exec-4|TID:bbfdff065fc34526b673c3ac5a32f07b.61.17083369400450003|Test
   2024-02-19 
18:02:20.938|http-nio-8888-exec-5|TID:bbfdff065fc34526b673c3ac5a32f07b.62.17083369409370003|Test
   2024-02-19 
18:02:22.130|http-nio-8888-exec-7|TID:bbfdff065fc34526b673c3ac5a32f07b.64.17083369421290003|Test
   2024-02-19 
18:02:23.245|http-nio-8888-exec-9|TID:bbfdff065fc34526b673c3ac5a32f07b.66.17083369432450003|Test
   2024-02-19 
18:02:24.111|http-nio-8888-exec-10|TID:bbfdff065fc34526b673c3ac5a32f07b.67.17083369441100001.Tes
   2024-02-19 
18:02:24.648|http-nio-8888-exec-1|TID:bbfdff065fc34526b673c3ac5a32f07b.58.17083369446450005|Test
   
   ### What you expected to happen
   
   1: The gateway generates a new tid each time
   2: The back-end service should be able to obtain the traceid generated by 
the gateway
   
   ### How to reproduce
   
   【The environment is as follows:】
   
   spring cloud gateway version:
   spring-cloud-gateway-server-2.2.6.RELEASE.jar
   
   skywalking plugin version:
   apm-spring-cloud-gateway-3.x-plugin-8.9.0.jar
   apm-spring-webflux-5.x-plugin-8.9.0.jar
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
notifications-unsubscr...@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to