Skip to content

tracing: fix sampling priority escalation on route cache refresh#43528

Draft
bvandewalle wants to merge 3 commits intoenvoyproxy:mainfrom
bvandewalle:fix-refresh-tracing-priority
Draft

tracing: fix sampling priority escalation on route cache refresh#43528
bvandewalle wants to merge 3 commits intoenvoyproxy:mainfrom
bvandewalle:fix-refresh-tracing-priority

Conversation

@bvandewalle
Copy link

Commit Message: Fixed a possible priority change upon recalculating tracing on a route after a ClearRouteCache.
Additional Description: Fixed route refresh tracing to not override the tracer's sampling decision when the trace is kept. Previously, a route refresh could escalate the sampling priority, preventing downstream trace collectors from applying their own sampling rates.
Risk Level: low
Testing: Added a unit test.
Docs Changes: N/A
Release Notes: Fixed route refresh tracing to not override the tracer's sampling decision when the trace is kept. Previously, a route refresh could escalate the sampling priority, preventing downstream trace collectors from applying their own sampling rates.
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only
Copy link

Hi @bvandewalle, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #43528 was opened by bvandewalle.

see: more, trace.

Signed-off-by: Bernard Van De Walle <bernard@bvandewa.com>
Signed-off-by: Bernard Van De Walle <bernard@bvandewa.com>
Signed-off-by: Bernard Van De Walle <bernard@bvandewa.com>
@bvandewalle bvandewalle force-pushed the fix-refresh-tracing-priority branch from 24907f6 to 22c0335 Compare February 18, 2026 00:33
@bvandewalle bvandewalle deployed to external-contributors February 18, 2026 00:33 — with GitHub Actions Active
@bvandewalle bvandewalle marked this pull request as draft February 18, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments