Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Update text/0187-data-classification.md
Browse files Browse the repository at this point in the history
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
MovieStoreGuy and jpkrohling authored Dec 1, 2022
1 parent d6f35cf commit db12090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0187-data-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Once classification have been added to the attribute keys, a tracing sampler can
```go
func (ts TailBasedSampler) Sample(spans trace.Spans) (export trace.Spans) {
for _, s := range spans {
if classification.Match(s.Classification(), classification.Ephermal) {
if classification.Match(s.Classification(), classification.Ephemeral) {
export.Append(s)
// Always retain spans that contain ephemeral attributes
continue
Expand Down

0 comments on commit db12090

Please sign in to comment.