docs(develop): Add span specification for span-first tracing model#18296
Draft
cleptric wants to merge 1 commit into
Draft
docs(develop): Add span specification for span-first tracing model#18296cleptric wants to merge 1 commit into
cleptric wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
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.
Replaces the placeholder
<PageGrid />in the spans develop-doc with the full span specification (v2.13.0, candidate status) for the span-first tracing model. This is the canonical reference for SDK implementors adopting span streaming (traceLifecycle: 'stream').Specification Scope
Covers the complete span lifecycle: starting spans, scope attachment, Noop spans, sampling (
tracesSampleRate/tracesSampler), filtering (ignoreSpans), data scrubbing (beforeSendSpan), trace propagation, span buffering, thecaptureSpanpipeline, and the span v2 envelope wire format. Includes the public Span Interface, configuration options, and code/payload examples.Spec Metadata
Uses the
spec_id,spec_version,spec_status,spec_depends_on, andspec_changelogfrontmatter fields with RFC 2119 requirement keywords throughout.