-
Notifications
You must be signed in to change notification settings - Fork 554
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
util: include request-IDs in all gRPC calls for the Controller #4263
Conversation
Snapshot procedures do not seem to contain the `Req-ID:` prefix in the logs anymore (or weren't they there at all?) for some reason. This adds them back. Signed-off-by: Niels de Vos <ndevos@ibm.com>
@@ -97,7 +97,7 @@ func (s *nonBlockingGRPCServer) serve(endpoint string, srv Servers) { | |||
klog.Fatalf("Failed to listen: %v", err) | |||
} | |||
|
|||
server := grpc.NewServer() | |||
server := grpc.NewServer(NewMiddlewareServerOption(false)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove metrics
argument from NewMiddlewareServerOption
as it always set to false but it can be in separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in #4264
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 0c13a70 |
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/k8s-e2e-external-storage/1.26 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/k8s-e2e-external-storage/1.27 |
/test ci/centos/mini-e2e-helm/k8s-1.26 |
/test ci/centos/mini-e2e-helm/k8s-1.27 |
/test ci/centos/k8s-e2e-external-storage/1.28 |
/test ci/centos/mini-e2e/k8s-1.27 |
/test ci/centos/mini-e2e/k8s-1.26 |
/test ci/centos/mini-e2e-helm/k8s-1.28 |
/test ci/centos/mini-e2e/k8s-1.28 |
Snapshot procedures do not seem to contain the
Req-ID:
prefix in thelogs anymore (or weren't they there at all?) for some reason. This adds
them back.
Signed-off-by: Niels de Vos ndevos@ibm.com