Skip to content

Commit d5ea197

Browse files
authored
Rename beforeSendSpans to beforeSendSpan (#15447)
1 parent 3ed46fc commit d5ea197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

develop-docs/sdk/telemetry/spans/scrubbing-data.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Scrubbing data
1010
This document uses key words such as "MUST", "SHOULD", and "MAY" as defined in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt) to indicate requirement levels.
1111
</Alert>
1212

13-
## Scrubbing data with `beforeSendSpans`
13+
## Scrubbing data with `beforeSendSpan`
1414

1515
This callback MUST NOT allow the removal of any spans from the span tree.
1616
It receives a deep copy of all spans in the span tree and their attributes.
@@ -28,4 +28,4 @@ It receives a deep copy of all spans in the span tree and their attributes.
2828
```
2929

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

0 commit comments

Comments
 (0)