apache / skywalking

APM, Application Performance Monitoring System
https://skywalking.apache.org/
Apache License 2.0
23.9k stars 6.53k forks source link

[Bug] spring cloud gateway 4 拓扑不正确 #12515

Closed wk4212 closed 3 months ago

wk4212 commented 3 months ago

Search before asking

Apache SkyWalking Component

UI (apache/skywalking-booster-ui)

What happened

网关和网关后面的服务出现并列的情况 ![Uploading 微信图片_20240808190826.png…]()

What you expected to happen

在拓扑图中,demo-order 服务应该出现在 demo-gateway 网关的后面

How to reproduce

gate-way项目的pom如下

spring boot 3.2.4 + spring-cloud-starter-gateway 4.1.5 + spring-cloud-starter-alibaba-nacos-discovery 2023.0.1.0

org.springframework.cloud spring-cloud-starter-gateway 4.1.5 com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery org.springframework.cloud spring-cloud-starter-loadbalancer

plugins目录下已经拷贝了相关的jar apm-spring-cloud-gateway-4.x-plugin-9.3.0.jar apm-spring-webflux-6.x-plugin-9.3.0.jar

Anything else

No response

Are you willing to submit a pull request to fix on your own?

Code of Conduct

wu-sheng commented 3 months ago

We don't accept Chinese on GitHub. If you prefer that, go for slack CN channel.

Ask questions in English should use discussion rather than issues.

Gateway is complex, your way of asking doesn't work for anyone. There is no point of guessing your scenario.

Camio1945 commented 1 month ago

I have the same problem. I will open a new issue in English.

wu-sheng commented 1 month ago

You could open a discussion. As we explained a lot, we can't check all your plugin use cases. You could answer your questions, but would not debug for yoi.

Camio1945 commented 1 month ago

I opened a discussion here: https://github.com/apache/skywalking/discussions/12675