Replies: 1 comment
-
|
ServiceProviderMetadata, ServiceConsumerMetadata |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
At present, the admin can already obtain all service providers and consumers. Based on this data, a complete upstream and downstream view of a service or application can be mapped out, making it easier for users to understand the dependency chain and troubleshoot issues.

Solution
For frontend, Antv G6 is a good solution for drawing graph.
For backend, you may need to use orthogonal list to figure out the upstream and downstream quickly. Related Resources are ServiceProviderMetadata, ServiceConsumerMetadata, Application etc.
背景
目前admin已经能获取到所有的服务提供者/消费者,可以通过这些数据刻画出一个服务/应用的完整的上下游,便于用户理清上下游/排查问题。

方案
前端:antv g6用于绘制关系图
后端:对于服务的拓扑,可以直接通过ServiceProviderMetadata,ServiceConsumerMetadata这两个就能得到上下游。而对于应用的拓扑,可能需要十字链表来快速地查找到上下游。
Beta Was this translation helpful? Give feedback.
All reactions