Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { StartTime uint64 EndTime uint64 Method [50]byte Target [50]byte SpanContext context.EBPFSpanContext ParentSpanContext context.EBPFSpanContext }
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.