Skip to content

docs(sdk): Remove global metrics enablement from the spec - #19654

Merged
szokeasaurusrex merged 4 commits into
metrics-remove-experimental-guidancefrom
sdk-1535-remove-enablemetrics-spec
Sep 28, 2026
Merged

szokeasaurusrex merged 4 commits into
metrics-remove-experimental-guidancefrom
sdk-1535-remove-enablemetrics-spec

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

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.

IS YOUR CHANGE URGENT?

  • No deadline: Not urgent, can wait up to 1 week+

via Daniel Szoke.

--

View Junior Session [Sentry]

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>
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
develop-docs Ready Ready Preview Sep 28, 2026 9:54am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-docs Ignored Ignored Preview Sep 28, 2026 9:54am UTC

Request Review

@github-actions github-actions Bot added the sdk-develop-docs PRs touching develop-docs/sdk label Sep 28, 2026
@linear-code

linear-code Bot commented Sep 28, 2026

Copy link
Copy Markdown

SDK-1535

sentry-junior Bot and others added 2 commits September 28, 2026 09:45
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
@sentry-junior
sentry-junior Bot changed the base branch from master to metrics-remove-experimental-guidance September 28, 2026 09:46
@szokeasaurusrex
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
szokeasaurusrex merged commit b256ff6 into master Sep 28, 2026
22 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the sdk-1535-remove-enablemetrics-spec branch September 28, 2026 11:10
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

1 active deployment
Preview – develop-docs — b0017d2c Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant