5 Metrics

CNE uses Prometheus to collect metrics from CNE services. These metrics are used by the alert rules defined by CNE to detect abnormal conditions. This section provides details about CNE metrics.

Load Balancer Controller Metrics

This section provides details about Load Balancer Controller metrics.

Table 5-1 VCNE_LB_STATUS

Field Details
Description The status of the Load Balancer VM. The value of this metric is:
  • "1" if the LB VM is ACTIVE
  • "0" if the LB VM is INACTIVE
Type Gauge
Dimensions external_network: The name of the IP pool for which the LB is performing load balancing.

role: The role of the LB VM. The value is set to ACTIVE or STANDBY.

ip_address: The IP of the LB VM

name: The name of the LB VM

Bastion Controller Metrics

This section provides details about Bastion Host metrics.

Table 5-2 BASTION_HOST_STATUS

Field Details
Description The status of the Bastion Host. The value of this metric is:
  • "2" if the Bastion Host is ACTIVE
  • "1" if the Bastion Host is STANDBY
  • "0" if the Bastion Host FAILED
Type Gauge
Dimensions ip_address: The IP of the Bastion Host

name: The name of the Bastion Host

Cloud Native Load Balancer Metrics

This section provides details about Cloud Native Load Balancer metrics.

Table 5-3 CNLB_INPKT

Field Details
Description The total number of incoming packets processed by IP Virtual Server (IPVS).
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-4 CNLB_OUTPKT

Field Details
Description The total number of outgoing packets forwarded by IPVS.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-5 CNLB_INBYTE

Field Details
Description The total number of incoming bytes processed by IPVS.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-6 CNLB_OUTBYTE

Field Details
Description The total number of outgoing bytes forwarded by IPVS.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-7 CNLB_CONNECTIONS

Field Details
Description The total number of connections handled by IPVS since it was started or last reset.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-8 CNLB_INPKT_RATE

Field Details
Description The number of incoming packets per second.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-9 CNLB_OUTPKT_RATE

Field Details
Description The number of outgoing packets per second.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-10 CNLB_INBYTE_RATE

Field Details
Description The number of incoming bytes per second.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-11 CNLB_OUTBYTE_RATE

Field Details
Description The number of outgoing bytes per second.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-12 CNLB_CONNECTIONS_RATE

Field Details
Description The number of connections established per second.
Type Gauge
Dimensions Protocol: The protocol that is used (TCP or UDP).

Connections: The connection between the external IP and Multus backend IP.

Table 5-13 Egress Network Metrics

Metric Name Type Labels Description
cnlb_egr_outpkt Counter egress_ip, active_pod_ip Total outgoing packets from the egress IP.
cnlb_egr_inpkt Counter egress_ip, active_pod_ip Total incoming packets to the egress IP.
cnlb_egr_inbytes Counter egress_ip, active_pod_ip Total incoming bytes to the egress IP.
cnlb_egr_outbytes Counter egress_ip, active_pod_ip Total outgoing bytes from the egress IP.

Table 5-14 Internal Multus (Interface) Metrics

Metric Name Type Labels Description
cnlb_interface_int_inpkt Counter interface_name, network_name, active_pod_ip Total incoming packets on internal multus master interface.
cnlb_interface_int__outpkt Counter interface_name, network_name, active_pod_ip Total outgoing packets from internal multus master interface.
cnlb_interface_ext_inpkt Counter interface_name, network_name, active_pod_ip Total incoming packets on external multus master interface.
cnlb_interface_ext_outpkt Counter interface_name, network_name, active_pod_ip Total outgoing packets from external multus master interface.

Table 5-15 Service and Connection Metrics