otelgrpc: stats handler doesn't seem to have an option for filtering #4575
Labels
area: instrumentation
Related to an instrumentation package
bug
Something isn't working
good first issue
Good for newcomers
instrumentation: otelgrpc
Milestone
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 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
The text was updated successfully, but these errors were encountered: