From 78189ff5617045f160bef5144da93d63ff047617 Mon Sep 17 00:00:00 2001 From: wusheng Date: Thu, 12 Nov 2015 15:33:44 +0800 Subject: [PATCH] =?UTF-8?q?1.Spring=E5=9F=8B=E7=82=B9=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- sample-code/codeView.html | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 sample-code/codeView.html 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