nethttp

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinTracer

type GinTracer struct {
	Tracer
}

GinTracer overrides Tracer to inspect the Gin ServeHTTP endpoint

func (*GinTracer) GoProbes

func (p *GinTracer) GoProbes() map[string]ebpfcommon.FunctionPrograms

func (*GinTracer) Run

func (p *GinTracer) Run(ctx context.Context, eventsChan chan<- []request.Span, service svc.ID)

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

func New added in v0.3.2

func New(cfg *ebpfcommon.TracerConfig, metrics imetrics.Reporter) *Tracer

func (*Tracer) AddCloser

func (p *Tracer) AddCloser(c ...io.Closer)

func (*Tracer) AllowPID added in v0.3.2

func (p *Tracer) AllowPID(pid uint32)

func (*Tracer) BlockPID added in v0.3.2

func (p *Tracer) BlockPID(pid uint32)

func (*Tracer) BpfObjects

func (p *Tracer) BpfObjects() any

func (*Tracer) Constants

func (p *Tracer) Constants(_ *exec.FileInfo, offsets *goexec.Offsets) map[string]any

func (*Tracer) GoProbes

func (p *Tracer) GoProbes() map[string]ebpfcommon.FunctionPrograms

func (*Tracer) KProbes

func (p *Tracer) KProbes() map[string]ebpfcommon.FunctionPrograms

func (*Tracer) Load

func (p *Tracer) Load() (*ebpf.CollectionSpec, error)

func (*Tracer) Run

func (p *Tracer) Run(ctx context.Context, eventsChan chan<- []request.Span, service svc.ID)

func (*Tracer) SocketFilters

func (p *Tracer) SocketFilters() []*ebpf.Program

func (*Tracer) UProbes

func (p *Tracer) UProbes() map[string]map[string]ebpfcommon.FunctionPrograms

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL