Skip to content

Commit d5f9ab0

Browse files
committed
updating docs
1 parent 4497fbf commit d5f9ab0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/misc/inter-thread-context-propagation.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) {
3232
}
3333
```
3434

35-
In both cases request processing requires some potentially long operation and application developer
36-
wants to do them off the main thread. In the first case this hand-off between request accepting thread
37-
and request processing thread happens manually, by submitting work into some thread pool.
38-
In the second case it is the framework that handles separate thread pool and passing work to it.
35+
In both cases, the request processing requires some potentially long operation and the application
36+
developer wants to do them off the main thread. In the first case this hand-off between the request
37+
accepting thread and the request processing thread happens manually by submitting work into some
38+
thread pool. In the second case it is the framework that handles the separate thread pool and
39+
passing work to it.
3940

40-
In cases like this proper tracing solution should still combine into a single trace all the work
41+
In cases like this, a proper tracing solution should still combine into a single trace all the work
4142
required for request processing, regardless in what thread that work happened. With proper
4243
parent-child relationship between span: span representing shipping address query should be the child
4344
of the span which denotes accepting HTTP request.

0 commit comments

Comments
 (0)