-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trace Propagation in distributed enviornment #96
Comments
Having similar question. is it possible currently to let's say propagate paren trace information from upstream, let's say play framework down to remote akka system via available APIs ? If not what are the places to look for in code in order to try to contribute such possibility ? |
I got it working in following scenario. Key here is to use SpanMetada correctly which is returned when request is sampled. I added this to Kafka message which when received by Consumer, uses this metadata to create parent request - Here trace is instance of TracingExtensionImpl provided by the akka-tracing lib. Hope this helps you |
Thanks for sharing @sandeep-paliwal. In my case I need to figure out how to map actor message to be tied under same trace started by Play framework when clients requests start of the operation via HTTP and stuff is delegated then to akka actor system. That means making sure that Play and Akka akka-tracing extension support play nicely together (is there any example or test spec for that @levkhomich ?). Therefore I guess I need to somehow extract |
Sorry for late response. @sandeep-paliwal that's exactly how it's supposed to work. @mtomas you can use |
@levkhomich is there a way I can check if tracing has been enabled or not? Also is it possible to programatically set sampling rate or enable/disable tracing instead of controlling it from |
Hi! |
Hi,
can SpanMetadata be used to propagate span information? How to do I get traceId and span Id of parent and how can they be attached to child in different process?
The text was updated successfully, but these errors were encountered: