For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Diameter Gx dashboard

Diameter Gx Grafana dashboard shows policy-management traffic (Gx interface against a Policy and Charging Rules Function (PCRF)) handled by Session Management Controller (SMC). It is based on the metrics that SMC exposes and is pre-configured with the following sections:

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

For metric definitions, see Diameter metrics.

The dashboard scopes Diameter histograms by application=~"Gx" and Diameter handler counts by handler=~"ergw_aaa_gx". Diameter command code filters target the Gx 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 Gx and Ro 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. Useful when the same Diameter application runs on more than one service (for example, one per peer cluster).
  • 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 Gx interface, including:

  • Peers up - number of Gx peers currently in the up state.
  • Active sessions - count of Gx Diameter sessions, from aaa_sessions_total{handler="ergw_aaa_gx"}.
  • Request rate - rate of Gx Diameter requests over the selected time range.
  • Answer-error ratio - share of Gx answers carrying a non-success Result-Code.
  • P95 latency - 95th-percentile Gx request duration over the selected time range.
  • Outstanding requests - current count of in-flight Gx requests waiting for an answer.
Summary section
Summary section

Traffic

This section shows information about the Gx request and answer flow, including:

  • Request rate by message - rate of CCR, RAR (and other Gx commands) per second.
  • Request vs answer rate - paired rates for each Gx command pair, useful for spotting Diameter answer loss.
Traffic section
Traffic section

Latency

This section shows information about Gx request latency, including:

  • Percentiles over time - P50, P90, P95, P99, and mean of ergw_aaa_diameter_request_duration_milliseconds{application="Gx"}.
  • P95 by message - P95 latency split by Gx command (CCR, RAR, ...).
  • Latency heatmap - rolling distribution of Gx latency over the selected time range.
Latency section
Latency section

Result codes and errors

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

  • Answer rate by rc - rate of Gx answers grouped by Result-Code.
  • diameter_errors rate by error - rate of Diameter protocol errors.
  • Top-N failing (msg, rc, peer) table - the most-frequent failing combinations, useful for triage.
Result codes and errors section
Result codes and errors section

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 (see Diameter rate limiting for the underlying mechanism).
  • 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
Capacity and flow control section

Connections

This section shows information about Diameter peer connections, including:

  • Connections by state - count of connections grouped by Diameter state machine state (up, closed, ...).
  • Connections by protocol and type - breakdown by transport (tcp, sctp) and connection role (initiator / responder).
Connections section
Connections section

Per-peer comparison

This section shows side-by-side strip charts for every Gx 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. The per-peer comparison row therefore covers throughput and queueing only, not latency.

Per-peer comparison section
Per-peer comparison section

Sessions

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

  • aaa_sessions_total{handler="ergw_aaa_gx"} over time.
Sessions section
Sessions section