Add SDK PII redaction docs to zeroeval-docs#5
Merged
sebastiancrossa merged 1 commit intomainfrom Apr 9, 2026
Merged
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds SDK-side PII redaction documentation pages for Python and TypeScript tracing SDKs.
tracing/pii-redaction.mdxwith feature overview, enablement, scope, placeholder behavior, normalization, and examplestracing/pii-redactionto docs.json navigation after introductiontracing/introduction.mdxlinking to PII redactiontracing/sdks/python/setup.mdxwithredaction={"enabled": True}andZEROEVAL_REDACT_PII=truesyntaxtracing/sdks/typescript/setup.mdxwithredaction: { enabled: true }andZEROEVAL_REDACT_PII=truesyntaxredactioninit parameter totracing/sdks/python/reference.mdxwith snake_case keys table (enabled, redact_inputs, redact_outputs, redact_attributes, redact_errors, redact_session_names, redact_tag_values, sensitive_keys, custom_patterns)redactioninit option totracing/sdks/typescript/reference.mdxwith camelCase keys table (enabled, redactInputs, redactOutputs, redactAttributes, redactErrors, redactSessionNames, redactTagValues, sensitiveKeys, customPatterns)ZEROEVAL_REDACT_PIIenv var to both reference pagesNote
Low Risk
Documentation-only changes that add a new tracing guide and update Python/TypeScript SDK docs; low risk aside from potential confusion if the documented defaults/options diverge from SDK behavior.
Overview
Adds a new Tracing guide page,
tracing/pii-redaction, describing opt-in SDK-side PII redaction (what is redacted, placeholder behavior, normalization, limitations, and runnable examples for Python/TypeScript).Updates navigation and entry points by linking the new page from
tracing/introductionand adding setup tips in both SDK setup guides, plus extends Python/TypeScript SDK reference docs with aredactioninit option (including key tables) and theZEROEVAL_REDACT_PIIenv var; also tweaks Pythoninitdocs to showsetup_otlpdefaulting toFalse.Reviewed by Cursor Bugbot for commit 77090a0. Bugbot is set up for automated code reviews on this repo. Configure here.