Documentation
¶
Overview ¶
Package otelgrpc provide instrumentation primitives for gRPC clients and servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor interface { // Client returns the unary and stream interceptor required to instrument a // gRPC client instance. Client() (grpc.UnaryClientInterceptor, grpc.StreamClientInterceptor) // Server returns required gRPC interceptors to instrument a server instance. Server() (grpc.UnaryServerInterceptor, grpc.StreamServerInterceptor) }
Monitor provide easy-to-use instrumentation primitives for gRPC clients and servers.
func NewMonitor ¶
func NewMonitor() Monitor
NewMonitor returns a ready to use monitor instance that can be used to easily instrument gRPC clients and servers.
Click to show internal directories.
Click to hide internal directories.