Skip to content

fix(metrics): Clean up old metrics deprecation references and stale links#16426

Merged
codyde merged 1 commit intomasterfrom
fix/cleanup-old-metrics-deprecation-references
Feb 18, 2026
Merged

fix(metrics): Clean up old metrics deprecation references and stale links#16426
codyde merged 1 commit intomasterfrom
fix/cleanup-old-metrics-deprecation-references

Conversation

@codyde
Copy link
Contributor

@codyde codyde commented Feb 18, 2026

DESCRIBE YOUR PR

Cleans up artifacts from the previous (sunset) metrics beta that conflict with the current, active metrics beta. Users migrating SDKs were seeing "metrics beta has ended" and "metrics have been removed" language with no mention that a new metrics system exists — causing confusion.

Changes

Removed:

  • Deleted orphaned includes/metrics-api-change.mdx — an unused sunset notice from the old metrics beta that was never wired up

Updated migration guides (3 files):

  • platforms/javascript/common/migration/v8-to-v9.mdx — Clarified the previous metrics API was removed and linked to the new metrics docs
  • platforms/java/common/migration/7.x-to-8.0.mdx — Replaced stale "Metrics will return but we don't know in what exact form yet" with a link to the new metrics docs
  • platforms/android/migration/index.mdx — Same as Java

Fixed GitHub discussion links (7 platform metrics pages):
All platform SDK metrics pages were pointing to old per-SDK GitHub discussions from the previous beta. Updated them to point to the canonical new beta feedback discussion (getsentry/sentry#102275):

  • JavaScript (sentry-javascript#18055sentry#102275)
  • Python (sentry-python#5042sentry#102275)
  • Android (sentry-javascript#18055sentry#102275 — was linking to the wrong SDK entirely)
  • .NET (sentry-dotnet#4838sentry#102275)
  • Go (sentry-go/discussionssentry#102275)
  • Apple (sentry-cocoa/discussionssentry#102275)
  • PHP (sentry-phpsentry#102275)

Fixed copy-paste bug:

  • platform-includes/metrics/requirements/ruby.mdx — Said "Metrics for Python" instead of "Metrics for Ruby"

IS YOUR CHANGE URGENT?

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

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

Co-Authored-By: Claude noreply@anthropic.com

…inks

Remove artifacts from the previous (sunset) metrics beta that conflict with
the current metrics beta:

- Delete orphaned includes/metrics-api-change.mdx sunset notice
- Update JS/Java/Android migration guides to clarify the old API was replaced
  and link to the new metrics docs
- Point all platform metrics pages to the canonical feedback discussion
  (getsentry/sentry#102275) instead of old per-SDK discussions
- Fix Android metrics page linking to wrong SDK (sentry-javascript)
- Fix Ruby requirements copy-paste bug (said 'Python' instead of 'Ruby')

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

vercel bot commented Feb 18, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Feb 18, 2026 3:59am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Feb 18, 2026 3:59am

Request Review

@codeowner-assignment codeowner-assignment bot requested review from a team February 18, 2026 03:50
@codyde codyde requested review from dcramer and removed request for a team February 18, 2026 03:56
@codyde codyde merged commit 9ba3936 into master Feb 18, 2026
14 checks passed
@codyde codyde deleted the fix/cleanup-old-metrics-deprecation-references branch February 18, 2026 05:43
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

Comments