Skip to content

otelgrpc: stats handler doesn't seem to have an option for filtering #4575

@anuraaga

Description

@anuraaga

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions