pub enum CounterRecord {
Show 49 variants
GenericInterface(GenericInterface),
EthernetInterface(EthernetInterface),
TokenRing(TokenRing),
VgCounters(VgCounters),
Vlan(Vlan),
Ieee80211Counters(Ieee80211Counters),
LagPortStats(LagPortStats),
SlowPathCounts(SlowPathCounts),
IbCounters(IbCounters),
Sfp(Sfp),
Processor(Processor),
RadioUtilization(RadioUtilization),
QueueLength(QueueLength),
OfPort(OfPort),
PortName(PortName),
HostDescr(HostDescr),
HostAdapters(HostAdapters),
HostParent(HostParent),
HostCpu(HostCpu),
HostMemory(HostMemory),
HostDiskIo(HostDiskIo),
HostNetIo(HostNetIo),
VirtNode(VirtNode),
VirtCpu(VirtCpu),
VirtMemory(VirtMemory),
VirtDiskIo(VirtDiskIo),
VirtNetIo(VirtNetIo),
Mib2IpGroup(Mib2IpGroup),
Mib2IcmpGroup(Mib2IcmpGroup),
Mib2TcpGroup(Mib2TcpGroup),
Mib2UdpGroup(Mib2UdpGroup),
JmxRuntime(JmxRuntime),
JvmStatistics(JvmStatistics),
HttpCounters(HttpCounters),
AppOperations(AppOperations),
AppResources(AppResources),
MemcacheCounters(MemcacheCounters),
AppWorkers(AppWorkers),
OvsDpStats(OvsDpStats),
Energy(Energy),
Temperature(Temperature),
Humidity(Humidity),
Fans(Fans),
BroadcomBstDeviceBuffers(BroadcomBstDeviceBuffers),
BroadcomBstPortBuffers(BroadcomBstPortBuffers),
BroadcomHwTables(BroadcomHwTables),
NvidiaGpu(NvidiaGpu),
XenVif(XenVif),
Unknown {
enterprise: u32,
format: u32,
data: Vec<u8>,
},
}Expand description
A counter record within a counter sample.
Counter records contain periodic interface and system statistics reported by the sFlow agent.
Variants§
GenericInterface(GenericInterface)
Generic interface counters (enterprise=0, format=1).
EthernetInterface(EthernetInterface)
Ethernet-specific interface counters (enterprise=0, format=2).
TokenRing(TokenRing)
Token Ring interface counters (enterprise=0, format=3).
VgCounters(VgCounters)
100VG-AnyLAN counters (enterprise=0, format=4).
Vlan(Vlan)
VLAN counters (enterprise=0, format=5).
Ieee80211Counters(Ieee80211Counters)
IEEE 802.11 counters (enterprise=0, format=6).
LagPortStats(LagPortStats)
LAG port statistics (enterprise=0, format=7).
SlowPathCounts(SlowPathCounts)
Slow path counts (enterprise=0, format=8).
IbCounters(IbCounters)
InfiniBand counters (enterprise=0, format=9).
Sfp(Sfp)
SFP/optical transceiver counters (enterprise=0, format=10).
Processor(Processor)
Processor/CPU counters (enterprise=0, format=1001).
RadioUtilization(RadioUtilization)
Radio utilization counters (enterprise=0, format=1002).
QueueLength(QueueLength)
Queue length histogram (enterprise=0, format=1003).
OfPort(OfPort)
OpenFlow port mapping (enterprise=0, format=1004).
PortName(PortName)
Port name (enterprise=0, format=1005).
HostDescr(HostDescr)
Host description (enterprise=0, format=2000).
HostAdapters(HostAdapters)
Host network adapters (enterprise=0, format=2001).
HostParent(HostParent)
Host parent (virtualization) (enterprise=0, format=2002).
HostCpu(HostCpu)
Host CPU counters (enterprise=0, format=2003).
HostMemory(HostMemory)
Host memory counters (enterprise=0, format=2004).
HostDiskIo(HostDiskIo)
Host disk I/O counters (enterprise=0, format=2005).
HostNetIo(HostNetIo)
Host network I/O counters (enterprise=0, format=2006).
VirtNode(VirtNode)
Virtual node statistics (enterprise=0, format=2100).
VirtCpu(VirtCpu)
Virtual CPU statistics (enterprise=0, format=2101).
VirtMemory(VirtMemory)
Virtual memory statistics (enterprise=0, format=2102).
VirtDiskIo(VirtDiskIo)
Virtual disk I/O statistics (enterprise=0, format=2103).
VirtNetIo(VirtNetIo)
Virtual network I/O statistics (enterprise=0, format=2104).
Mib2IpGroup(Mib2IpGroup)
MIB-II IP group counters (enterprise=0, format=2007).
Mib2IcmpGroup(Mib2IcmpGroup)
MIB-II ICMP group counters (enterprise=0, format=2008).
Mib2TcpGroup(Mib2TcpGroup)
MIB-II TCP group counters (enterprise=0, format=2009).
Mib2UdpGroup(Mib2UdpGroup)
MIB-II UDP group counters (enterprise=0, format=2010).
JmxRuntime(JmxRuntime)
JMX runtime information (enterprise=0, format=2105).
JvmStatistics(JvmStatistics)
JVM statistics counters (enterprise=0, format=2106).
HttpCounters(HttpCounters)
HTTP method and status counters (enterprise=0, format=2201).
AppOperations(AppOperations)
Application operations counters (enterprise=0, format=2202).
AppResources(AppResources)
Application resource counters (enterprise=0, format=2203).
MemcacheCounters(MemcacheCounters)
Memcache counters (enterprise=0, format=2204).
AppWorkers(AppWorkers)
Application worker counters (enterprise=0, format=2206).
OvsDpStats(OvsDpStats)
Open vSwitch datapath statistics (enterprise=0, format=2207).
Energy(Energy)
Energy consumption counters (enterprise=0, format=3000).
Temperature(Temperature)
Temperature sensor counters (enterprise=0, format=3001).
Humidity(Humidity)
Humidity sensor counters (enterprise=0, format=3002).
Fans(Fans)
Fan status counters (enterprise=0, format=3003).
BroadcomBstDeviceBuffers(BroadcomBstDeviceBuffers)
Broadcom BST device buffer utilization (enterprise=4413, format=1).
BroadcomBstPortBuffers(BroadcomBstPortBuffers)
Broadcom BST port buffer utilization (enterprise=4413, format=2).
BroadcomHwTables(BroadcomHwTables)
Broadcom ASIC hardware table utilization (enterprise=4413, format=3).
NvidiaGpu(NvidiaGpu)
NVIDIA GPU counters via NVML (enterprise=5703, format=1).
XenVif(XenVif)
XenServer virtual interface metadata (enterprise=4300, format=2).
Unknown
Unrecognized counter record type, preserved as raw bytes.
Trait Implementations§
Source§impl Clone for CounterRecord
impl Clone for CounterRecord
Source§fn clone(&self) -> CounterRecord
fn clone(&self) -> CounterRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more