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 [7]byte Path [100]byte SpanContext context.EBPFSpanContext }
Event represents an event in the gin-gonic/gin server during an HTTP request-response.
type Instrumentor ¶
type Instrumentor struct {
// contains filtered or unexported fields
}
Instrumentor is the gin-gonic/gin instrumentor.
func (*Instrumentor) FuncNames ¶
func (h *Instrumentor) FuncNames() []string
FuncNames returns the function names from "github.com/gin-gonic/gin" that are instrumented.
func (*Instrumentor) LibraryName ¶
func (h *Instrumentor) LibraryName() string
LibraryName returns the gin-gonic/gin package import path.
func (*Instrumentor) Load ¶
func (h *Instrumentor) Load(ctx *context.InstrumentorContext) error
Load loads all instrumentation offsets.
func (*Instrumentor) Run ¶
func (h *Instrumentor) Run(eventsChan chan<- *events.Event)
Run runs the events processing loop.
Click to show internal directories.
Click to hide internal directories.