getsentry / getsentry/sentry-javascript

Record spans dropped through event processors

Offen
#13,104 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Improvement Spans
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

### Description

As a follow up to https://github.com/getsentry/sentry-javascript/pull/13022, where we ensured to recored spans dropped in `beforeSendTranscation`, we should probably extend this to transactions dropped through event processors.

```[tasklist]
### Tasks
- [ ] Record if `event.spans.length` is lower after an event processor (indicating that it was dropped)
- [ ] Recording dropped spans if a whole transaction is dropped in an event processor
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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