Skip to main content

Probes, Metrics and Events

This documentation will introduce probes supported by KubeSkoop, with their metrics and events.

Probes

Probes supported by KubeSkoop are listed below.

Probe NameDescriptionProbe TypeData SourceOverhead
conntrackStatistics of conntrackMetricsnetlinkLow
qdiscStatistics of tc qdiscMetricsnetlinkLow
fdStatistics of file and socket descriptorMetricsprocfsMedium
ioStatistics of process IOMetricsprocfsLow
ipvsStatistics of IPVSMetricsprocfsLow
netdevStatistics of network deviceMetricsprocfsLow
tcpextStatistics of the TCPExtMetricsprocfsLow
tcpStatistics of TCP from snmpMetricsprofcsLow
udpStatistics of UDPMetricsprofcsLow
ipStatistics of IPMetricsprofcsLow
sockStatistics of socketMetricsprocfsLow
softnetStatistics of packet sent and dropped from network deviceMetricsprocfsLow
tcpsummaryStatistics of TCP queue and connection statusMetricsprocfsMedium
flowStatistics of connection flowMetricseBPFMedium
netiftxlatencyTrace network delay during transmissionMetrics, EventseBPFHigh
biolatencyTrace delay during block IOMetrics, EventseBPFMedium
kernellatencyTrace latency in kernelMetrics, EventseBPFHigh
packetlossTrace packet lossMetrics, EventseBPFMedium
socketlatencyTrace latency in socketMetrics, EventseBPFHigh
tcpresetTrace TCP resetEventseBPFLow
virtcmdlatencyTrace latency in virtio deviceMetrics, EventseBPFHigh
net_softirqTrace latency in software interruptMetrics, EventseBPFHigh
tcpretransTrace TCP packet retransmissionMetrics, EventseBPFLow

Metrics

Metric Labels

Theses labels are present on all metrics.

Label NameDescription
target_podPod name or "hostNetwork"
target_namespacePod namespace or "hostNetwork"
target_nodeNode name

Metric List

Metric NameProbe NameDescription
kubeskoop_conntrack_foundconntrackconntrack statistics "found"
kubeskoop_conntrack_invalidconntrackconntrack statistics "invalid"
kubeskoop_conntrack_ignoreconntrackconntrack statistics "ignore"
kubeskoop_conntrack_insertconntrackconntrack statistics "insert"
kubeskoop_conntrack_insertfailedconntrackconntrack statistics "insert_failed"
kubeskoop_conntrack_dropconntrackconntrack statistics "drop"
kubeskoop_conntrack_earlydropconntrackconntrack statistics "early_drop"
kubeskoop_conntrack_errorconntrackconntrack statistics "error"
kubeskoop_conntrack_searchrestartconntrackconntrack statistics "search_restart"
kubeskoop_conntrack_entriesconntrackconntrack global statistics "entries"
kubeskoop_conntrack_maxentriesconntrackconntrack global statistics "max_entries"
kubeskoop_qdisc_bytesqdisctc qdisc statistics "bytes"
kubeskoop_qdisc_packetsqdisctc qdisc statistics "packets"
kubeskoop_qdisc_dropsqdisctc qdisc statistics "drops"
kubeskoop_qdisc_qlenqdisctc qdisc statistics "qlen"
kubeskoop_qdisc_backlogqdisctc qdisc statistics "backlog"
kubeskoop_qdisc_overlimitsqdisctc qdisc statistics "overlimits"
kubeskoop_fd_openfdfdopened fd in pod
kubeskoop_fd_opensocketfdopened socket in pod
kubeskoop_io_ioreadsyscallioio read syscalls count in pod
kubeskoop_io_iowritesyscallioio write syscalls count in pod
kubeskoop_io_ioreadbytesioio read bytes in pod
kubeskoop_io_iowritebytesioio write bytes in pod
kubeskoop_ipvs_connectionsipvsconnections of IPVS in pod
kubeskoop_ipvs_incomingpacketsipvsincoming packets of IPVS in pod
kubeskoop_ipvs_outgoingbytesipvsoutgoing bytes of IPVS in pod
kubeskoop_ipvs_incomingbytesipvsincoming bytes of IPVS in pod
kubeskoop_ipvs_outgoingpacketsipvsoutgoing packets of IPVS in pod
kubeskoop_netdev_rxbytesnetdevrx bytes of all network devices in pod
kubeskoop_netdev_rxerrorsnetdevrx errors of all network devices in pod
kubeskoop_netdev_txbytesnetdevtx bytes of all network devices in pod
kubeskoop_netdev_txerrorsnetdevtx error of all network devices in pod
kubeskoop_netdev_rxpacketsnetdevrx packets of all network devices in pod
kubeskoop_netdev_rxdroppednetdevrx dropped packets of all network devices in pod
kubeskoop_netdev_txpacketsnetdevtx packets of all network devices in pod
kubeskoop_netdev_txdroppednetdevtx dropped packets of all network devices in pod
kubeskoop_tcpext_listendropstcpextListenDrops of TCPExt
kubeskoop_tcpext_listenoverflowstcpextListenOverflow of TCPExt
kubeskoop_tcpext_tcpsynretranstcpextTCPSynRetrans of TCPExt
kubeskoop_tcpext_tcpfastretranstcpextTCPFastRetrans of TCPExt
kubeskoop_tcpext_tcpretransfailtcpextTCPRetransFail of TCPExt
kubeskoop_tcpext_tcptimeoutstcpextTCPTimeouts of TCPExt
kubeskoop_tcpext_tcpabortonclosetcpextTCPAbortOnClose of TCPExt
kubeskoop_tcpext_tcpabortonmemorytcpextTCPAbortOnMemory of TCPExt
kubeskoop_tcpext_tcpabortontimeouttcpextTCPAbortOnTimeout of TCPExt
kubeskoop_tcpext_tcpabortonlingertcpextTCPAbortOnLinger of TCPExt
kubeskoop_tcpext_tcpabortondatatcpextTCPAbortOnData of TCPExt
kubeskoop_tcpext_tcpabortfailedtcpextTCPAbortFailed of TCPExt
kubeskoop_tcpext_tcpackskippedsynrecvtcpextTCPACKSkippedSynRecv of TCPExt
kubeskoop_tcpext_tcpackskippedpawstcpextTCPACKSkippedPAWS of TCPExt
kubeskoop_tcpext_tcpackskippedseqtcpextTCPACKSkippedSeq of TCPExt
kubeskoop_tcpext_tcpackskippedfinwait2tcpextTCPACKSkippedFinWait2 of TCPExt
kubeskoop_tcpext_tcpackskippedtimewaittcpextTCPACKSkippedTimeWait of TCPExt
kubeskoop_tcpext_tcpackskippedchallengetcpextTCPACKSkippedChallenge of TCPExt
kubeskoop_tcpext_tcprcvqdroptcpextTCPRcvQDrop of TCPExt
kubeskoop_tcpext_tcpmemorypressurestcpextTCPMemoryPressures of TCPExt
kubeskoop_tcpext_tcpmemorypressureschronotcpextTCPMemoryPressuresChrono of TCPExt
kubeskoop_tcpext_pawsactivetcpextPAWSActive of TCPExt
kubeskoop_tcpext_pawsestabtcpextPAWSEstab of TCPExt
kubeskoop_tcpext_embryonicrststcpextEmbryonicRsts of TCPExt
kubeskoop_tcpext_tcpwinprobetcpextTCPWinProbe of TCPExt
kubeskoop_tcpext_tcpkeepalivetcpextTCPKeepAlive of TCPExt
kubeskoop_tcpext_tcpmtupfailtcpextTCPMTUPFail of TCPExt
kubeskoop_tcpext_tcpmtupsuccesstcpextTCPMTUPSuccess of TCPExt
kubeskoop_tcpext_tcpzerowindowdroptcpextTCPZeroWindowDrop of TCPExt
kubeskoop_tcpext_tcpbacklogdroptcpextTCPBacklogDrop of TCPExt
kubeskoop_tcpext_pfmemallocdroptcpextPFMemallocDrop of TCPExt
kubeskoop_tcpext_tcpwqueuetoobigtcpextTCPWqueueTooBig of TCPExt
kubeskoop_tcp_activeopenstcpActiveOpens of TCP
kubeskoop_tcp_passiveopenstcpPassiveOpens of TCP
kubeskoop_tcp_retranssegstcpRetransSegs of TCP
kubeskoop_tcp_attemptfailstcpAttemptFails of TCP
kubeskoop_tcp_estabresetstcpEstabResets of TCP
kubeskoop_tcp_currestabtcpCurrEstab of TCP
kubeskoop_tcp_insegstcpInSegs of TCP
kubeskoop_tcp_outsegstcpOutSegs of TCP
kubeskoop_tcp_inerrstcpInErrs of TCP
kubeskoop_tcp_outrststcpOutRsts of TCP
kubeskoop_udp_indatagramsudpInDatagrams of UDP
kubeskoop_udp_noportsudpNoPorts of UDP
kubeskoop_udp_inerrorsudpInErrors of UDP
kubeskoop_udp_outdatagramsudpOutDatagrams of UDP
kubeskoop_udp_rcvbuferrorsudpRcvbufErrors of UDP
kubeskoop_udp_sndbuferrorsudpSndbufErrors of UDP
kubeskoop_udp_incsumerrorsudpInCsumErrors of UDP
kubeskoop_udp_ignoredmultiudpIgnoredMulti of UDP
kubeskoop_ip_innoroutesipInNoRoutes of IP
kubeskoop_ip_intruncatedpktsipInTruncatedPkts of IP
kubeskoop_sock_inusesockInuse of sock
kubeskoop_sock_orphansockOrphan of sock
kubeskoop_sock_twsockTW of sock
kubeskoop_sock_allocsockAlloc of sock
kubeskoop_sock_memsockMem of sock
kubeskoop_softnet_processedsoftnetProcessed of softnet
kubeskoop_softnet_droppedsoftnetDropped of softnet
kubeskoop_tcpsummary_tcpestablishedconntcpsummaryESTABLISHED connection count
kubeskoop_tcpsummary_tcptimewaitconntcpsummaryTIME_WAIT connection count
kubeskoop_tcpsummary_tcptxqueuetcpsummarytx queue length of all TCP connections
kubeskoop_tcpsummary_tcprxqueuetcpsummaryrx queue length of all TCP connections
kubeskoop_netiftxlat_qdiscslow100msnetiftxlatencyqdisc latency exceeds 100ms during transmission
kubeskoop_netiftxlat_netdevslow100msnetiftxlatencynetdev transmit latency exceeds 100ms during transmission
kubeskoop_kernellatency_rxslowkernellatencyKernel packet receiving slow
kubeskoop_kernellatency_rxslow100mskernellatencyKernel packet receiving latency exceeds 100ms
kubeskoop_kernellatency_txslowkernellatencyKernel packet transmitting slow
kubeskoop_kernellatency_txslow100mskernellatencyKernel packet transmitting latency exceeds 100ms
kubeskoop_packetloss_totalpacketlossPacket dropped total count
kubeskoop_packetloss_netfilterpacketlossPacket dropped in nf_hook_slow()
kubeskoop_socketlatency_read100mssocketlatencySocket read latency exceeds 100ms
kubeskoop_socketlatency_read1mssocketlatencySocket read latency exceeds 1ms
kubeskoop_socketlatency_write100mssocketlatencySocket write latency exceeds 100ms
kubeskoop_socketlatency_write1mssocketlatencySocket write latency exceeds 1ms
kubeskoop_virtcmdlatency_latency100msvirtcmdlatencyVirtio send command latency exceeds 100ms
kubeskoop_virtcmdlatency_latencyvirtcmdlatencyVirtio send command slow
kubeskoop_softirq_schedslownet_softirqSoftirq sched slow (from softirq_raise() to softirq_entry())
kubeskoop_softirq_schedslow100msnet_softirqSoftirq sched latency exceeds 100ms
kubeskoop_softirq_excuteslownet_softirqSoftirq execute slow (from softirq_entry() to softirq_exit())
kubeskoop_softirq_excuteslow100msnet_softirqSoftirq execute latency exceeds 100ms
kubeskoop_flow_bytesflowBytes sent connection flow
kubeskoop_flow_packetsflowPackets sent of connection flow

Events

Event List

Event supported by KubeSkoop exporter are listed below.

Event NameProbe NameDescriptionEvent Body
TXLAT_QDISC_100MSnetiftxlatencyqdisc latency exceeds 100ms during transmission5-tuple(protocol, saddr, sport, daddr, dport), latency
TXLAT_NETDEV_100MSnetiftxlatencynetdev transmit latency exceeds 100ms during transmission5-tuple(protocol, saddr, sport, daddr, dport), latency
BIOLAT_10MSbiolatencyBlock IO latency exceeds 10msprocess name, pid, latency
BIOLAT_100MSbiolatencyBlock IO latency exceeds 100msprocess name, pid, latency
RXKERNEL_SLOWkernellatencyKernel packet receiving latency exceeds 100ms5-tuple(protocol, saddr, sport, daddr, dport), latency in different locations
TXKERNEL_SLOWkernellatencyKernel packet transmitting latency exceeds 100ms5-tuple(protocol, saddr, sport, daddr, dport), latency in different locations
PacketLosspacketlossPacket dropped5-tuple(protocol, saddr, sport, daddr, dport), stacktrace
SOCKETLAT_READSLOWsocketlatencySocket read slow5-tuple(protocol, saddr, sport, daddr, dport), latency
SOCKETLAT_SENDSLOWsocketlatencySocket send slow5-tuple(protocol, saddr, sport, daddr, dport), latency
TCPRESET_NOSOCKtcpresetTCP connection sent RST because of no socket5-tuple(protocol, saddr, sport, daddr, dport), socket state
TCPRESET_ACTIVEtcpresetTCP connection sent active RST because of close() syscall or linger, etc.5-tuple(protocol, saddr, sport, daddr, dport), socket state
TCPRESET_PROCESStcpresetTCP connection sent RST because of no socket or exception in handshaking, etc.5-tuple(protocol, saddr, sport, daddr, dport), socket state
TCPRESET_RECEIVEtcpresetTCP connection received RST5-tuple(protocol, saddr, sport, daddr, dport), socket state
VIRTCMDEXCUTEvirtcmdlatencyVirtio send command slowcpu, pid, latency
NETSOFTIRQ_SCHED_SLOWnet_softirqSoftirq sched slow (from softirq_raise() to softirq_entry())cpu, pid, latency
NETSOFTIRQ_SCHED_100MSnet_softirqSoftirq sched latency exceeds 100mscpu, pid, latency
NETSOFTIRQ_EXCUTE_SLOWnet_softirqSoftirq execute slow (from softirq_entry() to softirq_exit())cpu, pid, latency
NETSOFTIRQ_EXCUTE_100MSnet_softirqSoftirq execute latency exceeds 100mscpu, pid, latency
TCPRetranstcpretransTCP retransmissionstacktrace