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

# Diameter Rf dashboard

**Diameter Rf** Grafana dashboard shows offline-charging traffic (Rf interface against a Charging Data Function (CDF)) handled by Session Management Controller (SMC). It is based on the metrics that SMC exposes and is pre-configured with the following sections:

- [Summary](#summary)
- [Traffic](#traffic)
- [Latency](#latency)
- [Result codes and errors](#result-codes-and-errors)
- [Capacity and flow control](#capacity-and-flow-control)
- [Connections](#connections)
- [Per-peer comparison](#per-peer-comparison)
- [Sessions](#sessions)
- [Queued accounting containers](#queued-accounting-containers)

The dashboard is bundled with the SMC Support chart and is disabled by default. Enable it under `dashboard.dashboards.aaa-rf` in the support chart values. It is most useful when `aaa.rf.enabled` is `true`.

For metric definitions, see [Diameter metrics](https://docs.cennso.com/components/smc/latest/observability/metrics.md#diameter-metrics). For configuration of the Rf failure-handling values that drive this dashboard, see [Rf offline charging — CDF failure handling](https://docs.cennso.com/components/smc/latest/guides/aaa/charging/rf.md#cdf-failure-handling).

The dashboard scopes Diameter histograms by `application=~"rf"` and Diameter handler counts by `handler=~"ergw_aaa_rf"`. Diameter command code filters target the Rf command family `ACR | ACA`. Some Diameter collector metrics carry no `application` label, so the `$svc` variable is available to narrow further when more than one Diameter service runs on the same connection.

## Dashboard variables

The dashboard exposes the following variables at the top:

- `cluster` - Kubernetes cluster name.
- `namespace` - Kubernetes namespace running SMC.
- `pod` - SMC pod selector. Multi-value, defaults to `All`.
- `svc` - Diameter service name. Multi-value, defaults to `All`.
- `peer` - Diameter peer or `Origin-Host`. Multi-value, defaults to `All`.

## Summary

The summary row is always visible. It shows information about the overall health of the Rf interface, including:

- Peers up - number of Rf peers currently in the `up` state.
- Active sessions - count of Rf Diameter sessions, from `aaa_sessions_total{handler="ergw_aaa_rf"}`.
- Request rate - rate of Accounting-Request (`ACR`) messages per second.
- Answer-error ratio - share of Accounting-Answer (`ACA`) responses carrying a non-success Result-Code.
- P95 latency - 95th-percentile Rf request duration over the selected time range.
- Outstanding requests - current count of in-flight Rf requests waiting for an answer.

![Summary section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-summary.png)

## Traffic

This section shows information about the Rf accounting flow, including:

- Request rate by message - rate of `ACR-Start`, `ACR-Interim`, `ACR-Stop`, and `ACR-Event` per second.
- Request vs answer rate - paired `ACR / ACA` rates, useful for spotting answer loss.

![Traffic section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-traffic.png)

## Latency

This section shows information about Rf request latency, including:

- Percentiles over time - P50, P90, P95, P99, and mean of `ergw_aaa_diameter_request_duration_milliseconds{application="rf"}`.
- P95 by message - P95 latency split by `ACR` sub-type.
- Latency heatmap - rolling distribution of Rf latency over the selected time range.

![Latency section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-latency.png)

## Result codes and errors

This section shows information about Rf Result-Codes and Diameter errors, including:

- Answer rate by `rc` - rate of Rf answers grouped by Result-Code. Result-Codes `UNABLE_TO_DELIVER` (3002) and `TOO_BUSY` (3004) keep sessions alive (with charging data retained), other non-2xxx codes tear down the session.
- `diameter_errors` rate by `error` - rate of Diameter protocol errors.
- Top-N failing `(msg, rc, peer)` table.

![Result codes and errors section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-result-codes-errors.png)

## Capacity and flow control

This section shows information about per-peer flow control, including:

- Outstanding requests - current count of in-flight requests, per peer.
- Available tokens - rate-limit token bucket fill, per peer.
- `no_tokens_available_total` rate - request rejections caused by an empty token bucket, per peer.
- `no_capacity_left_total` rate - request rejections caused by hitting `outstanding_requests`, per peer.

![Capacity and flow control section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-capacity-flow-control.png)

## Connections

This section shows information about Diameter peer connections, including:

- Connections by `state` - count of connections grouped by Diameter state machine state.
- Connections by `protocol` and `type` - breakdown by transport (`tcp`, `sctp`) and connection role.

![Connections section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-connections.png)

## Per-peer comparison

This section shows side-by-side strip charts for every Rf peer, including:

- Request rate per peer.
- Error rate per peer.
- Outstanding requests per peer.
- `no_tokens_available_total` rate per peer.

> [!NOTE]
> Per-peer P95 latency is not available because the histogram `ergw_aaa_diameter_request_duration_milliseconds` is observed without a peer label.

![Per-peer comparison section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-per-peer-comparison.png)

## Sessions

This section shows information about Rf Diameter sessions over time, including:

- `aaa_sessions_total{handler="ergw_aaa_rf"}` over time.

![Sessions section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-aaa-rf-diameter-row-sessions.png)

## Queued accounting containers

This section shows the buffer of accounting containers waiting to be sent to the CDF in the next `ACR`. The panel sources `ergw_aaa_rf_queued_containers` (labels `svc`, `kind`).

This section shows information about queued container backlog, including:

- Queued containers by `kind` - Service-Data-Containers (`sdc`), Traffic-Data-Volumes (`tdv`), and Secondary-RAT-Usage-Data-Reports (`sec_rat`), summed across active sessions.

A growing backlog during a CDF outage is the primary signal for sizing `aaa.rf.max_pending_data`. When the cap is reached, SMC tears down the session.
