github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor
Package filterprocessor implements a processor for filtering (dropping) metrics and/or spans by various properties.
go get github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor