Skip to content

feat(native): Add metrics documentation#16249

Draft
jpnurmi wants to merge 2 commits intomasterfrom
jpnurmi/feat/native-metrics
Draft

feat(native): Add metrics documentation#16249
jpnurmi wants to merge 2 commits intomasterfrom
jpnurmi/feat/native-metrics

Conversation

@jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Feb 3, 2026

DESCRIBE YOUR PR

Document metrics support for the Native SDK being added in getsentry/sentry-native#1498.

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

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES

Document metrics support for the Native SDK being added in
getsentry/sentry-native#1498.

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

vercel bot commented Feb 3, 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 3, 2026 2:22pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Feb 3, 2026 2:22pm

Request Review

@jpnurmi jpnurmi marked this pull request as draft February 3, 2026 13:20
@codeowner-assignment codeowner-assignment bot requested a review from a team February 3, 2026 13:21
@@ -0,0 +1 @@
Metrics for Native are supported in Sentry Native SDK version [X.X.X](https://github.com/getsentry/sentry-native/releases/tag/X.X.X) and above.
Copy link

Choose a reason for hiding this comment

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

Bug: The Native metrics documentation uses a placeholder version X.X.X instead of a real version number, resulting in a broken link and incorrect information for developers.
Severity: MEDIUM

Suggested Fix

Replace the placeholder X.X.X in platform-includes/metrics/requirements/native.mdx with the correct, minimum required version number for the Sentry Native SDK that includes metrics support.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: platform-includes/metrics/requirements/native.mdx#L1

Potential issue: The documentation file
`platform-includes/metrics/requirements/native.mdx` contains the placeholder `X.X.X` for
the required SDK version. Unlike other SDK documentation files updated in the same
scope, which specify concrete version numbers, this file was left incomplete. This will
cause the generated GitHub release link to be broken (pointing to tag `X.X.X`) and will
fail to inform developers which version of the Native SDK is required to use the metrics
feature. There are no automated CI checks to prevent merging documentation with
placeholder content.

Did we get this right? 👍 / 👎 to inform future reviews.

- Remove disable metrics section (not enabled by default)
- Simplify units section (fewer examples)
- Use shared include for default attributes

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant