tracer

package
v1.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL