Grafana dashboard
Grafana dashboard for TPOSS helps you visualise and analyse data based on the metrics that TPOSS exposes. By default, the TPOSS dashboard is pre-configured with the following sections:
- Resource usage
- General
- PCS
- Incoming Diameter/SBI requests
- Outgoing Diameter/SBI requests
- RADIUS
- Database
- NATS client metrics
- Charging hooks
- API
- CDR errors
Resource usage
This section shows resources the operating system allocates to TPOSS, including:
- TPOSS CPU usage - operating system-level CPU consumption
- TPOSS container memory usage - amount of memory used by the TPOSS container

General
This section presents general information about TPOSS resource usage, including:
- TPOSS memory usage - TPOSS memory consumption grouped by memory types
- TPOSS I/O - number of bytes per second that the TPOSS receives or sends over the network
- TPOSS memory allocators - information about memory managed by allocatorsOpens in a new tab within TPOSS
- Connected TPOSS cluster instances - number of TPOSS instances inside the TPOSS cluster to which each TPOSS instance is connected
- TPOSS OTP processes - number of processes within TPOSS

For example, if memory consumption increases, you can check the VM processes, which are often related. To identify the processes causing memory growth, use the Observer tool.
PCS
This section presents general information about the Policy Control Server (PCS) state in TPOSS, including:
- Network sessions - number of network sessions
- Service sessions - number of service sessions
- Service sessions per NAS - number of service sessions per NAS
- Service sessions per charging rule - number of service sessions associated with each charging rule
- Number of session clean-up processes - number of processes responsible for removing outdated service sessions that did not receive proper termination requests
- IP addresses usage per IP pool - number of reserved IP addresses in TPOSS IP pools
- IP blocks usage (%) - percentage of reserved IP addresses in TPOSS IP pools

Incoming Diameter/SBI requests
This section presents data related to incoming Diameter or SBI requests to manage TPOSS service sessions. The Grafana panels show metrics associated only with a single transport at a time, since Diameter and SBI-based protocols can not be enabled in parallel.
If Diameter is enabled, the Grafana panels provide information about the number of Diameter requests received by TPOSS, including:
- Diameter request rate - total number of Diameter requests of all types on all interfaces per second
- Diameter Gx requests - number of Gx requests per second
- Diameter Gx errors - number of errors related to Gx requests
- Diameter Gy requests - number of Gy requests per second
- Diameter Gy errors - number of errors related to Gy requests
- Diameter NASREQ requests - number of NASREQ requests per second
- NASREQ errors - number of errors related to NASREQ requests
- Diameter requests handling time - time taken to process incoming Diameter requests

If SBI or CDMP is enabled, the Grafana panels provide information about the number of SBI requests received by TPOSS, including:
- SBI/CDMP request rate - total number of SBI/CDMP requests of all types on all interfaces per second
- SBI/CDMP Npcf requests - number of Npcf requests per second
- SBI/CDMP errors - number of errors related to Npcf requests
- SBI/CDMP Nchf requests - number of Nchf requests per second
- SBI/CDMP Nchf errors - number of errors related to Nchf requests
- SBI/CDMP Nnas requests - number of Nnas requests per second
- SBI/CDMP Nnas errors - number of errors related to Nnas requests
- SBI/CDMP requests handling time - time taken to process incoming SBI/CDMP requests

Outgoing Diameter/SBI requests
This section presents data related to outgoing Diameter or SBI requests that TPOSS sends, including:
- Reauthorization requests - number of reauthorization requests sent
- Reauthorization requests errors - number of errors related to reauthorization requests
- Abort session requests - number of abort session requests sent
- Abort session request errors - number of errors related to abort session requests

RADIUS
This section presents data related to RADIUS metrics, including:
- RADIUS Access requests - number of RADIUS Access requests per second
- RADIUS Access rejects - number of rejected RADIUS Access requests per second
- RADIUS Accounting requests - number of RADIUS Accounting requests per second
- RADIUS errors - number of RADIUS errors per second
- RADIUS Access requests RTT - round-trip time for RADIUS Access requests
- RADIUS Accounting requests RTT - round-trip time for RADIUS Accounting requests

Database
This section presents data related to the database, including:
- Database health - availability of the database from the TPOSS perspective
- Database connection pool usage - number of database connections available for use
- Database connection pool queue - number of queries waiting for the free connections from the database connection pool
- Database queries success/failure rate - number of successful and unsuccessful database queries per second
- Database connection queue time - time TPOSS waits for a free connection from the database connection pool when all connections are in use
- Database queries RTT - round-trip time for executed database queries

NATS client metrics
This section shows NATS client requests handling time:

Charging hooks
This section shows the number of charging hooks per second. Charging hooks are events that TPOSS sends to an external system. These include:
- Balance thresholds
- MCC/MNC change
- Charging rules change
- First network attachment
- Visited country change

API
This section shows the number of HTTP API requests per second that TPOSS receives:

CDR errors
This section shows the number of Charging Data Record (CDR)-related errors per second, including:
- CDR-related filesystem errors
- CDR-related database errors
