Build AWS X-Ray sampling rules for controlling trace collection rates.
Build X-Ray sampling rule configs to control tracing rates per service, method, and URL path.
Required Fields
SamplingRule.RuleNameSamplingRule.PrioritySamplingRule.FixedRateSamplingRule.ReservoirSizeSamplingRule.ServiceNameSamplingRule.URLPathOutput will appear here...AWS X-Ray sampling rules control which requests are traced, allowing you to balance observability coverage with cost. Without custom rules, X-Ray applies a default rule that traces the first request each second and 5% of additional requests. Custom sampling rules let you set different rates for different services, URLs, HTTP methods, or other attributes. The X-Ray Sampling Rule Builder helps you define rules with proper priority ordering, reservoir sizes (guaranteed traces per second), and fixed rates (percentage of additional requests to sample).
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.