Skip to content

docs(sdk): Remove global logs enablement from the spec - #19653

Merged
szokeasaurusrex merged 3 commits into
masterfrom
sdk-1534-remove-enablelogs-spec
Sep 28, 2026
Merged

szokeasaurusrex merged 3 commits into
masterfrom
sdk-1534-remove-enablelogs-spec

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Removes enableLogs / enable_logs from the Logs spec's initialization options, processing pipeline, and integration requirements. Automatic log capture still requires explicit integration opt-in. SDKs SHOULD NOT provide APIs solely for disabling all logs; general-purpose filtering callbacks may still drop all logs.

This describes the target contract rather than prescribing SDK-specific deprecation timelines. The historical changelog stays intact. Bumps the spec and affected sections to 3.0.0 because the existing requirements change incompatibly. Per the spec lifecycle, since tracks when a section's current requirements were introduced, not its first stabilization.

Fixes SDK-1534.

IS YOUR CHANGE URGENT?

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

via Daniel Szoke.

--

View Junior Session [Sentry]

Define logging through API usage and explicit integration opt-in instead of a global enablement option. Bump the spec to 3.0.0 for the changed requirements.

Fixes SDK-1534

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:38am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-docs Ignored Ignored Preview Sep 28, 2026 9:38am 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-1534

Comment thread develop-docs/sdk/telemetry/logs.mdx Resolved
Comment thread develop-docs/sdk/telemetry/logs.mdx Resolved
Comment thread develop-docs/sdk/telemetry/logs.mdx Resolved
Remove redundant opt-in text and distinguish dedicated disable-all APIs from general-purpose filtering callbacks.

Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
Comment thread develop-docs/sdk/telemetry/logs.mdx Resolved
@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review September 28, 2026 09:35
@szokeasaurusrex
szokeasaurusrex enabled auto-merge (squash) September 28, 2026 09:35
@szokeasaurusrex
szokeasaurusrex merged commit 4095505 into master Sep 28, 2026
23 of 24 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the sdk-1534-remove-enablelogs-spec branch September 28, 2026 11:09
szokeasaurusrex added a commit that referenced this pull request Sep 28, 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>
inventarSarah pushed a commit that referenced this pull request Sep 29, 2026
## DESCRIBE YOUR PR

Removes `enableLogs` / `enable_logs` from the Logs spec's initialization
options, processing pipeline, and integration requirements. Automatic
log capture still requires explicit integration opt-in. SDKs **SHOULD
NOT** provide APIs solely for disabling all logs; general-purpose
filtering callbacks may still drop all logs.

This describes the target contract rather than prescribing SDK-specific
deprecation timelines. The historical changelog stays intact. Bumps the
spec and affected sections to 3.0.0 because the existing requirements
change incompatibly. Per the [spec
lifecycle](https://develop.sentry.dev/sdk/getting-started/standards/spec-lifecycle/#changelog-and-since-conventions),
`since` tracks when a section's current requirements were introduced,
not its first stabilization.

Fixes
[SDK-1534](https://linear.app/getsentry/issue/SDK-1534/remove-enablelogs-from-the-develop-docs-logs-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>
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 — 6084449a 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