Repository navigation
docs(sdk): Migrate Logs spec to Writing SDK Specs guidelines - #20102
Draft
sentry-junior[bot] wants to merge 3 commits into
Draft
sentry-junior[bot] wants to merge 3 commits into
sentry-junior[bot] wants to merge 3 commits into
Conversation
|
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>
sentry-junior
Bot
force-pushed
the
junior/migrate-logs-spec
branch
from
October 20, 2026 11:25
cf83d1f to
b189b78
Compare
sentry-junior
Bot
changed the base branch from
junior/writing-sdk-specs-skill
to
junior/migrate-feature-flags-spec
October 20, 2026 11:27
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
Migrates the Logs spec to Writing SDK Specs 0.1, using the
writing-sdk-specsskill from #20083. Part of stack #20084, on top of #20085.The page is restructured into Scope, Definitions, Requirements, and Implementation Guidance. Requirements are rewritten as externally observable behavior. Examples that only restated requirements are removed. Existing
SpecSectionids are kept so anchors still work. The version goes to4.0.0and the page declaresspec_guidelines: writing-specs@0.1. The 4.0.0 changelog entry lists every requirement whose level or meaning changed.Evidence used to keep or remove requirements (Relay):
otel_logremoved: Relay dropped the item type in ref(ourlogs): Removes support for the envelope otel log item type relay#5082, so it now parses asUnknown(relay-server/src/envelope/item.rs).logitem per envelope (processing/logs/validate.rs),content_typeanditem_count(envelope/container.rs), and requiredtimestamp/trace_id/level/body(relay-event-schema/src/protocol/ourlog/mod.rs).sentry.releaseandsentry.is_localhostfor inbound filters (relay-filter/src/interface.rs),sentry.sdk.name(eap/mobile.rs), andsentry.timestamp.sequence(eap/time.rs).Level decisions from SDK review:
sentry.environmentandsentry.sdk.version(the product has no other source for them), thesentry.message.template/parameter.<X>rules, the 100-logs-per-envelope cap, sending logs in capture order, and thebeforeSendLogoption.sentry.originon direct API calls, theloggermodule, scope and clientcaptureLogand the ban on per-level scope and client methods,sentry.replay_id, batching, and the limit on logs waiting to be sent. Buffering internals are implementation details, so the 1000-log figure moved to Implementation Guidance.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
via @szokeasaurusrex.
--
View Junior Session [Sentry]