Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anuraaga opened this issue Nov 13, 2023 · 3 comments · May be fixed by #5196
Open

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

anuraaga opened this issue Nov 13, 2023 · 3 comments · May be fixed by #5196
Labels
area: instrumentation Related to an instrumentation package bug Something isn't working good first issue Good for newcomers instrumentation: otelgrpc

Comments

@anuraaga
Copy link

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

@anuraaga anuraaga added area: instrumentation Related to an instrumentation package bug Something isn't working instrumentation: otelgrpc labels Nov 13, 2023
@anuraaga anuraaga changed the title Stats handler doesn't seem to have an option for filtering otelgrpc: stats handler doesn't seem to have an option for filtering Nov 13, 2023
@ymtdzzz ymtdzzz linked a pull request Mar 3, 2024 that will close this issue
@ymtdzzz
Copy link

ymtdzzz commented Mar 3, 2024

I started this on #5196, but if anyone else has already worked on it, please let me know so I'll close it 😀

@mm2175
Copy link

mm2175 commented Mar 23, 2024

encouter same issue

@kperreau
Copy link

kperreau commented May 3, 2024

Any update on this issue?

@dmathieu dmathieu added the good first issue Good for newcomers label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: instrumentation Related to an instrumentation package bug Something isn't working good first issue Good for newcomers instrumentation: otelgrpc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants