Skip to content

Commit

Permalink
tweak readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeGoldsmith committed May 20, 2024
1 parent f3143ca commit f696b46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/baggage-span-processor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ Alternatively, you can provide a custom baggage key predicate to select which ba
For example, to only copy baggage entries that start with `my-key`:

```javascript
new BaggageSpanProcessor((key: string) =>
key.startsWith('my-key')
)
new BaggageSpanProcessor((baggageKey: string) => key.startsWith('my-key'))
```

## Useful links
Expand Down

0 comments on commit f696b46

Please sign in to comment.