Use gRPC interceptor from observability package #140

Merged
alexvanin merged 1 commits from alexvanin/frostfs-s3-gw:feature/use-trace-interceptor into master 2023-06-14 15:46:44 +00:00

Previous SDK implementation had implicit gRPC interceptor
for tracing. Now pool constructors allow any dial options,
so gateway should manually pass tracing interceptors from
observability package.

Previous SDK implementation had implicit gRPC interceptor for tracing. Now pool constructors allow any dial options, so gateway should manually pass tracing interceptors from observability package.
alexvanin self-assigned this 2023-06-14 09:15:11 +00:00
alexvanin force-pushed feature/use-trace-interceptor from a8d4020769 to 003565bcef 2023-06-14 09:16:05 +00:00 Compare
dkirillov reviewed 2023-06-14 09:18:46 +00:00
cmd/s3-gw/app.go Outdated
@ -314,0 +323,4 @@
apiGRPCDialOpts = append(apiGRPCDialOpts, interceptors...)
}
prm.SetGRPCDialOptions(apiGRPCDialOpts...)
prmTree.SetGRPCDialOptions(treeGRPCDialOpts...)
Collaborator

This will be overridden on line 337

This will be overridden on line 337
Poster
Owner

Fixed.

Fixed.
dkirillov marked this conversation as resolved
alexvanin force-pushed feature/use-trace-interceptor from 003565bcef to 67bf8ee8b6 2023-06-14 09:19:53 +00:00 Compare
dkirillov approved these changes 2023-06-14 09:20:53 +00:00
alexvanin requested review from dkirillov 2023-06-14 09:20:59 +00:00
alexvanin requested review from pogpp 2023-06-14 09:20:59 +00:00
alexvanin requested review from ironbee 2023-06-14 09:20:59 +00:00
alexvanin merged commit 751d66bde0 into master 2023-06-14 15:46:44 +00:00
alexvanin deleted branch feature/use-trace-interceptor 2023-06-14 15:46:45 +00:00
alexvanin added this to the v0.28.0 milestone 2023-07-12 09:39:08 +00:00
Sign in to join this conversation.
There is no content yet.