> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/rpr/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/rpr/latest/releases/3.1.0.md).

# RADIUS Proxy 3.1.0

**Release date:** 2025-07-04

In this release of RADIUS Proxy (RPR), we provide the following features and improvements:

- Overload protection for RPR logging
- Support for custom log formatting
- Configurable histograms for HTTP API buckets
- Grafana dashboard improvements
- Numerous improvements to the RPR documentation

## Features

### Overload protection for RPR logging

RADIUS Proxy in version 3.1.0 adds new configuration options for logging to protect it from overload. In critical situations, you may get a huge volume of logging messages, which leads to high resource consumption. 

You can configure the overload protection for RPR using the following configuration options:

```yaml
log:
  console:
    # Number of log messages in the RPR log handler queue after which it switches to the sync mode.
    sync_mode_queue_len: 500
    # Number of log messages in the RPR log handler queue after which it starts to drop the messages.
    drop_mode_queue_len: 500
    # Number of log messages in the RPR log handler queue after which it starts to flush the messages.
    flush_queue_len: 1000
    # Maximum number of log messages that can be handled within the time specified
    # in **log.console.burst_limit_window_time**.
    burst_limit_max_count: 500
    # Time window in milliseconds during which the burst limit applies.
    # The burst limit is specified in **log.console.burst_limit_max_count**.
    burst_limit_window_time: 1000
```

For more information, see the [Overload protection](https://docs.cennso.com/components/rpr/latest/configuration/logging.md#overload-protection) section.

### Support for custom log formatting

In the previous versions, RADIUS Proxy provided support for two log formats - `default` and `json`. Now you can specify a custom string which represents the format of the log messages:

```yaml
log:
  console:
    format: "time=$time level=$level code=$code node=$node msg=$msg"
```

For more information, see the [Log format](https://docs.cennso.com/components/rpr/latest/configuration/logging.md#log-format) section.

### Configurable histograms for HTTP API buckets

RADIUS Proxy in version 3.1.0 adds the new configuration option, which you can use to configure buckets for the [**api_request_rtt_bucket**](https://docs.cennso.com/components/rpr/latest/observability/metrics.md#http-api-metrics) metric:

```yaml
eradiusd_http_api:
  rtt_buckets: [5, 10, 20, 50, 100, 1000]
```

If you notice that the response time for the HTTP API calls starts to slow down, you can increase the bucket values to measure it more accurately.

## Improvements

### Grafana dashboard improvements

RADIUS Proxy release 3.1.0 provides improvements for the official Grafana dashboard:

- All the histogram metrics are updated.
- The tooltips are added to each graphic.

### Numerous improvements to the RPR documentation

RADIUS Proxy release 3.1.0 provides many improvements for the official documentation:

- Missing documentation was added for configuration options like **annotations**, **affinity**, etc.
- More clear description of the routing mechanism was added. For more information, see the [Forwarding of the AAA RADIUS requests](https://docs.cennso.com/components/rpr/latest/configuration/aaa-forwarding.md) and [Forwarding of the Disconnect RADIUS requests](https://docs.cennso.com/components/rpr/latest/configuration/disconnect-forwarding.md) documents.
- All the configuration examples updated to the actual state.

## Migration guide

### `3.0.5` -> `3.1.0`

Although RPR in release 3.1.0 provides new configuration options, their default values are set to preserve backward compatibility. It is safe to use the configuration from RPR 3.0.5 and simply proceed with updating the chart.
