> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/upg/2.17/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/upg/2.17/observability/dashboard.md).

# Grafana dashboard

Grafana dashboard for User Plane Gateway (UPG) helps you visualise and analyse data based on the [metrics](https://docs.cennso.com/components/upg/2.17/observability/metrics.md) that UPG exposes. By default, the UPG dashboard is preconfigured with the following sections:

- Summary
- Sessions and associations per instance
- PFCP sessions and signalling
- Network throughput
- Resource usage
- Interface information
- Interface counters
- CG-NAT information
- Basic NAT statistics (VPP)
- IPFix statistics
- Error indicators

## Summary

This section provides a high-level summary of a given APN, helping you quickly assess its current state and load. It contains the following information:

- Session distribution - distribution of sessions among UPG instances
- Total sessions - number of active service sessions managed by UPG
- Total associations - number of established associations between the Control Plane and UPG instances
- Total flows - total number of data flows handled by UPG that represent active traffic routes

![Summary section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/summary.png)

## Sessions and associations per instance

This section shows the number of sessions and associations per UPG instance, which includes:

- Total sessions - number of active service sessions managed by a given UPG pod
- Total associations - number of established associations between the Control Plane and a UPG pod

![Sessions and associations per instance section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/sessions.png)

## PFCP sessions and signalling

This section provides insight into PFCP (Packet Forwarding Control Protocol) activity between the Control Plane and UPG. It helps to track the volume of signalling traffic, session reporting behaviour, and potential protocol-related issues. It contains the following information:

- PFCP messages processed - number of PFCP messages received and handled by UPG. Indicates general signalling activity. Contains the `type` label denoting the message type and `direction`.
- PFCP session reports sent - number of generated session reports sent from UPG to the Control Plane
- Incorrect messages - messages that were received but could not be parsed or were not valid. May indicate misconfigurations or protocol mismatches. May also include messages other than PFCP.
- PFCP errors - errors related to PFCP message handling. These can include failed session setups, unexpected message types, or other protocol-level problems. Contains the `type` label denoting the message type and `direction`.

![PFCP sessions and signalling section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/pfcp.png)

## Network throughput

This section shows the network throughput per UPG instance. It displays how many bytes per second [Bps] and packets per second [pps] were transmitted and received across different interfaces, which helps you monitor traffic volume and interface activity.

![Network throughput section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/network-throughput.png)

## Resource usage

This section provides information about how much resources UPG consumes, including:

- CPU usage - shows how much CPU a given UPG container uses
- RAM usage - shows how much RAM a given UPG container uses
- Heap usage - current heap memory usage compared to the maximum heap size configured. This helps monitor memory consumption and identify potential memory pressure or leaks.
- Stats segment usage - current usage of the stats segment compared to its maximum configured size. Useful for monitoring how much of the allocated stats segment memory is used.
- Buffer pools - size of UPG buffer pools

![Resource usage section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/resource-usage.png)

## Interface information

This section provides information about the internal interfaces configured within a UPG instance. These interfaces handle traffic routing within the UPG and between different network segments. This view is useful for validating the network setup of a UPG instance and troubleshooting interface-level issues related to traffic flow or misconfiguration. It contains the following information:

- Interface overview - list of all interfaces configured on a UPG instance, showing technical details needed for validation and troubleshooting
- Interface errors overview - number of packets affected by specific interface-related issues

![Interface information section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/if-info.png)

## Interface counters

This section provides a detailed view of traffic levels handled by each interface on a UPG instance. It helps track bandwidth usage and packet flow over time, which is essential for performance monitoring and troubleshooting. It contains the following information:

- Interface counters [bytes] - number of bytes transmitted (TX) and received (RX) per interface since startup. Useful for understanding the overall data volume handled by each UPG interface.
- Interface counters [packets] - number of packets transmitted (TX) and received (RX) on each interface. This helps identify packet flow patterns, packet loss, or discrepancies across interfaces.
- Interface counters graph - visualisation of a real-time throughput in bytes per second for each interface (TX and RX). This graph allows you to spot sudden traffic changes, identify underutilised interfaces, or observe trends over time.

![Interface counters section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/if-counters.png)

## CG-NAT information

This section shows key metrics related to Carrier-Grade NAT (CG-NAT) operations across UPG instances. These metrics help to detect resource imbalances, identify potential saturation points, and troubleshoot NAT-related issues to ensure optimal network performance and reliability. It contains the following information:

- NAT pool overview - a breakdown of NAT pool usage per UPG instance, helpful for identifying uneven usage or potential bottlenecks
- NAT pool usage - currently used NAT ports from the total available pool. A high value may indicate resource exhaustion.
- NAT pool usage [%] - percentage of NAT ports currently used out of the total available pool. A high percentage indicates that the NAT resources are heavily used and may soon reach capacity, potentially impacting network performance.
- NAT pool capacity - number of available NAT ports across the configured NAT pools
- NAT flow count - number of NAT translations for each UPG instance within the NAT pool
- NAT errors - number of NAT-related errors reported by VPP within the UPG instance

![CG-NAT information section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/cg-nat.png)

## Basic NAT statistics (VPP)

This section provides information about the state and capacity of NAT (Network Address Translation) within the UPG instances. These metrics help identify resource usage, limits, and potential issues in NAT handling. The section contains information about:

- NAT flows count - number of active NAT translations currently handled by a UPG instance
- Max NAT flows - maximum number of available NAT flows per UPG instance
- NAT errors - error indicating that NAT cannot allocate a new port; check UPG logs for details on the affected NAT binding.

![Basic NAT statistics (VPP) section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/nat.png)

## IPFix statistics

This section shows metrics related to IPFix (IP Flow Information Export), which is used by the UPF plugin to export flow-level traffic data. These metrics help monitor the volume and frequency of flow reporting from the UPF. The section contains information about:

- IPFix records sent - number of IPFix records sent from the UPF plugin
- IPFix messages sent - number of IPFix messages with reports sent from the UPF plugin

![IPFix statistics section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/ipfix-stats.png)

## Error indicators

This section notifies about errors that occurred in UPG, including:

- No free Tx slots - number of packet processing issues, typically caused by system overload
- ARP errors – number of issues related to ARP requests, which may suggest a misconfiguration in the environment
- Interface errors -  number of issues on network interfaces, for example: `interface_is_down`, `no_buffer_gso`, `memif_no_enough_space_tx_buffers`, and `dpdk_tx_packet_drop`.
- ARP request/reply sent - number of ARP requests and replies sent by the UPG instance. A growing number of ARP requests may indicate a network misconfiguration
- Timers missed - number of timers delayed by more than five seconds. This helps diagnose whether UPG includes accurate timestamps and timing information in Usage Report Requests or PFCP Association events.
- PFCP errors - number of PFCP messages that were processed and returned with an error status. Includes the `type` label for the message type and the `direction` label indicating inbound or outbound flow.
- NetCap errors - number of packets dropped due to reasons: `ring-overflow` or `stream-stopped`.

![Error indicators section](https://docs.cennso.com/api/assets/components/upg/2.17/assets/dashboards/errors.png)
