Skip to content

Commit

Permalink
Update processor/filterprocessor/filter_processor_traces.go
Browse files Browse the repository at this point in the history
Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>
  • Loading branch information
boostchicken and jpkrohling committed Jan 18, 2022
1 parent e8ea488 commit 8ded3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/filterprocessor/filter_processor_traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (fsp *filterSpanProcessor) shouldRemoveSpan(span pdata.Span, resource pdata
}

if fsp.exclude != nil {
if e := fsp.exclude.MatchSpan(span, resource, library); e {
if fsp.exclude.MatchSpan(span, resource, library) {
return true
}
}
Expand Down

0 comments on commit 8ded3d1

Please sign in to comment.