Revisit onlyIfParent usage for automatic instrumentation in v12

Offen
#26,709 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
12/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
observability

Rechercherichtung

This is a design and policy question for v12, not a scoped edit: it asks whether automatic instrumentations should still require a parent span, especially with span streaming. Start by reading the related discussions #25879 and #25941, then grep the repo for onlyIfParent in the instrumentation packages and the core span/tracing code to catalogue which DB, cache and connection/startup spans currently gate on it. Done means a written, consistent policy covering exceptions and migration implications, agreed on the thread.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

javascript

Investigate whether automatic instrumentations should still require a parent span, particularly with span streaming. Cover DB/cache operations and connection/startup spans, weighing the usefulness of standalone spans against noise and missing application context.

Define a consistent policy for v12, including any exceptions and migration implications.

Related: #25879, #25941.

Vorherrschende Sprache
TypeScript
Sterne
8.8k
Forks
1.9k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
744

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/sentry-javascript

Alle Issues in getsentry/sentry-javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.