Skip to content

Conversation

@Flash0ver
Copy link
Member

@Flash0ver Flash0ver commented Jan 16, 2026

DESCRIBE YOUR PR

During getsentry/sentry-dotnet#4834 and #16054, I noticed that the Metrics dev docs still had some leftovers from the old Metrics implementation. These confused me a bit - I joined after they've been removed already.
I hope that removing them makes it easier to generate/write the metrics docs for upcoming SDKs.
Additionally, I hope that we weren't overzealous removing these platform-includes.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • 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.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • 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

Flash0ver and others added 3 commits January 16, 2026 21:11
Remove orphaned platform-includes files that are no longer referenced
in the metrics documentation. These files appear to be remnants from
a previous metrics documentation refactoring.

Files removed:
- configure/* (9 files) - No longer referenced by any metrics pages
- counter-snippet/javascript.mdx - Unused snippet file
- distribution-snippet/javascript.mdx - Unused snippet file
- gauge-snippet/javascript.mdx - Unused snippet file
- set-snippet/javascript.mdx - Unused snippet file
- setup/javascript.mdx - Unused setup file
- metrics-units/python.mdx - No references found in codebase
- version-support-note/* (3 files) - No longer included in metrics pages

Verified by searching for PlatformContent includePath references and
direct grep searches across the documentation. The remaining files in
platform-includes/metrics/ (usage, options, requirements, default-attributes)
are still actively used by Python, PHP, JavaScript, Ruby, and React Native
metrics documentation.

Co-Authored-By: Claude <noreply@anthropic.com>
@Flash0ver Flash0ver self-assigned this Jan 16, 2026
@vercel
Copy link

vercel bot commented Jan 16, 2026

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

Project Deployment Review Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jan 16, 2026 8:22pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
develop-docs Ignored Ignored Jan 16, 2026 8:22pm

Request Review

@Flash0ver Flash0ver changed the title Docs/remove old metrics files docs(metrics): remove old metrics files Jan 16, 2026
@Flash0ver Flash0ver changed the title docs(metrics): remove old metrics files docs(metrics): remove old metrics platform-includes Jan 16, 2026
@Flash0ver Flash0ver marked this pull request as ready for review January 16, 2026 21:22
@Flash0ver Flash0ver requested review from a team, mydea and nicohrubec and removed request for a team January 16, 2026 21:36
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.

2 participants