Diameter Ro/Gy dashboard
Diameter Ro/Gy Grafana dashboard shows online-charging traffic (Ro / Gy interface against an Online Charging System (OCS)) handled by Session Management Controller (SMC). It is based on the metrics that SMC exposes and is pre-configured with the following sections:
- Summary
- Traffic
- Latency
- Result codes and errors
- Capacity and flow control
- Connections
- Per-peer comparison
- Sessions
The dashboard is bundled with the SMC Support chart and is disabled by default. Enable it under dashboard.dashboards.aaa-ro in the support chart values. It is most useful when aaa.ro.enabled is true.
For metric definitions, see Diameter metrics.
The dashboard scopes Diameter histograms by application=~"Ro" and Diameter handler counts by handler=~"ergw_aaa_ro". Diameter command code filters target the Ro command family CCR | CCA | RAR | RAA. Some Diameter collector metrics (diameter_messages, diameter_errors, diameter_connections) carry no application label, so the $svc variable is available to narrow further when one deployment runs Ro and Gx 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 toAll.svc- Diameter service name. Multi-value, defaults toAll.peer- Diameter peer orOrigin-Host. Multi-value, defaults toAll.
Summary
The summary row is always visible. It shows information about the overall health of the Ro / Gy interface, including:
- Peers up - number of Ro peers currently in the
upstate. - Active sessions - count of Ro Diameter sessions, from
aaa_sessions_total{handler="ergw_aaa_ro"}. - Request rate - rate of Ro Diameter requests over the selected time range.
- Answer-error ratio - share of Ro answers carrying a non-success Result-Code.
- P95 latency - 95th-percentile Ro request duration over the selected time range.
- Outstanding requests - current count of in-flight Ro requests waiting for an answer.

Traffic
This section shows information about the Ro request and answer flow, including:
- Request rate by message - rate of
CCR,RAR(and other Ro commands) per second. - Request vs answer rate - paired rates for each Ro command pair.
Note
The dashboard does not split CCR by CC-Request-Type (Initial / Update / Terminate / Event). The Diameter command stays CCR for all four sub-types, and the underlying histogram observes the command rather than the AVP, so the sub-type information is not currently exported as a label.

Latency
This section shows information about Ro request latency, including:
- Percentiles over time - P50, P90, P95, P99, and mean of
ergw_aaa_diameter_request_duration_milliseconds{application="Ro"}. - P95 by message - P95 latency split by Ro command.
- Latency heatmap - rolling distribution of Ro latency over the selected time range.

Result codes and errors
This section shows information about answer Result-Codes and Diameter errors, including:
- Answer rate by
rc- rate of Ro answers grouped by Result-Code. diameter_errorsrate byerror- rate of Diameter protocol errors.- Top-N failing
(msg, rc, peer)table - the most-frequent failing combinations.

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_totalrate - request rejections caused by an empty token bucket, per peer.no_capacity_left_totalrate - request rejections caused by hittingoutstanding_requests, per peer.

Connections
This section shows information about Diameter peer connections, including:
- Connections by
state- count of connections grouped by Diameter state machine state. - Connections by
protocolandtype- breakdown by transport (tcp,sctp) and connection role.

Per-peer comparison
This section shows side-by-side strip charts for every Ro peer, including:
- Request rate per peer.
- Error rate per peer.
- Outstanding requests per peer.
no_tokens_available_totalrate 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.

Sessions
This section shows information about Ro Diameter sessions over time, including:
aaa_sessions_total{handler="ergw_aaa_ro", state="started"}- sessions in normal credit control.aaa_sessions_total{handler="ergw_aaa_ro", state="ocs_hold"}- sessions inOCS holdstate. A non-zero value typically indicates an outage of the upstream OCS.
