Skip to content

refactor: Remove usage of UnaryServerInterceptor function from otelgrpc #7112

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

Conversation

tasdikrahman
Copy link

closes #7107

@tasdikrahman tasdikrahman requested review from dashpole and a team as code owners April 2, 2025 15:45
@tasdikrahman tasdikrahman marked this pull request as draft April 2, 2025 15:51
… since it's not required anymore after removal of UnaryServerInterceptor

Signed-off-by: Tasdik Rahman <[email protected]>
@MrAlias
Copy link
Contributor

MrAlias commented Apr 3, 2025

@tasdikrahman this looks to be removing the UnaryServerInterceptor, but the linked issue is to remove StreamServerInterceptor.

@@ -41,6 +41,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- The deprecated `SemVersion` function in `go.opentelemetry.io/contrib/samplers/probability/consistent` is removed, use `Version` instead. (#7072)
- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux`, use `Version` function instead. (#7084)
- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin`, use `Version` function instead. (#7085)
- The deprecate `UnaryServerInterceptor` is romoved in the ``go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`, use `NewServerHandler` instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- The deprecate `UnaryServerInterceptor` is romoved in the ``go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`, use `NewServerHandler` instead.
- The deprecate `UnaryServerInterceptor` is removed in the ``go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`, use `NewServerHandler` instead.

@MrAlias
Copy link
Contributor

MrAlias commented Aug 11, 2025

@tasdikrahman thank you for the contribution. This looks to be abandoned, I am going to close this for now. Please reopen when you are able to update and address feedback please. Thanks again.

@MrAlias MrAlias closed this Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the deprecated StreamServerInterceptor function from otelgrpc
3 participants