Documentation
¶
Overview ¶
generated - do not edit
Index ¶
- Constants
- type Connection
- type ConnectionId
- type Event
- type EventReason
- type EventType
- type Tracer
- func (t *Tracer) ActiveConnectionsIterator() *ebpf.MapIterator
- func (t *Tracer) AttachGoTlsUprobes(pid uint32) ([]link.Link, bool)
- func (t *Tracer) AttachOpenSslUprobes(pid uint32) []link.Link
- func (t *Tracer) AttachPythonThreadLockProbes(pid uint32) []link.Link
- func (t *Tracer) Close()
- func (t *Tracer) GetAndDeleteTCPConnection(pid uint32, fd uint64) (*Connection, error)
- func (t *Tracer) Run(events chan<- Event) error
- type TrafficStats
Constants ¶
View Source
const ( EventTypeProcessStart EventType = 1 EventTypeProcessExit EventType = 2 EventTypeConnectionOpen EventType = 3 EventTypeConnectionClose EventType = 4 EventTypeConnectionError EventType = 5 EventTypeListenOpen EventType = 6 EventTypeListenClose EventType = 7 EventTypeFileOpen EventType = 8 EventTypeTCPRetransmit EventType = 9 EventTypeL7Request EventType = 10 EventTypePythonThreadLock EventType = 11 EventReasonNone EventReason = 0 EventReasonOOMKill EventReason = 1 )
View Source
const MaxPayloadSize = 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v1.21.0
type ConnectionId ¶ added in v1.21.0
type Event ¶
type Event struct { Type EventType Reason EventReason Pid uint32 SrcAddr netaddr.IPPort DstAddr netaddr.IPPort Fd uint64 Timestamp uint64 Duration time.Duration L7Request *l7.RequestData TrafficStats *TrafficStats }
type EventReason ¶
type EventReason uint32
func (EventReason) String ¶
func (t EventReason) String() string
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) ActiveConnectionsIterator ¶ added in v1.21.0
func (t *Tracer) ActiveConnectionsIterator() *ebpf.MapIterator
func (*Tracer) AttachGoTlsUprobes ¶ added in v1.9.0
func (*Tracer) AttachOpenSslUprobes ¶ added in v1.10.0
func (*Tracer) AttachPythonThreadLockProbes ¶ added in v1.20.4
func (*Tracer) GetAndDeleteTCPConnection ¶ added in v1.21.0
func (t *Tracer) GetAndDeleteTCPConnection(pid uint32, fd uint64) (*Connection, error)
type TrafficStats ¶ added in v1.21.0
Click to show internal directories.
Click to hide internal directories.