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.
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 and Diameter requests.
Note
For more details on how SMC handles tokens and outstanding requests in Diameter connections, read the charging configuration 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).state- 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.name- name of the Diameter AAA service. The possible values are:Gx,PPE,Default,Rf,Gy, andnasreq.type- 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).
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.host>.server_port- port 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.port>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.
Erlang VM metrics
Session Management Controller exposes Erlang VM-specificOpens in a new tab metrics. They show the state of the Erlang VM, such as memory usage, run queues for the different threads, etc. The metrics provide information on VM-level problems that may not be apparent from application-specific metrics, and that relate to non-functional bugs like poor performance or memory leaks.