Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TracerStreamServerInterceptor ¶
func TracerStreamServerInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
TracerStreamServerInterceptor performs X-Ray tracing for each stream RPC call. Trace headers are staged via grpc.SetHeader at the transport level — gRPC auto-sends them with the first response, eliminating any possibility of "SendHeader called multiple times".
func TracerUnaryClientInterceptor ¶ added in v1.2.9
func TracerUnaryClientInterceptor(serviceName string) grpc.UnaryClientInterceptor
func TracerUnaryServerInterceptor ¶
func TracerUnaryServerInterceptor(serviceName string) grpc.UnaryServerInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.