Evaluate `SpanStatus` against the sentry.status convention
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- backend-api-design
Direzione di ricerca
Start by reading the SpanStatus documentation linked in the issue, then compare it with the span protocol specification and Relay’s v1 and v2 status handling in the referenced files. The issue asks for a design decision across transaction serialization, future span-first support, and integrations such as Actix, Tower, and OpenTelemetry. Done means resolving those questions and documenting the chosen compatibility approach.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The sentry.status convention allows only "ok" and "error", and marks more specific errors set by older SDKs as deprecated. SpanStatus still uses the older set of 17 statuses (not_found, internal_error, ...) and has no error variant. Evaluate how SpanStatus should relate to the convention. This was split out of #1399, which only touches the sentry-tracing field.
Context from Relay and the conventions:
- The two-value status belongs to the span-first (v2) protocol. Relay's
SpanV2Status(ok,error, plus a catch-all variant) was added in getsentry/relay#4717 (2025-05-14) as a subset of the OTel statuses. A review thread there removedunsetfrom that set. - Relay still parses the transaction/v1
statuswith the legacy enum inrelay-base-schema/src/spans.rs. That enum accepts the 17 statuses plus the aliasessuccess,failureandunknown_error, but rejects"error". Its comment says it's stored as au8in Snuba/ClickHouse. - Relay converts v1 spans to v2 by mapping
oktookand every other status toerror(relay-spans/src/v1_to_v2.rs, added in getsentry/relay#5139). - The convention was added in getsentry/sentry-conventions#453 (2026-06-26). It describes
sentry.statusas set during ingestion: v2 spans can only beokorerror, while v1 spans have the longer list. - The span-first SDK spec sets the span
statusto either"ok"or"error", andsetStatusaccepts'ok' | 'error'(develop docs).
Open questions:
- Should
SpanStatuschange while the SDK sends transactions, given that Relay's transaction parser rejects"error"? - How should this tie in with span-first support in the Rust SDK?
- How should the existing variants and the integrations that set them (Actix, Tower, OpenTelemetry) be handled?
References #1398
via @szokeasaurusrex.
--
- Lingua principale
- Rust
- Stelle
- 754
- Fork
- 192
- Merge medio
- 2g 20h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/sentry-rust
-
breaking change
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
getsentry/sentry-rust#1387 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
breaking change Rust
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getsentry/sentry-rust#1386 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
breaking change Rust Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
getsentry/sentry-rust#1345 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Pin Rust toolchainApertaRust Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
getsentry/sentry-rust#933 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Support setting span status from tracing span fieldsForse già presa @sentry-junior l’ha presa 2 giorni fa. ApertaFeature Rust Spans
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
getsentry/sentry-rust#1398 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di getsentry/sentry-rust
Issue simili
-
rust_analyzer flycheck: no CLI way to enable clippy from `check.overrideCommand`Forse già presa @TrapsterDK l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
bazelbuild/rules_rust#4392 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
🐞 bug 🧩 bevy_gantz_egui
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
nannou-org/gantz#500 ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Fedora 45 repoApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metasequoiaime/msime#10989 ·
I maintainer di solito rispondono entro 1 giorno