Metrics

The following sFlow counter based metrics are supported by sFlow-RT. However, the subset of available metrics will depend on the sources of sFlow data and can be queried using REST API /metrics/ or JavaScript metrics() function.

New metrics can be created by Defining Flows or by sending Custom Metrics.

Interface Identification
NameComment
of_dpidOpenFlow datapath id
of_portOpenFlow port number
ifnameOpenFlow port name or SNMP ifName
Generic Interface Metrics
NameComment
ifindexifIndex
ifinoctetsifInOctets
iftypeifType: ethernetCsmacd | iso88023Csmacd | ...
ifspeedifSpeed
ifdirectionifDirection: unknown | full-duplex | half-duplex | in | out
ifadminstatusifAdminStatus: up | down
ifoperstatusifOperStatus: up | down
ifinoctetsifInOctets
ifinucastpktsifInUcastPkts
ifinmulticastpktsifInMulticastPkts
ifinbroadcastpktsifInBroadcastPkts
ifindiscardsifInDiscards
ifinerrorsifInErrors
ifinunknownprotosifInUnknownProtos
ifinutilizationifinoctets * 800 / ifspeed
ifinoctetsifInOctets
ifinpktsifinucastpkts + ifinmulticastpkts + ifinbroadcastpkts
ifoutoctetsifOutOctets
ifoutucastpktsifOutUcastPkts
ifoutmulticastpktsifOutMulticastPkts
ifoutbroadcastpktsifOutBroadcastPkts
ifoutdiscardsifOutDiscards
ifouterrorsifOutErrors
ifoututilizationifoutoctets * 800 / ifspeed
ifoutpktsifoutucastpkts + ifoutmulticastpkts + ifoutbroadcastpkts
Ethernet Interface Metrics
NameComment
eth_alignmenterrorsdot3StatsAlignmentErrors
eth_fcserrorsdot3StatsFCSErrors
eth_singlecollisionsdot3StatsSingleCollisionFrames
eth_multiplecollisionsdot3StatsMultipleCollisionFrames
eth_sqetesterrorsdot3StatsSQETestErrors
eth_deferredtxdot3StatsDeferredTransmissions
eth_latecollisiondot3StatsLateCollisions
eth_excessivecollisionsdot3StatsExcessiveCollisions
eth_internalmactxerrorsdot3StatsInternalMacTransmitErrors
eth_carriersenseerrorsdot3StatsCarrierSenseErrors
eth_toolongsdot3StatsFrameTooLongs
eth_internalmacrxerrorsdot3StatsInternalMacReceiveErrors
eth_symbolerrorsdot3StatsSymbolErrors
WiFi Interface Metrics
NameComment
wifi_txfragmentsdot11TransmittedFragmentCount
wifi_txmulticastsdot11MulticastTransmittedFrameCount
wifi_failuresdot11FailedCount
wifi_retriesdot11RetryCount
wifi_multiretriesdot11MultipleRetryCount
wifi_duplicatesdot11FrameDuplicateCount
wifi_rtssuccessesdot11RTSSuccessCount
wifi-rtsfailuresdot11RTSFailureCount
wifi_ackfailuresdot11ACKFailureCount
wifi_rxfragmentsdot11ReceivedFragmentCount
wifi_rxmulticastsdot11MulticastReceivedFrameCount
wifi_fcserrorsdot11FCSErrorCount
wifi_txframesdot11TransmittedFrameCount
wifi_wepunencryptabledot11WEPUndecryptableCount
wifi_qosdiscardedfragmentsdot11QoSDiscardedFragmentCount
wifi_associationsdot11AssociatedStationCount
wifi_qoscfprxdot11QoSCFPollsReceivedCount
wifi_qoscfpunuseddot11QoSCFPollsUnusedCount
wifi_qoscfpunuseabledot11QoSCFPollsUnusableCount
wifi_qoscfplostdot11QoSCFPollsLostCount
radio_on_channeltime in ms spent on channel
radio_on_channel_busytime in ms spent on channel and busy
LAG Interface Metrics

See Link aggregation for discussion of sFlow LAG reporting.

NameComment
agg_actorsystemiddot3adAggPortActorSystemID
agg_partneropersystemiddot3adAggPortPartnerOperSystemID
agg_attachedaggiddot3adAggPortAttachedAggID
agg_actoradminstatedot3adAggPortActorAdminState
agg_actoroperstatedot3adAggPortActorOperState
agg_partneradminstatedot3adAggPortPartnerAdminState
agg_partneroperstatedot3adAggPortPartnerOperState
agg_lacpdusrxdot3adAggPortStatsLACPDUsRx
agg_markerpdusrxdot3adAggPortStatsMarkerPDUsRx
agg_markerresponsepdusrxdot3adAggPortStatsMarkerResponsePDUsRx
agg_unknownrxdot3adAggPortStatsUnknownRx
agg_illegalrxdot3adAggPortStatsIllegalRx
agg_lacppdustxdot3adAggPortStatsLACPDUsTx
agg_markerpdustxdot3adAggPortStatsMarkerPDUsTx
agg_markerresponsepdustxdot3adAggPortStatsMarkerResponsePDUsTx
Optical Interface Metrics

See Lasers! for discussion of optical monitoring.

NameComment
opt_module_idInteger identifying optics module within device
opt_module_lanesTotal number of optical lanes in module
opt_module_voltageModule supply voltage (mW)
opt_module_temperatureModule temperature (thousandths of a degree Celsius
opt_num_lanesNumber of lanes associated with this switch port
opt_index_<N>1-based index of lane within module, 0=unknown
opt_tx_bias_<N>Lane N transmit bias (microamps)
opt_tx_power_<N>Lane N transmit power (microwatts)
opt_tx_power_min_<N>Lane N min transmit power limit (microwatts)
opt_tx_power-max_<N>Lane N max transmit power limit (microwatts)
opt_tx_wavelength_<N>Lane N transmit wavelength (nanometers)
opt_rx_power_<N>Lane N receive power (microwatts)
opt_rx_power_min_<N>Lane N min receive power limit (microwatts)
opt_rx_power_max_<N>Lane N max receive power limit (microwatts)
opt_rx_wavelength_<N>Lane N receive wavelength (nanometers)
Switch Processor Metrics
NameComment
cpu_5sec5 second average CPU utilization
cpu_1min1 minute average CPU utilization
cpu_5min5 minute average CPU utilization
mem_freetotal memory (in bytes)
mem_totalfree memory (in bytes)
mem_utilization100 * (mem_total - mem_free) / mem_total
Host Identification
NameComment
host_name
os_release
uuid
machine_typeunknown | other | x86 | x86_64 | powerpc | arm | ...
os_nameunknown | other | linux | windows | ...
VM Identification
NameComment
vir_host_name
vir_os_release
vir_uuid
vir_machine_typeunknown | other | x86 | x86_64 | powerpc | arm | ...
vir_os_nameunknown | other | linux | windows | ...
host_parent
Host CPU Metrics
NameComment
load_one
load_five
load_fifteen
proc_run
proc_total
cpu_num
cpu_speed
uptime
cpu_user
cpu_nice
cpu_system
cpu_idle
cpu_wio
cpu_intr
cpu_sintr
cpu_utilization
interrupts
contexts
cpu_steal
cpu_guest
cpu_guest_nice
load_one_per_cpu
load_five_per_cpu
load_fifteen_per_cpu
Host Memory Metrics
NameComment
mem_total
mem_free
mem_shared
mem_buffers
mem_cached
swap_total
swap_free
page_in
page_out
swap_in
mem_utilization100 * (mem_total - mem_free - mem_buffers - mem_cached) / mem_total
Host Disk I/O Metrics
NameComment
disk_total
disk_free
part_max_used
reads
bytes_read
read_time
writes
bytes_written
write_time
disk_utilization100 * (disk_total - disk_free) / disk_total
Host Network I/O Metrics
NameComment
bytes_in
pkts_in
errs_in
drops_in
bytes_out
pkts_out
errs_out
drops_out
Host IP Metrics
NameComment
ip_forwarding
ip_defaultttl
ip_inreceives
ip_inhdrerrors
ip_inaddrerrors
ip_forwdatagrams
ip_inunknownprotos
ip_indiscards
ip_indelivers
ip_outrequests
ip_outdiscards
ip_outnoroutes
ip_reasmtimeout
ip_reasmreqds
ip_reasmoks
ip_reasmfails
ip_fragoks
ip_fragfails
ip_fragcreates
Host ICMP Metrics
NameComment
icmp_inmsgs
icmp_inerrors
icmp_indestunreachs
icmp_intimeexcds
icmp_inparamprobs
icmp_insrcquenchs
icmp_inredirects
icmp_inechos
icmp_inechoreps
icmp_intimestamps
icmp_inaddrmasks
icmp_inaddrmaskreps
icmp_outmsgs
icmp_outerrors
icmp_outdestunreachs
icmp_outtimeexcds
icmp_outparamprobs
icmp_outsrcquenchs
icmp_outredirects
icmp_outechos
icmp_outechoreps
icmp_outtimestamps
icmp_outtimestampreps
icmp_outaddrmasks
icmp_outaddrmaskreps
Host TCP Metrics
NameComment
tcp_rtoalgorithm
tcp_rtomin
tcp_rtomax
tcp_maxconn
tcp_activeopens
tcp_passiveopens
tcp_attemptfails
tcp_estabresets
tcp_currestab
tcp_insegs
tcp_outsegs
tcp_retranssegs
tcp_inerrs
tcp_outrsts
tcp_incsumerrs
Host UDP Metrics
NameComment
udp_indatagrams
udp_noports
udp_inerrors
udp_outdatagrams
udp_rcvbuferrors
udp_sndbuferrors
udp_incsumerrors
Host Virtualization Node Metrics
NameComment
node_cpu_mhz
node_cpus
node_mem_total
node_mem_free
node_domains
Virtual Machine CPU Metrics
NameComment
vir_cpu_statenostate | running | blocked | ...
vir_cpu_utilization
vir_cpu_num
Virtual Machine Memory Metrics
NameComment
vir_mem_used
vir_mem_total
vir_mem_free
vir_mem_utilization
Virtual Machine Disk I/O Metrics
NameComment
vir_disk_capacity
vir_disk_allocation
vir_disk_physical
vir_reads
vir_bytes_read
vir_writes
vir_bytes_written
vir_errors
Virtual Machine Network I/O Metrics
NameComment
vir_bytes_in
vir_pkts_in
vir_errs_in
vir_drops_in
vir_bytes_out
vir_pkts_out
vir_errs_out
vir_drops_out
Java Virtual Machine Metrics

See sFlow Blog for articles on Java sFlow

NameComment
jvm_name
jvm_vendor
jvm_version
jvm_heap_initial
jvm_heap_used
jvm_heap_committed
jvm_heap_max
jvm_non_heap_initial
jvm_non_heap_used
jvm_non_heap_committed
jvm_non_heap_max
jvm_gc_count
jvm_gc_utilization
jvm_compilation_utilization
jvm_classes_loaded
jvm_classes_unloaded
jvm_classes_total
jvm_thread_live
jvm_thread_daemon
jvm_thread_started
jvm_fds_open
jvm_fds_max
HTTP Metrics

See sFlow Blog for articles on HTTP sFlow

NameComment
http_method_option
http_method_get
http_method_head
http_method_post
http_method_put
http_method_delete
http_method_trace
http_method_connect
http_method_other
http_status_1xx
http_status_2xx
http_status_3xx
http_status_4xx
http_status_5xx
http_status_other
http_requests
Generic Application Metrics
NameComment
app_success
app_other
app_timeout
app_internal_error
app_bad_request
app_forbidden
app_too_large
app_not_implemented
app_not_found
app_unavailable
app_unauthorized
app_requests
Application Resource Metrics
NameComment
app_usertime
app_systime
app_mem_used
app_mem_max
app_mem_utilization
app_fd_open
app_fd_max
app_fd_utilization
app_conn_open
app_conn_max
app_conn_utilization
Application Worker Pool Metrics

See Thread pools for discussion of sFlow worker pool reporting.

NameComment
workers_activeThe number of threads in the thread pool that are actively processing a reques
workers_idleThe number of threads in the thread pool that are waiting for a request
workers_maxThe maximum number of threads that can exist in the thread pool
workers_utilization100 * workers_active / workers_max
req_delayedThe number of tasks that could not be served immediately, but spent time in the task queue
req_droppedThe number of tasks that were dropped because the task queue was full
Open vSwitch Datapath Metrics

See Open vSwitch performance monitoring for discussion of sFlow datapath metrics.

NameComment
ovs_dp_hitsDatapath cache packet hits
ovs_dp_missesDatapath cache packet misses
ovs_dp_lostDatapath packets lost
ovs_dp_hitrate100 * ovs_dp_hits / (ovs_dp_hits + ovs_dp_misses)
ovs_dp_missrate100 * ovs_dp_misses / (ovs_dp_hits + ovs_dp_misses)
ovs_dp_flowsSize of datapath cache
ovs_dp_masksNumber of mask entries
ovs_dp_mask_hitsNumber packets matched by masks
ovs_dp_maskhitsperpacketovs_dp_mask_hits / (ovs_dp_hits + ovs_dp_misses)
Memcache Metrics

See sFlow Blog for articles on Memcache sFlow.

NameComment
memcache_cmdset
memcache_cmdtouch
memcache_cmdflush
memcache_gethits
memcache_getmisses
memcache_deletehits
memcache_deletemisses
memcache_incrhits
memcache_incrmisses
memcache_decrhits
memcache_decrmisses
memcache_cashits
memcache_casmisses
memcache_casbadval
memcache_authcmds
memcache_autherrors
memcache_threads
memcache_connectionyields
memcache_listendisabled
memcache_currentconnections
memcache_rejectedconnections
memcache_connections
memcache_connectionstructures
memcache_evictions
memcache_reclaimed
memcache_currentitems
memcache_totalitems
memcache_bytesread
memcache_byteswritted
memcache_bytes
memcache_maxbytes
memcache_requests
memcache_hitrate
memcache_missrate
NVIDIA NVML

See GPU performance monitoring for a discussion of GPU metrics

NameComment
nvml_devicecountsee nvmlDeviceGetCount
nvml_processessee nvmlDeviceGetComputeRunningProcesses
nvml_gputimetotal milliseconds in which one or more kernels was executing on GPU, sum across all devices, divide by elapsed milliseconds, expressed as a percentage
nvml_memtimetotal milliseconds during which global device memory was being read/written, sum across all devices, divide by elapsed milliseconds, expressed as a percentage
nvml_memtotalsum of framebuffer memory across devices, see nvmlDeviceGetMemoryInfo
nvml_memfreesum of free framebuffer memory across devices, see nvmlDeviceGetMemoryInfo
nvml_memusednvml_memtotal - nvml_memused
nvml_memutilization100 * nvml_memused / nvml_memtotal
nvml_eccerrorssum of volatile ECC errors across devices, see nvmlDeviceGetTotalEccErrors
nvml_powersum of millijoules across devices, see nvmlDeviceGetPowerUsage
nvml_temperaturemaximum temperature in degrees Celsius across devices, see nvmlDeviceGetTemperature
nvml_fanspeedmaximum fan speed in percent across devices, see nvmlDeviceGetFanSpeed
Broadcom ASIC Table Utilization Metrics

See Broadcom ASIC table utilization metrics, DevOps, and SDN for a discussion of monitoring Broadcom based switch resources using sFlow.

NameComment
bcm_host_entries
bcm_host_entries_max
bcm_host_utilization
bcm_ipv4_entries
bcm_ipv4_entries_max
bcm_ipv4_utilization
bcm_ipv6_entries
bcm_ipv6_entries_max
bcm_ipv6_utilization
bcm_ipv4_ipv6_entries
bcm_ipv4_ipv6_entries_max
bcm_ipv4_ipv6_utilization
bcm_long_ipv6_entries
bcm_long_ipv6_entries_max
bcm_long_ipv6_utilization
bcm_total_routes
bcm_total_routes_max
bcm_total_routes_utilization
bcm_ecmp_nexthops
bcm_ecmp_nexthops_max
bcm_ecmp_nexthops_utilization
bcm_mac_entries
bcm_mac_entries_max
bcm_mac_utilization
bcm_ipv4_neighbors
bcm_ipv6_neighbors
bcm_ipv4_routes
bcm_ipv6_routes
bcm_acl_ingress_entries
bcm_acl_ingress_entries_max
bcm_acl_ingress_utilization
bcm_acl_ingress_counters
bcm_acl_ingress_counters_max
bcm_acl_ingress_counters_utilization
bcm_acl_ingress_meters
bcm_acl_ingress_meters_max
bcm_acl_ingress_meters_utilization
bcm_acl_ingress_slices
bcm_acl_ingress_slices_max
bcm_acl_ingress_slices_utilization
bcm_acl_egress_entries
bcm_acl_egress_entries_max
bcm_acl_egress_utilization
bcm_acl_egress_counters
bcm_acl_egress_counters_max
bcm_acl_egress_counters_utilization
bcm_acl_egress_meters
bcm_acl_egress_meters_max
bcm_acl_egress_meters_utilization
bcm_acl_egress_slices
bcm_acl_egress_slices_max
bcm_acl_egress_slices_utilization