Skip to content

docs(sdk): Add file path data collection option#18819

Draft
adinauer wants to merge 1 commit into
masterfrom
docs/data-collection-file-paths
Draft

docs(sdk): Add file path data collection option#18819
adinauer wants to merge 1 commit into
masterfrom
docs/data-collection-file-paths

Conversation

@adinauer

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

Add dataCollection.filePaths to the SDK Data Collection specification.

The Boolean option defaults to true and controls file and directory paths captured automatically by file-system instrumentation. The specification keeps source-code locations, user-supplied attachment paths, and SDK-internal storage paths outside this category. It also permits SDKs to retain non-identifying file metadata such as extensions and byte counts when path collection is disabled.

This gives SDKs with file-system instrumentation a shared category for replacing legacy coarse PII gates while keeping the option scoped to runtime file operations.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.)
  • Other deadline
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Define filePaths as a global Data Collection option for paths captured automatically by file-system instrumentation. Keep source locations, user-supplied attachments, and internal storage paths outside its scope.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview Jul 23, 2026 12:31pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
sentry-docs Ignored Ignored Preview Jul 23, 2026 12:31pm

Request Review

@github-actions github-actions Bot added the sdk-develop-docs PRs touching develop-docs/sdk label Jul 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Redirect Chain Issues Detected

This PR introduces or contains redirect chains that degrade SEO and add latency.

Content Links Pointing to Redirects (1 found)

These links point to URLs that redirect. Update them to point directly to the final destination:

File Line Current Link Should Be
docs/platforms/javascript/guides/cloudflare/features/workers-ai.mdx 117 /ai/monitoring/conversations/ /ai/observability/conversations/

Each redirect hop loses ~15% of SEO link equity and adds latency for users.


This option does not apply to:

- Source-code locations in stack frames, profile frames, or debug images

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In some SDKs the stack frames may include user name etc. so we should discuss whether to also apply it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant