diff --git a/internal/coreinternal/processor/filterspan/filterspan.go b/internal/coreinternal/processor/filterspan/filterspan.go index 3c283494e1c9..9737c54e2813 100644 --- a/internal/coreinternal/processor/filterspan/filterspan.go +++ b/internal/coreinternal/processor/filterspan/filterspan.go @@ -114,7 +114,7 @@ func (mp *propertiesMatcher) MatchSpan(span pdata.Span, resource pdata.Resource, // Check resource and spans for service.name serviceName, found := serviceNameForResource(resource) if !found { - serviceName, found = serviceNameForSpan(span) + serviceName, _ = serviceNameForSpan(span) } if !mp.serviceFilters.Matches(serviceName) { return false