How should this library be set up to apply a pre-defined sampling rule from X-Ray console?
Furthermore, the sampling rate should also be passed down to back-end tiers when making HTTP requests to them. Which probably means determining whether to apply the Sampled=1 parameter in the X-Amzn-Trace-Id HTTP header.
How should this library be set up to apply a pre-defined sampling rule from X-Ray console?
Furthermore, the sampling rate should also be passed down to back-end tiers when making HTTP requests to them. Which probably means determining whether to apply the Sampled=1 parameter in the X-Amzn-Trace-Id HTTP header.