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 RADIUS Proxy 3.0, an older release. The newest release is 3.1. Read this page in 3.1

Metrics

RADIUS Proxy exposes metrics on the /metrics/v1/values endpoint. The metrics are exported in the Prometheus formatOpens in a new tab. To access metrics, an HTTP client must send a request that contains the AcceptOpens in a new tab header with the text/plain value; otherwise, RADIUS Proxy returns the 406Opens in a new tab response code.

RADIUS Proxy metrics are divided into the following groups:

  • RADIUS server metrics
  • RADIUS client metrics
  • HTTP API metrics
  • Erlang/OTP VM runtime metrics

To expose metrics, you can configure a ServiceMonitorOpens in a new tab using these Helm chart configuration options:

text

RADIUS server metrics

RADIUS Proxy exposes the following RADIUS server metrics:

All RADIUS server metrics contain special labels which allow for accumulating metrics data for different conditions, such as the total number of RADIUS Accounting requests, the mean time of RADIUS requests handling, and so on.

The following labels are present in the RADIUS server metrics:

  • acct_type - the type of the RADIUS Accounting request. The possible values of this label are start, update, and stop.

  • server_name - the name of a RADIUS server, taken from the RPR configuration. It is created by combining proxy_ with auth_ or acct_ and the server identifier. For example, with the configuration below, the server names would be proxy_auth_1 and proxy_acct_1:

    yaml
  • server_port - the port used by a RADIUS server

  • server_ip - the IP address a RADIUS server listens on for incoming RADIUS requests

  • nas_ip - the NAS IP address from which RADIUS Proxy receives RADIUS requests

  • nas_id - the NAS identifier from which RADIUS Proxy receives RADIUS requests.

The value of the nas_id label depends on the RADIUS Proxy configuration. If the RADIUS source configuration specifies nas_id, its value is used as the label value.

For example, the following configuration of the RADIUS server produces the metric radiusServAcctUpdateRequests{nas_id="PGW"} 2060744:

yaml

If the nas_id is not defined in the RADIUS source, the value of the nas_id is a joint string of the RADIUS server name (the proxy_radius_mock_1 in the example above) and the source IP address where the given request was received from.

For example, the following configuration of the RADIUS server produces the metric - radiusServAcctUpdateRequests{nas_id="proxy_radius_mock_1_127.0.0.4"} 2060744 for the RADIUS request received from the 127.0.0.4 address:

yaml

The le label of the radiusServRtt_bucket metric specifies the histogram bucket for the time taken to handle incoming RADIUS requests. Since the metric is represented as a Prometheus histogramOpens in a new tab, there are two additional associated metrics:

  • radiusServRtt_count - total number of RADIUS requests taken into account by the histogram
  • radiusServRtt_sum - sum of round trip time periods taken into account by the histogram

RADIUS client metrics

RADIUS Proxy exposes the following RADIUS client metrics:

Each RADIUS client metric contains the following labels:

  • client_ip - the IP address used by the RADIUS Proxy client to send RADIUS requests
  • client_name - the name of the RADIUS client used by RADIUS Proxy to send RADIUS requests
  • server_name - the RADIUS server name where the RADIUS Proxy client sends RADIUS requests
  • server_ip - the RADIUS server IP address where the RADIUS Proxy client sends RADIUS requests
  • server_port - the RADIUS server port where the RADIUS Proxy client sends RADIUS requests
  • acct_type - type of RADIUS Accounting request. The possible values of this label are start, update, and stop.

HTTP API metrics

RADIUS Proxy exposes the following HTTP API-related metrics:

The api_requests_rtt metric contains the le label that specifies the Prometheus histogramOpens in a new tab bucket for the time taken to handle incoming HTTP API requests. There are two additional metrics for the HTTP API handling time:

  • api_requests_rtt_count - total number of observations taken into account by the histogram
  • api_requests_rtt_sum - sum of time periods that RADIUS Proxy spent to handle HTTP API requests

VM runtime metrics

RADIUS Proxy exposes the following Open Telecom Platform (OTP) runtime metrics:

The value of the datapoint label depends on the metric.

The runtime_garbage_collection metric may have the following datapoint values:

  • number_of_gcs - total number of garbage collections performed by a VM
  • words_reclaimed - total number of words reclaimed during garbage collections

The runtime_io metric may have the following datapoint values:

  • input - total number of bytes received by a VM
  • output - total number of bytes sent by a VM

The runtime_ram metric may have the following datapoint values:

  • total - total number of bytes currently allocated by the RADIUS Proxy VM
  • processes - total number of bytes allocated for the processes
  • processes_used - total number of bytes currently used by the processes
  • system - total number of bytes allocated by the RADIUS Proxy VM for system purposes
  • atom - total number of bytes allocated by the RADIUS Proxy VM for atoms
  • atom_used - total number of bytes currently used for atoms
  • binary - total number of bytes allocated by the RADIUS Proxy VM for binaries
  • code - total number of bytes allocated by the RADIUS Proxy VM for code
  • ets - total number of bytes allocated by the RADIUS Proxy VM for in-memory Erlang Term Storage (ETS) tables

The runtime_ports metric may have the following datapoint values:

  • port_count - number of ports currently existing at the RADIUS Proxy node
  • port_limit - maximum number of simultaneously existing ports at the RADIUS Proxy node

The runtime_processes metric may have the following datapoint values:

  • process_count - number of processes launched by RADIUS Proxy
  • process_limit - maximum number of processes that can be launched by RADIUS Proxy
  • run_queue_size - total length of all normal and dirty CPU run queues

The runtime_processors metric may have the following datapoint values:

  • logical_processors - detected number of logical processors configured in the system
  • logical_processors_available - detected number of logical processors available to the RADIUS Proxy runtime system