1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
XRay SDK provides APIs and dependencies to automatically handle context propagation between services. The sampled flag is a part of trace context, refer to xray concept trace header. By default, XRay SDK uses 1/second + 5% sampling rate, user no need manually set sampled flag.
A good way to start onboard tracing system is from opentelemetry doc. Basically all of SDKs are same, provide ready-to-use APIs that no need SDK user to manually handle trace id, segment id, sampled flag and context propagation between services. Please check the user doc and start from a sample app.
answered 2 years ago
Relevant content
- asked 4 years ago
- asked 2 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago