Documentation
¶
Index ¶
- func LabelsFromBaggageHandler(handler http.Handler) http.Handler
- func LabelsFromBaggageStreamInterceptor(srv interface{}, ss grpc.ServerStream, _ *grpc.StreamServerInfo, ...) error
- func LabelsFromBaggageUnaryInterceptor(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelsFromBaggageHandler ¶
LabelsFromBaggageHandler is a middleware that will extract key-value pairs from the request baggage and make them profiling labels.
func LabelsFromBaggageStreamInterceptor ¶ added in v1.0.1
func LabelsFromBaggageStreamInterceptor(srv interface{}, ss grpc.ServerStream, _ *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func LabelsFromBaggageUnaryInterceptor ¶
func LabelsFromBaggageUnaryInterceptor(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.