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 nameversion- GTP protocol version, eitherv1orv2peer_address- remote IP of the GTP peerremote(deprecated) - remote IP of the GTP peerip(deprecated) - remote IP of the GTP peertype- GTP message typedirection- GTP message direction, eitherrxfor receive messages ortxfor 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 nameversion- GTP protocol version, eitherv1orv2type- 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, eitherrxfor receive messages ortxfor transmit messagesresult- 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, eithermalformed-requestsorversion-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 namedirection- GTP message direction, eitherrxfor receive messages ortxfor transmit messagesversion- GTP protocol version, eitherv1orv2type- 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, eitherruleorrulebasename- name of the rule or rulebasecause- cause of the PPC rule activation error. The possible values arenot_foundandno_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 nameremote- remote IPdirection- PFCP message direction, eitherrxfor receive messages ortxfor transmit messagestype- PFCP message typeresult- PFCP cause information elementrulename- name of the rulestate- state of the PFCP association, the value isup
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 eithergn/gp,s5/s8,s11, ortdfreason- 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 nametype- type of IP addresses allocated from the pool, can be eitheripv4oripv6id- 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), andergw_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), andergw-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 asCER/CEA,ACR/ACA.rc- the value of theResult-CodeAVP, only present when thedirectionlabel value isdirection=recv.kind(3) - the type of buffered Rf accounting container. The possible values are:sdc(Service-Data-Container),tdv(Traffic-Data-Volumes), andsec_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, orunknown.state(1) - the state of the AAA session. The only possible value isstartedfor all handlers exceptergw_aaa_ro. For theergw_aaa_rohandler, the possible values arestartedandocs_hold. Theocs_holdvalue 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, andinitial.name- name of the Diameter AAA service. The possible values are:Gx,PPE,Default,Rf,Gy, andnasreq.type(1) - specifies whether the metric shows the currently observed value of outstanding requests (then the value of this label isused) or the configured limit of the allowed tokens/outstanding requests (then the value of this label islimit).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), andunknown.application- specifies the Diameter application. The possible names aregx,rf,ro, andnasreq. The Diameter applicationrois used for multiple 3GPP reference points. One of them is theGyreference 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 isergw_aaa_radius(RADIUS NAS).state- the state of the AAA session. The only possible value isstarted.
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 isdisc_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 isserver1_<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>.NASif 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>.NASif not present.client_ip- this label is not used and its only possible value isundefined.
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 theergw_adaptivecoordinator instance. Typicallydefault.queue- the load class of the request:create,delete,data, orother.mode- the active admission mode:adaptive,rate_limit, orrate_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
queueto 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_inflightor investigate handler latency. - Rising ergw_adaptive_queue_timeouts_total means requests are waiting too long. Either
max_waitis 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.