Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BytesSent = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "bytes_sent", Help: "Total bytes sent to a given connection", }, []string{"source_pod_name", "destination_pod_name", "source_address", "destination_address"}, ) BytesRecv = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "bytes_recv", Help: "Total bytes received from a given connection", }, []string{"source_pod_name", "destination_pod_name", "source_address", "destination_address"}, ) BytesSentPerSecond = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "bytes_sent_per_second", Help: "Bytes per second being sent to a given connection", }, []string{"source_pod_name", "destination_pod_name", "source_address", "destination_address"}, ) BytesRecvPerSecond = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "bytes_recv_per_second", Help: "Bytes per second being received from a given connection", }, []string{"source_pod_name", "destination_pod_name", "source_address", "destination_address"}, ) // Number of connections ActiveConnections = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "active_connections", Help: "Number of connections to the node", }) )
Functions ¶
func StartCollector ¶
func StartCollector(tr *tracker.Tracker, ci *cluster.ClusterInfo)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.