Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
router: make shadow requests inherit parent sampling decision by defa…
…ult (#37874) ## Description This PR changes the behavior of shadow request sampling so that if trace sampling is not explicitly configured in the shadow policy, the shadow request will inherit the parent's sampling decision. After this change, sampling will follow the trace sampling policy of the original request, which prevents oversampling when runtime sampling is disabled. **Fixes:** #37766 --- **Commit Message:** router: make shadow requests inherit parent sampling decision by default **Additional Description:** **Risk Level:** Low **Testing:** Added Unit Tests **Docs Changes:** Added **Release Notes:** Added --------- Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com> Mirrored from https://github.com/envoyproxy/envoy @ 8e44345df9cf304410112f00b474ed337ac5b395
- Loading branch information