getsentry / getsentry/sentry-javascript

Record spans dropped through event processors

Open
#13,104 0 comments 0 reactions 0 assignees View on GitHub
Improvement Spans
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### 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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.