Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Split the single `tracing` layer into separate layers per telemetry type

Aperta
#1,339 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@szokeasaurusrex ci sta già lavorando.

Dal 29/9/2026.

  • #1342 di @szokeasaurusrex — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Rust
The Problem

Currently, sentry-tracing exposes a single layer for capturing Tracing Spans (as Sentry transaction/spans) and Tracing Events (as Sentry errors, logs, and breadcrumbs, depending on level). Modifying what the layer captures is possible, but the API could arguably be simplified.

The current combined layer is also problematic, because it captures Sentry logs by default when enabled. However, we want to have a separate opt-in specifically for logs, as many users who enable the tracing integration may only want spans, not logs.

The Solution

As tracing layers can be composed, we can solve the problem by splitting the single sentry-tracing layer into separate layers per Sentry telemetry type:

  1. Spans
  2. Logs
  3. Errors
  4. Breadcrumbs

Of those layers, the Spans layer would be the only layer for capturing Tracing Spans. The Logs, Errors, and Breadcrumbs layers would all capture Tracing Events, but as different telemetry types.

Enabling all four layers would be equivalent to the single layer we have today. But, the recommended setup would be to only enable the first two layers (Spans and Logs), as Tracing Events most closely correspond to Sentry Logs.

Lingua principale
Rust
Stelle
752
Fork
192
Merge medio
16m
PR unite (30g)
4

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-rust

Tutte le issue di getsentry/sentry-rust

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.