Skip to content

docs(godot): Document Metrics general availability in SDK 2.0.0#18496

Open
limbonaut wants to merge 4 commits into
masterfrom
limbonaut/docs/godot-metrics-ga
Open

docs(godot): Document Metrics general availability in SDK 2.0.0#18496
limbonaut wants to merge 4 commits into
masterfrom
limbonaut/docs/godot-metrics-ga

Conversation

@limbonaut

@limbonaut limbonaut commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Documents Sentry Metrics for the Godot SDK becoming generally available in SDK 2.0.0, where they are now supported on all platforms (including Apple) and the enable_metrics / before_send_metric options move out of the experimental namespace onto SentryOptions.

Warning

This documents the unreleased Godot SDK 2.0.0. Don't merge!

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

limbonaut and others added 2 commits June 22, 2026 13:29
Metrics are generally available and supported on all platforms (including
Apple) as of Godot SDK 2.0.0. The enable_metrics and before_send_metric options
moved out of the experimental namespace onto SentryOptions.

- Remove the note that metrics aren't supported on Apple platforms
- Update the Project Settings path from Sentry > Experimental to Sentry > Options
- Drop the experimental labels and experimental.* option paths
- Bump the requirements note to 2.0.0 (previously experimental since 1.4.0)
- Document enable_metrics and before_send_metric on the general options reference

Refs getsentry/sentry-godot#755
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Move before_send_metric next to enable_metrics under Metrics Options, and
before_send_log next to enable_logs under Logging Options, instead of listing
them under the general Hooks section.

This groups each feature's toggle and its before-send hook together, matching
how the Apple SDK documents metric and log hooks, and keeps the two data hooks
consistent with each other. The Hooks section now covers only the event-level
hooks (before_send, before_capture_screenshot).

Refs getsentry/sentry-godot#755
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 22, 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, Comment Jun 22, 2026 1:19pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jun 22, 2026 1:19pm

Request Review

<SdkOption name="before_send_log" type="Callable" availableSince="1.2.0">

If assigned, this callback will be called before sending a log message to Sentry.
It can be used to modify the log message or prevent it from being sent.

@limbonaut limbonaut Jun 22, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

FYI: Moved it under Logging section to align with metrics.

@limbonaut limbonaut force-pushed the limbonaut/docs/godot-metrics-ga branch from 53fa14d to 85471ef Compare June 22, 2026 12:05

@JoshuaMoelans JoshuaMoelans left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, just a minor suggestion

Comment thread docs/platforms/godot/configuration/options.mdx Outdated
Co-authored-by: JoshuaMoelans <60878493+JoshuaMoelans@users.noreply.github.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.

3 participants