Documentation ¶
Index ¶
Constants ¶
View Source
const PollInerval = 100 * time.Millisecond
Variables ¶
This section is empty.
Functions ¶
func ConfigureMetricMeter ¶
Types ¶
type FilterPrinter ¶
type FilterPrinter struct {
// contains filtered or unexported fields
}
FilterPrinter is a printer that filters the output.
func NewFilterPrinter ¶
func NewFilterPrinter(includeNames, excludeNames, includeAttributes, excludeAttributes []string) (FilterPrinter, error)
func (FilterPrinter) Encode ¶
func (p FilterPrinter) Encode(v any) error
type Name ¶
type Name uint16
const ( Unknown Name = iota // DNS DNSPollPacketEAGAIN DNSPollPacketTimeout DNSPollPacketError DNSParseDNSLayerSkip DNSParseIPLayerError DNSResponseFailure DNSNoCorrespondingResponse DNSQueryLatency DNSDiscardQuestion DNSExpiredCacheDelete // TCP TCPSentBytes TCPRecvBytes TCPSentPackets TCPRecvPackets TCPRtt TCPRttVar TCPRetransmits )
Click to show internal directories.
Click to hide internal directories.