Skip to content

docs(native): Document metrics options - #18975

Open
limbonaut wants to merge 2 commits into
masterfrom
limbonaut/docs/native-metrics-options
Open

docs(native): Document metrics options#18975
limbonaut wants to merge 2 commits into
masterfrom
limbonaut/docs/native-metrics-options

Conversation

@limbonaut

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Documents the two Native SDK metrics options, which the options page didn't cover: enable_metrics and before_send_metric. Both have existed since 0.12.6, and the default for enable_metrics flipped to enabled in 0.13.5, so the page now states when metrics turn themselves on and how to opt out or filter them.

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+

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

Adds a Metrics Options section to the Native options page covering
enable_metrics and before_send_metric, including the release where the
default for enable_metrics changed.
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview Aug 7, 2026 5:33pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Aug 7, 2026 5:33pm

Request Review

@codeowner-assignment
codeowner-assignment Bot requested a review from a team August 7, 2026 17:17
Comment thread docs/platforms/native/common/configuration/options.mdx Outdated
The options page told readers to return sentry_value_new_null() without
mentioning that the SDK doesn't release the value it handed them, so
following it leaks the event or metric.
@limbonaut
limbonaut force-pushed the limbonaut/docs/native-metrics-options branch from 07642a6 to 88ef6d9 Compare August 7, 2026 17:21
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