-
Notifications
You must be signed in to change notification settings - Fork 32
Tracing call hierarchies
Lev Khomich edited this page Jul 18, 2016
·
7 revisions
Child request should be filled up by additional tracing info to be properly tracked. It also should be properly sampled if it leaves origin actor system (it can be done in HTTP layer using Spray integration, or in any other layer using corresponding API call). Depending on type of child request, you can use following approaches to correctly prepare it.
It's a simple case that requires you to mark child requests using trace.createChild(parentRequest, childRequest)
. This case is covered in following example.
WIP, see #28