Skip to content

[Docs] Document piiScrub and shutdown in sdk-core.md #623

Closed

Description

@cursor

Problem

packages/telemetry-core exports piiScrub on init() and shutdown(), and in-app /docs/sdk mentions piiScrub. docs/sdk-core.md does not document either. Client PII scrubbing currently lives only in docs/PII-SCRUBBING.md.

Proposed change

Add piiScrub to the init() example/options and a shutdown() section, with a pointer to docs/PII-SCRUBBING.md.

Why this matters

Repo markdown is what GitHub and npm readers see first. The public core API is incomplete in the main SDK guide.

Suggested implementation

  • docs/sdk-core.md
  • Optional one-liner in docs/sdk-next.md / docs/sdk-node.md noting that shutdown is exported from core today

Do not expand into organization-level PII defaults or custom regex (those are tracked separately).

Acceptance criteria

  • piiScrub documented on init()
  • shutdown() documented
  • Link to docs/PII-SCRUBBING.md
  • Tests added/updated where applicable
  • Documentation updated where applicable

Contributor notes

This should be a good first contribution and does not require deep knowledge of the Telemetry Tracker architecture.

Open PRs against develop. See CONTRIBUTING.md.

Activity

  1. added
    triage:small
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage:small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions