You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/07/13 10:49:19 UTC

[skywalking] branch wu-sheng-patch-1 created (now 87a4b12)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a change to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at 87a4b12  Update Java-Plugin-Development-Guide.md

This branch includes the following new commits:

     new 87a4b12  Update Java-Plugin-Development-Guide.md

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking] 01/01: Update Java-Plugin-Development-Guide.md

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 87a4b120d6bca0c1b2403b5bf4893003ad45070e
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Sat Jul 13 19:49:09 2019 +0900

    Update Java-Plugin-Development-Guide.md
---
 docs/en/guides/Java-Plugin-Development-Guide.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/en/guides/Java-Plugin-Development-Guide.md b/docs/en/guides/Java-Plugin-Development-Guide.md
index 12b817d..f24ffd6 100644
--- a/docs/en/guides/Java-Plugin-Development-Guide.md
+++ b/docs/en/guides/Java-Plugin-Development-Guide.md
@@ -192,6 +192,7 @@ needs to set in another thread, you should use these APIs.
     AbstractSpan asyncFinish();
 ```
 1. Call `#prepareForAsync` in original context.
+1. Do `ContextManager#stopSpan` in original context when your job in current thread is done.
 1. Propagate the span to any other thread.
 1. After all set, call `#asyncFinish` in any thread.
 1. Tracing context will be finished and report to backend when all spans's `#prepareForAsync` finished(Judged by count of API execution).