For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading User Plane Gateway 2.17, an older release. The newest release is 3.2. Read this page in 3.2

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 a Helm deployment
  • cnf="upg" - label for all UPG metrics
  • endpoint="prom-metrics" - label for all UPG metrics
  • instance="{IP}:9482" - {IP} is a Kubernetes IP of the UPG pod
  • job="{upg_deploy}" - the name of the UPG deployment
  • namespace="{upg_ns}" - the name of the namespace where the UPG pod is deployed
  • nf_instance="{upg_instance}" - the name of the UPG instance pod, which depends on the Helm chart deployment configuration
  • pod="{upg_pod}" - the name of the UPG pod
  • release="{upg_name}" - the name of the Helm chart deployment of UPG
  • service="{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 Message types

The type label exists on vpp_pfcp_messages_processed_total and vpp_pfcp_errors_total metrics. It may contain one of the following values:

  • heatbeat
  • pfd_management
  • association_setup
  • association_update
  • association_release
  • node_report
  • session_set_deletion
  • session_establishment
  • session_modification
  • session_deletion
  • session_report

The direction label also exists on those metrics and may be rx or tx