Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server, tracing: force redactability on tenant spans
Prior commits added the ability to set a flag on the Tracer to determine whether Span's should be marked redactable or not. This commit adds logic to selectively force redactability enabled on Spans for requests that come from a non-system tenant. The desired outcome is to preserve redactability for tenant traces while preserving a non-redactable code path for requests using the system tenant. This preserves existing functionality in production while keeping the current performance hit of fine grained redaction from propagating to non-tenant deployments. Resolves cockroachdb#71694 Release note: None
- Loading branch information