Repository navigation
docs(sdk): Remove global metrics enablement from the spec - #19654
Merged
szokeasaurusrex merged 4 commits intoSep 28, 2026
Merged
szokeasaurusrex merged 4 commits into
szokeasaurusrex merged 4 commits into
Conversation
Remove the global flag from the processing pipeline, initialization options, and automatic metrics rules while preserving integration opt-in and filtering. Bump the spec and changed sections to 3.0.0. Fixes SDK-1535 Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
1 task done
sentry-junior
Bot
changed the base branch from
master
to
metrics-remove-experimental-guidance
September 28, 2026 09:46
szokeasaurusrex
approved these changes
Sep 28, 2026
szokeasaurusrex
marked this pull request as ready for review
September 28, 2026 09:49
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
szokeasaurusrex
added a commit
that referenced
this pull request
Sep 28, 2026
## DESCRIBE YOUR PR Removes the conditional experimental-namespace guidance and its example from the stable Metrics specification. This guidance does not belong in the target SDK contract. Records the stale-guidance correction as spec version 2.11.1 without changing the stable API requirements or section versions. Removing `enableMetrics` is kept separate in #19654, stacked on top of this PR. ## IS YOUR CHANGE URGENT? - [x] No deadline: Not urgent, can wait up to 1 week+ <!-- junior-request-attribution:start --> via **Daniel Szoke**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0C01CK9SG2%3A1790586263.068299 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0C01CK9SG2%3A1790586263.068299) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0C01CK9SG2%3A1790586263.068299/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
inventarSarah
pushed a commit
that referenced
this pull request
Sep 29, 2026
## DESCRIBE YOUR PR Removes the conditional experimental-namespace guidance and its example from the stable Metrics specification. This guidance does not belong in the target SDK contract. Records the stale-guidance correction as spec version 2.11.1 without changing the stable API requirements or section versions. Removing `enableMetrics` is kept separate in #19654, stacked on top of this PR. ## IS YOUR CHANGE URGENT? - [x] No deadline: Not urgent, can wait up to 1 week+ <!-- junior-request-attribution:start --> via **Daniel Szoke**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0C01CK9SG2%3A1790586263.068299 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0C01CK9SG2%3A1790586263.068299) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0C01CK9SG2%3A1790586263.068299/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
inventarSarah
pushed a commit
that referenced
this pull request
Sep 29, 2026
## DESCRIBE YOUR PR Removes `enableMetrics` / `enable_metrics` from the Metrics spec's initialization options, processing pipeline, and automatic metrics rules. Preserves explicit integration opt-in and `beforeSendMetric` filtering. Uses the same target-state guidance as the Logs update in #19653: SDKs **SHOULD NOT** provide an API whose sole purpose is to disable all metrics. No SDK-specific deprecation timeline is added. Bumps the spec and the three affected sections to 3.0.0 for the changed requirements, preserving the historical changelog. Stacked on #19655, which separately removes obsolete experimental namespace guidance. Fixes [SDK-1535](https://linear.app/getsentry/issue/SDK-1535/remove-enablemetrics-from-the-develop-docs-metrics-spec). ## IS YOUR CHANGE URGENT? - [x] No deadline: Not urgent, can wait up to 1 week+ <!-- junior-request-attribution:start --> via **Daniel Szoke**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0C01CK9SG2%3A1790586263.068299 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0C01CK9SG2%3A1790586263.068299) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0C01CK9SG2%3A1790586263.068299/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Removes
enableMetrics/enable_metricsfrom the Metrics spec's initialization options, processing pipeline, and automatic metrics rules. Preserves explicit integration opt-in andbeforeSendMetricfiltering.Uses the same target-state guidance as the Logs update in #19653: SDKs SHOULD NOT provide an API whose sole purpose is to disable all metrics. No SDK-specific deprecation timeline is added.
Bumps the spec and the three affected sections to 3.0.0 for the changed requirements, preserving the historical changelog. Stacked on #19655, which separately removes obsolete experimental namespace guidance.
Fixes SDK-1535.
IS YOUR CHANGE URGENT?
via Daniel Szoke.
--
View Junior Session [Sentry]