Documentation
¶
Index ¶
- Variables
- func Update(conn net.Conn, hostname string, log *logrus.Logger) error
- type DpServiceFirewallRuleCount
- type DpServiceGraphCallCount
- type DpServiceHashTableSaturation
- type DpServiceNatPortCount
- type DpServiceVirtsvcPortCount
- type EalHeapInfo
- type EalHeapList
- type EthdevInfo
- type EthdevLinkStatus
- type EthdevList
- type EthdevXstats
- type GraphCallCount
- type HashTable
- type NodeData
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DpdkEthdevErrors = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_ethdev_errors_total", Help: "DPDK total ethdev errors", }, []string{"name", "stat"}, ) DpdkEthdevPackets = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_ethdev_packets_total", Help: "DPDK total ethdev packets", }, []string{"name", "stat"}, ) DpdkEthdevBytes = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_ethdev_bytes_total", Help: "DPDK total ethdev bytes", }, []string{"name", "stat"}, ) DpdkEthdevMisc = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_ethdev_misc", Help: "Other DPDK ethdev statistics", }, []string{"name", "stat"}, ) DpdkEthdevLinkStatus = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_ethdev_link_status", Help: "Link status of DPDK ethdev", }, []string{"name"}, ) DpdkHeapInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_heap_info", Help: "Dpservice heap info", }, []string{"node", "info"}, ) DpserviceUsedNatPortsCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dps_nat_used_ports_count", Help: "Count of used NAT ports on interface", }, []string{"interface_id"}, ) DpserviceFwRulesCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dps_firewall_rules_count", Help: "Count of firewall rules on interface", }, []string{"interface_id"}, ) DpserviceVirtsvcUsedPortsCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dps_virtsvc_used_ports_count", Help: "Count of used virtual service ports", }, []string{"address"}, ) DpserviceCallCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dps_graph_call_count", Help: "Dpservice graph statistics", }, []string{"node", "graph_node"}, ) DpserviceHashTableSaturation = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dps_hash_table_saturation", Help: "Dpservice hash table saturation", }, []string{"table", "stat"}, ) )
View Source
var SocketPath = "/var/run/dpdk/rte/dpdk_telemetry.v2"
Functions ¶
Types ¶
type DpServiceGraphCallCount ¶
type DpServiceGraphCallCount struct {
GraphCallCnt GraphCallCount `json:"/dp_service/graph/call_count"`
}
type DpServiceNatPortCount ¶
type EalHeapInfo ¶
type EalHeapList ¶
type EalHeapList struct {
Value []int `json:"/eal/heap_list"`
}
type EthdevInfo ¶
type EthdevInfo struct {
Value struct {
Name string `json:"name"`
} `json:"/ethdev/info"`
}
type EthdevLinkStatus ¶
type EthdevList ¶
type EthdevList struct {
Value []int `json:"/ethdev/list"`
}
type EthdevXstats ¶
type GraphCallCount ¶
type GraphCallCount struct {
Node_0_to_255 NodeData `json:"Node_0_to_255"`
}
Click to show internal directories.
Click to hide internal directories.