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.

You are reading Session Management Controller 3.15, an older release. The newest release is 3.17. Read this page in 3.17

Metrics

Session Management Controller (SMC) exposes metrics in the Prometheus format on the /metrics endpoint on port 8000.

GTP path

The GTP path metrics expose information about GTP-C messages and contexts.

Note

The remote/ip and peer_address labels carry the same information (remote IP of the GTP peer). However, the remote and ip labels are deprecated. Use peer_address instead in your dashboards.

GTP path metrics contain the following labels:

  • name - socket name
  • version - GTP protocol version, either v1 or v2
  • peer_address - remote IP of the GTP peer
  • remote (deprecated) - remote IP of the GTP peer
  • ip (deprecated) - remote IP of the GTP peer
  • type - GTP message type
  • direction - GTP message direction, either rx for receive messages or tx for transmit messages

GTP-C socket

The GTP-C socket metrics expose detailed information about GTP-C messages.

GTP-C socket metrics contain the following labels:

  • name - socket name
  • version - GTP protocol version, either v1 or v2
  • type - GTP message type. Message types for GTPv1 are listed in 3GPP TS 29.060, Section 7.1 "Message Formats", Table 1: "Messages in GTP". Message types for GTPv2 are listed in 3GPP TS 29.274, Section 6.1.0 "Message Type", Table 6.1-1: "Message types for GTPv2".
  • direction - GTP message direction, either rx for receive messages or tx for transmit messages
  • result - GTP cause information element. Cause values for GTPv1 are listed in 3GPP TS 29.060, Section 7.7.1 "Cause". Cause values for GTPv2 are listed in 3GPP TS 29.274, Section 8.4 "Cause".
  • error - type of error, either malformed-requests or version-not-supported

GTP-U socket

The GTP-C socket metrics expose detailed information about GTP-U messages.

GTP-U socket metrics contain the following labels:

  • name - socket name
  • direction - GTP message direction, either rx for receive messages or tx for transmit messages
  • version - GTP protocol version, either v1 or v2
  • type - GTP message type

PCC rule metrics

The PCC rule metrics expose information about PCC rule usage in sessions.

The pcc_rule_activation_error_total metric contains the following labels:

  • type - type of the PCC rule or rulebase, either rule or rulebase
  • name - name of the rule or rulebase
  • cause - cause of the PPC rule activation error. The possible values are not_found and no_credits. The latter only applies to rules.

Sx PFCP

The Sx PFCP metrics expose information about PFCP messages, peers, and associations.

Sx PFCP metrics contain the following labels:

  • name - socket name
  • remote - remote IP
  • direction - PFCP message direction, either rx for receive messages or tx for transmit messages
  • type - PFCP message type
  • result - PFCP cause information element
  • rulename - name of the rule
  • state - state of the PFCP association, the value is up

Termination causes

The Termination causes metrics expose information about the reasons for dialogue termination in different interfaces.

Termination cause metrics contain the following labels:

  • api - SMC interface to which a termination cause relates, can be either gn/gp, s5/s8, s11, or tdf
  • reason - the reason for a termination cause

IP pool

The IP pool metrics expose information about IP usage in pools.

IP pool metrics contain the following labels:

  • name - IP pool name
  • type - type of IP addresses allocated from the pool, can be either ipv4 or ipv6
  • id - the first address in the pool

Diameter metrics

The Diameter metrics expose information about Diameter AAA sessions, peer connections, and requests.

Note

For more details on how SMC handles tokens and outstanding requests in Diameter connections, read the Diameter rate limiting guide.

Diameter metrics contain the following labels:

  • handler - the specific application of the AAA session. The possible values are: ergw_aaa_ro (Diameter online charging), ergw_aaa_rf (Diameter offline charging), ergw_aaa_gx (Diameter policy management), and ergw_aaa_nasreq (Diameter NASREQ).
  • svc - the internal name of the AAA service. The possible values are: ergw-ro (Diameter online charging), ergw-rf (Diameter offline charging), ergw-gx (Diameter policy management), ergw-nasreq (Diameter NASREQ), and ergw-oss (when a single connection is shared among the mentioned applications).
  • peer - the FQDN or IP address of the peer at the other end of this connection.
  • protocol - transport protocol. The possible values are: tcp, sctp.
  • direction - specifies whether the message count is for sent messages (send) or received messages (recv).
  • msg - the acronym that specifies a type of the Diameter message, such as CER/CEA, ACR/ACA.
  • rc - the value of the Result-Code AVP, only present when the direction label value is direction=recv.
  • kind (3) - the type of buffered Rf accounting container. The possible values are: sdc (Service-Data-Container), tdv (Traffic-Data-Volumes), and sec_rat (Secondary-RAT-Usage-Data-Reports).

The ergw_aaa_rf_queued_containers gauge tracks accounting containers that have been accumulated on the session state but not yet sent to the CDF in an ACR. It increases as Update procedures fold new SDC, TDV, and SecRAT entries onto the session, and decreases on every session-ending path (2xxx ACA success, best-effort terminate, max_pending_data exceeded, answer_if_* reject, transport error). A growing gauge during a CDF outage is the primary signal for tuning aaa.rf.max_pending_data; see Rf (Offline) — CDF failure handling.

  • error - a string detailing the internal error, or unknown.
  • state (1) - the state of the AAA session. The only possible value is started for all handlers except ergw_aaa_ro. For the ergw_aaa_ro handler, the possible values are started and ocs_hold. The ocs_hold value refers to the OCS Free feature.
  • state (2) - the state of the Diameter connection as reported by the Erlang Diameter stack (RFC3539Opens in a new tab). The possible values are: okay, suspect, down, reopen, and initial.
  • name - name of the Diameter AAA service. The possible values are: Gx, PPE, Default, Rf, Gy, and nasreq.
  • type (1) - specifies whether the metric shows the currently observed value of outstanding requests (then the value of this label is used) or the configured limit of the allowed tokens/outstanding requests (then the value of this label is limit).
  • type (2) - specifies which side initiated the transport connection. The possible values are: initiator (when SMC connects to another peer), responder (when SMC starts a listening peer), and unknown.
  • application - specifies the Diameter application. The possible names are gx, rf, ro, and nasreq. The Diameter application ro is used for multiple 3GPP reference points. One of them is the Gy reference point used for online charging.

RADIUS metrics

SMC usually acts as a RADIUS client in AAA sessions. However, it can receive CoA or Disconnect messages as a server. Both roles have their own set of metrics as described below, apart from common AAA session metrics.

ergw_aaa RADIUS metrics

The ergw_aaa RADIUS metrics expose information about RADIUS AAA sessions.

  • handler - the specific application of the AAA session. The only possible value is ergw_aaa_radius (RADIUS NAS).
  • state - the state of the AAA session. The only possible value is started.

eradius server metrics

The eradius server metrics expose information about incoming Disconnect and CoA requests.

  • server_name - internal name of the SMC RADIUS server. The value is disc_coa.
  • server_ip - IP of the SMC RADIUS server. The value corresponds to the configuration property <aaa.radius.disconnectRequest.client.addr>.
  • server_port - port of the SMC RADIUS server. The value corresponds to the configuration property <aaa.radius.disconnectRequest.server.port>.
  • nas_ip - the NAS IP address of the RADIUS client sending requests to SMC. The value corresponds to the configuration property <aaa.radius.disconnectRequest.client.addr>.
  • nas_id - the NAS identifier assigned to incoming RADIUS requests sent to SMC. The value is server1_<aaa.radius.disconnectRequest.client.addr>.

eradius client metrics

The eradius client metrics expose information about outgoing RADIUS requests.

  • server_name - internal name of the SMC RADIUS client taken from the configuration property <aaa.nasID>. NAS if not present.
  • server_ip - IP of the remote RADIUS server to which the SMC RADIUS client sends requests. The value corresponds to the resolved IP of the configuration property <aaa.radius.server.addr>.
  • server_port - port of the remote RADIUS server to which the SMC RADIUS client sends requests. The value corresponds to <aaa.radius.server.acct.port> or <aaa.radius.server.auth.port> depending on the request type.
  • client_name - internal name of the SMC RADIUS client taken from the configuration property <aaa.nasID>. NAS if not present.
  • client_ip - this label is not used and its only possible value is undefined.

Adaptive load control metrics

The adaptive load control subsystem exposes the following metrics. These metrics are populated only when loadControl.mode is adaptive or rate-limit-observe. For configuration and tuning, see Adaptive load control. For algorithmic context behind each metric, see Adaptive load control technical reference.

The dispatcher exposes additional admission metrics that apply in every admission mode. Each admission outcome has its own counter rather than a single counter with an outcome label:

Adaptive load control labels:

  • instance - identifies the ergw_adaptive coordinator instance. Typically default.
  • queue - the load class of the request: create, delete, data, or other.
  • mode - the active admission mode: adaptive, rate_limit, or rate_limit_observe. The label uses the underscored internal form even though the YAML configuration uses the dashed form.

Important

In rate-limit-observe mode, ergw_adaptive_requests_shed_total and ergw_adaptive_requests_admitted_total reflect the shadow decisions of the adaptive stack, not actual admission. The jobs queues still control actual admission, and their decisions show up under the dispatcher's per-outcome counters: ergw_admission_requests_admitted_total, ergw_admission_requests_shed_total, ergw_admission_requests_timeout_total, and ergw_admission_requests_queue_full_total.

Key signals

  • Rising ergw_adaptive_rejection_ratio means the system is shedding load. Check ergw_adaptive_requests_shed_total by queue to identify which traffic is affected.
  • ergw_adaptive_inflight_current near ergw_adaptive_inflight_limit means the system is at capacity. Watch ergw_adaptive_inflight_limit over time to confirm Vegas is adjusting it.
  • Rising ergw_adaptive_queue_waiters means requests are backing up behind the inflight limit. Either raise max_inflight or investigate handler latency.
  • Rising ergw_adaptive_queue_timeouts_total means requests are waiting too long. Either max_wait is too low for the current load, or the system is genuinely overloaded.
  • ergw_adaptive_latency_p90_microseconds diverging from the long-term baseline indicates the backend is under stress. Vegas responds by lowering ergw_adaptive_inflight_limit.

Erlang VM metrics

Session Management Controller exposes Erlang VM-specificOpens in a new tab metrics. They show the state of the Erlang VM, including memory usage and per-scheduler run queue length. The metrics provide information on VM-level problems that may not be apparent from application-specific metrics and relate to non-functional issues such as poor performance or excessive memory usage.