Documentation
¶
Overview ¶
Package presentation implements interactive and non-interactive reporting of cache activity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonReport ¶ added in v1.5.0
type StatProvider ¶
type StatProvider func() StatsSet
StatProvider returns a snapshot of current runtime statistics.
type Stats ¶
type Stats struct {
// count of packets that entered the kernel BPF
PacketsEnteredFilter int `json:"PacketsEnteredFilter"`
// count of packets that passed the BPF and queued or dropped by the kernel
PacketsPassedFilter int `json:"PacketsPassedFilter"`
// count of packets received from pcap
PacketsCaptured int `json:"PacketsCaptured"`
// count of packets dropped due to kernel buffer overflow
PacketsDroppedKernel int `json:"PacketsDroppedKernel"`
// count of packets dropped due to no decoder available
PacketsDroppedParser int `json:"PacketsDroppedParser"`
// count of packets dropped due to analysis queue being full
PacketsDroppedAnalysis int `json:"PacketsDroppedAnalysis"`
PacketsDroppedTotal int `json:"PacketsDroppedTotal"`
ResponsesParsed int `json:"ResponsesParsed"`
}
Stats collects statistics on runtime performance to be displayed to the user.
Click to show internal directories.
Click to hide internal directories.