package
0.3.1
Repository: https://github.com/neblic/platform.git
Documentation: pkg.go.dev

# README

Golang gRPC interceptors

This module contains methods to automatically instrment gRPC clients and servers. When adding these interceptors, two independent Samplers will be created that will intercept all Requests and Responses.

The name of these Samplers will be: ${FullMethod}Req and ${FullMethod}Res.

# Functions

UnaryClientInterceptor provides a gRPC unary client interceptor that lazily creates two samplers per each gRPC method called by the client.
UnaryServerInterceptor provides a gRPC unary server interceptor that lazily creates two samplers per each gRPC method served The samplers capture the request and response gRPC messages.