diff --git a/index.html b/index.html index 040c2c7d1..9d491727d 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@

Distributed Application Tracing System

View on GitHub Download .zip - Download .tar.gz + View Samples
diff --git a/sample-code/codeView.html b/sample-code/codeView.html new file mode 100644 index 000000000..199eff648 --- /dev/null +++ b/sample-code/codeView.html @@ -0,0 +1,39 @@ + + + + + Sky Walking Code View + + + + + + + + + + +
+

+ 如何追踪Spring本地方法调用? +

+

1.在需要追踪的方法上,加上@Tracing标识

+
+public class TracingAspectBean {
+
+    @Tracing
+    public String doBusiness() {
+        System.out.println("do business");
+        return "Hello World";
+    }
+}
+

2.Spring配置文件中,配置所需如下信息

+
+<bean id="tracingEnhance" class="com.ai.cloud.skywalking.plugin.spring.TracingEnhanceProcessor">
+
+ + + + \ No newline at end of file