Since SOFARPC 5.4.0, the link analysis feature of Skywalking is supported. You can use it as needed. The Skywalking must be 6.0.0-alpha
and above.
This document does not cover the backend deployment. If you need it, please refer to the official Skywalking documentation.
Install Java agent
Locate the
agent
directory in the downloaded Skywalking release package.Set
agent.service_name
inconfig/agent.config
, which can be any English character. Generally, it can be your own system name.Set the
collector.backend_service
Skywalking backend address inconfig/agent.config
, which defaults to127.0.0.1:11800
. It is used for local verification.Add
-javaagent:/path/to/skywalking-package/agenxt/skywalking-agent.jar
to the application, which must be placed before the-jar
parameter. Theskywalking-agent
can be gotten in official release package. The new directory structure is as follows:+-- agent +-- activations apm-toolkit-log4j-1.x-activation.jar apm-toolkit-log4j-2.x-activation.jar apm-toolkit-logback-1.x-activation.jar ... +-- config agent.config +-- plugins sofa-rpc-plugin-6.0.0-alpha.jar apm-feign-default-http-9.x.jar apm-httpClient-4.x-plugin.jar ..... skywalking-agent.jar
Note: Ensure that the
plugins/sofa-rpc-plugin-**.jar
file exists.Start the application. After a period of RPC calls, you can view the UI to observe the calling link.
More
For more relevant documents, please refer to
Skywalking Agent installation documentation Skywalking Backend deployment documentation