Documentation ¶
Overview ¶
Package grpc provides an instrumentor for the client in the google.golang.org/grpc package.
Deprecated: This package is no longer supported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { context.BaseSpanProperties Method [50]byte Target [50]byte }
Event represents an event in the gRPC client during a gRPC request.
type Instrumentor ¶
type Instrumentor struct {
// contains filtered or unexported fields
}
Instrumentor is the gRPC client instrumentor.
func (*Instrumentor) FuncNames ¶
func (g *Instrumentor) FuncNames() []string
FuncNames returns the function names from "google.golang.org/grpc" that are instrumented.
func (*Instrumentor) LibraryName ¶
func (g *Instrumentor) LibraryName() string
LibraryName returns the gRPC package import path.
func (*Instrumentor) Load ¶
func (g *Instrumentor) Load(ctx *context.InstrumentorContext) error
Load loads all instrumentation offsets.
func (*Instrumentor) Run ¶
func (g *Instrumentor) Run(eventsChan chan<- *events.Event)
Run runs the events processing loop.
Click to show internal directories.
Click to hide internal directories.