With the latest release, interceptors were deprecated from otelgrpc instrumentation. However, there doesn't seem to be an equivalent to WithInterceptorFilter which can filter spans (we use it to filter health checks filters.Not(filters.HealthCheck()). If there is a way that I missed, it likely needs to be added to the deprecation notice on WithInterceptorFilter.
https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/google.golang.org/grpc/otelgrpc/config.go#L149
With the latest release, interceptors were deprecated from otelgrpc instrumentation. However, there doesn't seem to be an equivalent to
WithInterceptorFilterwhich can filter spans (we use it to filter health checksfilters.Not(filters.HealthCheck()). If there is a way that I missed, it likely needs to be added to the deprecation notice onWithInterceptorFilter.https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/google.golang.org/grpc/otelgrpc/config.go#L149