> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.19/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/tposs/6.19/observability/dashboard.md).

# Grafana dashboard

Grafana dashboard for TPOSS helps you visualise and analyse data based on the [metrics](https://docs.cennso.com/components/tposs/6.19/observability/metrics.md) 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

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

## 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 [allocators](https://www.erlang.org/doc/apps/erts/erts_alloc.html) 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

![General section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/general.png)

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](https://docs.cennso.com/components/tposs/6.19/troubleshooting/observer.md).

## 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](https://docs.cennso.com/components/tposs/6.19/configuration/charging.md#charging-rules-configuration) - 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

![PCS section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/pcs.png)

## 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](https://docs.cennso.com/components/tposs/6.19/configuration/diameter.md#diameter-settings), 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

![Incoming Diameter requests section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/incoming-diameter.png)

If [SBI](https://docs.cennso.com/components/tposs/6.19/architecture/sbi.md) or [CDMP](https://docs.cennso.com/components/tposs/6.19/configuration/nats-services/cdmp.md) 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

![Incoming SBI requests section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/incoming-sbi.png)

## 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

![Outgoing Diameter/SBI requests section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/outgoing.png)

## 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

![RADIUS section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/radius.png)

## 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

![Database section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/database.png)

## NATS client metrics

This section shows NATS client requests handling time:

![NATS client metrics section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/nats.png)

## Charging hooks

This section shows the number of [charging hooks](https://docs.cennso.com/components/tposs/6.19/configuration/hooks.md) 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

![Charging hooks section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/hooks.png)

## API

This section shows the number of [HTTP API](https://docs.cennso.com/components/tposs/6.19/api-reference/api.md) requests per second that TPOSS receives:

![API section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/api.png)

## 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

![CDR errors section](https://docs.cennso.com/api/assets/components/tposs/6.19/assets/errors.png)
