Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions develop-docs/sdk/telemetry/spans/scrubbing-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title: Scrubbing data
## Scrubbing data with `beforeSendSpan`

This callback MUST NOT allow the removal of any spans from the span tree.
It receives a deep copy of all spans in the span tree and their attributes.
It receives a deep copy of a span.

```
[
Expand All @@ -28,4 +28,4 @@ It receives a deep copy of all spans in the span tree and their attributes.
```

Users MAY mutate any exposed properties to perform sanitation on sensitive data or PII.
The return value of `beforeSendSpan` MUST be merged with the original span tree prior to emission.
The return value of `beforeSendSpan` MUST be merged with the original span prior to emission.
Loading