X-Ray Sampling
- Control the amount of data you record
- Can modify the sample rule without changing your code or restart application
- By default sampling rule:
- reservoir: 1
- at least 1 request is sent to Xray each second as long as service is serving request
- rate: 5%
- additional request beside the reservoir are sampled 5%
- reservoir: 1
- Custom Sampling Rules
- First one:
- 10 request per seconds will be send to xray. and 10% of other requests will be sent as well
- Second one
- 1 request per second and 100% of other request will be send
- That means send all requests
- First one: