The id for this request.
The id for the request one step up the service stack.
The id for this particular request
Should we sample this request or not? True means sample, false means don't, none means we defer decision to someone further down in the stack.
Flags relevant to this request. Could be things like debug mode on/off. The sampled flag could eventually be moved in here.
The id for the request one step up the service stack.
Should we sample this request or not? True means sample, false means don't, none means we defer decision to someone further down in the stack.
The id for this request.
Flags relevant to this request.
Flags relevant to this request. Could be things like debug mode on/off. The sampled flag could eventually be moved in here.
Java-friendly API to convert sampled to a Option of java.lang.Boolean.
Override _sampled to Some(true) if the debug flag is set.
Override _sampled to Some(true) if the debug flag is set.
getSampled for a Java-friendly API.
The id for this particular request
A trace id represents one particular trace for one request.
A request is composed of one or more spans, which are generally RPCs but may be other in-process activity. The TraceId for each span is a tuple of three ids:
For example, when service M calls service N, they may have respective TraceIds like these:
Parent id and trace id are optional when constructing a TraceId because they are not present for the very first span in a request. In this case all three ids in the resulting TraceId are the same:
The id for this request.
The id for the request one step up the service stack.
The id for this particular request
Should we sample this request or not? True means sample, false means don't, none means we defer decision to someone further down in the stack.
Flags relevant to this request. Could be things like debug mode on/off. The sampled flag could eventually be moved in here.