Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(app newrelic.Application, optFuncs ...Option) grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor to set newrelic transaction
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(app newrelic.Application, optFuncs ...Option) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor to set newrelic transaction
Types ¶
type Option ¶
Option is a function for building configurations object for an interceptor
func WithIgnoredMethods ¶
WithIgnoredMethods receives full method names to get newrelic to ignore them
func WithIgnoredServices ¶
WithIgnoredServices receives service names to get newrelic to ignore them
Click to show internal directories.
Click to hide internal directories.