Categorygo.elastic.co/apm/module/apmgrpc/v2
modulepackage
2.6.3
Repository: https://github.com/elastic/apm-agent-go.git
Documentation: pkg.go.dev

# Functions

DefaultServerRequestIgnorer returns the default RequestIgnorerFunc to use in handlers.
DefaultServerStreamIgnorer returns the default StreamIgnorerFunc to use in handlers.
IgnoreNone is a RequestIgnorerFunc which ignores no requests.
IgnoreNoneStream is a StreamIgnorerFunc which ignores no stream requests.
NewRegexpRequestIgnorer returns a RequestIgnorerFunc which matches requests' URLs against re.
NewStreamClientInterceptor returns a grpc.StreamClientInterceptor that traces gRPC requests with the given options.
NewStreamServerInterceptor returns a grpc.StreamServerInterceptor that traces gRPC stream requests with the given options.
NewUnaryClientInterceptor returns a grpc.UnaryClientInterceptor that traces gRPC requests with the given options.
NewUnaryServerInterceptor returns a grpc.UnaryServerInterceptor that traces gRPC requests with the given options.
WithRecovery returns a ServerOption which enables panic recovery in the gRPC server interceptor.
WithServerRequestIgnorer returns a ServerOption which sets r as the function to use to determine whether or not a server request should be ignored.
WithServerStreamIgnorer returns a ServerOption which sets s as the function to use to determine whether or not a server stream request should be ignored.
WithTracer returns a ServerOption which sets t as the tracer to use for tracing server requests.

# Type aliases

ClientOption sets options for client-side tracing.
RequestIgnorerFunc is the type of a function for use in WithServerRequestIgnorer.
ServerOption sets options for server-side tracing.
StreamIgnorerFunc is the type of a function for use in WithServerStreamIgnorer.