Metrics
UPG exposes metrics on the /metrics endpoint on port 9482.
UPG exposes all metrics that are present in FPP Manager, and extends it with the following UPG-specific metrics:
Labels
All UPG metrics (FPP and UPG-specific) have the following list of labels attached:
apn="{APN}"- APN name added with aUPGDeploymentcnf="upg"- label for all UPG metricsendpoint="prom-metrics"- label for all UPG metricsinstance="{IP}:9482"-{IP}is a Kubernetes IP of the UPG podjob="{upg_deploy}"- the name of the UPG deploymentnamespace="{upg_ns}"- the name of the namespace where the UPG pod is deployednf_instance="{upg_instance}"- the name of the UPG instance pod, which depends on theUPGDeploymentconfigurationpod="{upg_pod}"- the name of the UPG podrelease="{upg_name}"- the name of theUPGDeploymentof UPGservice="{upg_deploy}"- the name of the UPG deployment
Pool-related metrics have a label name that denotes the pool this metric is tracking.
Those metrics are tracked in items, instead of bytes, and each pool has its own item size depending on the underlying structure held in the pool.
PFCP metric labels
The vpp_pfcp_packets_total metric contains the type, status, and direction labels. Together, they can represent a wide range of packet processing events.
The type label may contain one of the following values:
association_setup_requestassociation_setup_responseheartbeat_requestheartbeat_responsesession_deletion_requestsession_deletion_responsesession_establishment_requestsession_establishment_responsesession_modification_requestsession_modification_responsesession_report_requestsession_report_response
The status and direction values combinations are like this:
CG-NAT metric labels
UPG CG-NAT-specific metrics are available with NAT pool statistics. These metrics are identified by the name label, which contains the NAT pool name.
vpp_nat_pool_infoandvpp_nat_pool_block_sizeshow the configured NAT pool interface and block size.vpp_nat_pool_utilizationandvpp_nat_pool_capacityshow the usage of NAT pool blocks.vpp_nat_pool_bytes_totalandvpp_nat_pool_packets_totalprovide NAT pool traffic statistics, with thedirectionlabel indicatingi2o(inbound to outbound) oro2i(outbound to inbound) direction.vpp_nat_pool_flow_countprovides the number of flows created, with thetypelabel showing whether it's atcpudporicmpflow.
The vpp_nat_errors_total metric tracks error events that usually result in packet drops. Typical combinations of node and error values are explained in this table: