Documentation ¶
Index ¶
Constants ¶
View Source
const SocketPath = "/var/run/dpdk/rte/dpdk_telemetry.v2"
Variables ¶
View Source
var ( InterfaceStat = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_interface_stat", Help: "Dp-Service interface statistic", }, []string{"interface", "stat_name"}, ) CallCount = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_graph_stat", Help: "Dp-Service graph statistics", }, []string{"node_name", "graph_node"}, ) HeapInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "dpdk_heap_info", Help: "Dp-Service heap info", }, []string{"node_name", "info"}, ) )
Functions ¶
Types ¶
type DpServiceGraphCallCount ¶
type DpServiceGraphCallCount struct {
GraphCallCnt GraphCallCount `json:"/dp_service/graph/call_count"`
}
type DpServiceHeapInfo ¶ added in v0.1.10
type DpServiceNatPort ¶
type DpServiceVirtsvcPort ¶
type EthdevInfo ¶
type EthdevInfo struct { Value struct { Name string `json:"name"` } `json:"/ethdev/info"` }
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.