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.12, an older release. The newest release is 3.17. Go to 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.

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 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), and ergw_aaa_nasreq (Diameter NASREQ).
  • state - 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.
  • name - name of the Diameter AAA service. The possible values are: Gx, PPE, Default, Rf, Gy, and nasreq.
  • type - 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).

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.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>. NAS if not present.
  • client_ip - this label is not used and its only possible value is undefined.

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.