> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.19/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/tposs/6.19/releases/6.18.0.md).

# Travelping Open Subscriber Server 6.18.0

**Release date:** 2025-09-12

In this release of Travelping Open Subscriber Server (TPOSS), we provide the following features and improvements:

- New IP pool metrics and labels
- New database metrics
- Extended logging configuration
- Support for the security context configuration
- Support for a plain password for an SFTP user
- Robust handling of lost connections towards a database
- Grafana dashboard improvements
- Better handling of the missing mcc_whitelist value
- Optimized database queries on PCS notifications
- Deprecation of the IP pool metrics
- Deprecation of the TLS configuration for the database client
- Support for the `locks` locking algorithm is removed
- Update to the newest Erlang and Elixir versions
- Update of the NATS version
- Update of the `nettools` version

## Features

### New IP pool metrics and labels

TPOSS in version 6.18.0 adds two new IP pool metrics:

- **ip_pool_block_used_ips_total** - Number of used IPs within the block
- **ip_pool_total** - Total number of IPs within the pool

In addition, all the IP pool metrics except the [deprecated](#deprecation-of-the-ip-pool-metrics) ones provide new labels:

- `pool_name` – Name of the IP pool from which the IP block is allocated.
- `pool_range` – IP range from which the IP block is allocated.

For more information, see the [IP pools metrics](https://docs.cennso.com/components/tposs/6.19/observability/metrics.md#ip-pools-metrics) section.

### New database metrics

TPOSS in version 6.18.0 adds the new metric - **db_pool_queue_length**. It shows the number of queries currently waiting for a free connection from the database connection pool.

For more information, see the [Database metrics](https://docs.cennso.com/components/tposs/6.19/observability/metrics.md#database-metrics) section.

### Extended logging configuration

TPOSS in version 6.18.0 provides new possibilities to configure [logging](https://docs.cennso.com/components/tposs/6.19/configuration/logging.md):

- Possibility to control overload protection
- Possibility to specify logging format

By configuring the log overload protection, you can prevent your TPOSS instances from unexpected spikes of memory consumption caused by excessive logging activity. You can use the following configuration options:

```yaml
log:
  console:
    # Number of log messages in the TPOSS log handler queue after which it switches to the sync mode.
    sync_mode_queue_len: 500
    # Number of log messages in the TPOSS log handler queue after which it starts to drop the messages.
    drop_mode_queue_len: 500
    # Number of log messages in the TPOSS 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/tposs/6.19/configuration/logging.md#overload-protection) section.

Since this version, you can also configure a custom logging format. Previously, the **log.console.format** parameter supported only two values: `default` and `json`. Now, you can provide a custom string to define the format of logs. For more information, see the [Log format](https://docs.cennso.com/components/tposs/6.19/configuration/logging.md#log-format).

Since TPOSS version 6.18.0, all logging messages have a message code. All codes are described in the [Log message codes](https://docs.cennso.com/components/tposs/6.19/troubleshooting/log-message-codes.md) document.

### Support for the security context configuration

TPOSS in version 6.18.0 allows you to configure a security context for the TPOSS StatefulSet container.

For more information, see the [Security context configuration](https://docs.cennso.com/components/tposs/6.19/configuration/security_context.md) document.

### Support for a plain password for an SFTP user

TPOSS in version 6.18.0 allows you to specify a `plain` password for an SFTP user with this configuration option:

```yaml
sftp:
  sftpConfig:
    passwordFormat: "crypt" | "plain"
```

For more information, see the [SFTP settings](https://docs.cennso.com/components/tposs/6.19/configuration/charging.md#sftp-settings) section.

In addition, to support this feature, the SFTP CDR exporter was updated to `registry.cennso.com/cennso/tposs-cdr-exporter-sftp:v1.2.0`.

## Improvements

### Robust handling of lost connections towards a database

In previous versions of TPOSS, memory consumption could spike when database connections were lost. TPOSS in version 6.18.0 has a more robust mechanism to handle such situations. If the underlying TCP connections for the database client are no longer alive, TPOSS now detects this condition and stops accepting new incoming requests. This improves memory consumption and avoids huge spikes in resource usage.

### Grafana dashboard improvements

TPOSS release 6.18.0 provides improvements for the official [Grafana dashboard](https://docs.cennso.com/components/tposs/6.19/observability/dashboard.md):

- Duplicated metrics were removed from CPU graphics
- New metrics added to the dashboard
- All dashboards now have unified tooltips
- Auto-refresh of the dashboard is enabled by default

### Better handling of the missing mcc_whitelist value

In previous versions of TPOSS, if the **hooks.charging_rules_changed.mcc_whitelist** configuration option was not specified, incoming requests would fail. Starting with version 6.18.0, TPOSS correctly handles the absence of this option, ensuring requests are processed as expected.

### Optimized database queries on PCS notifications

In previous versions, TPOSS used not the most optimal database queries to fetch network sessions when handling [hooks](https://docs.cennso.com/components/tposs/6.19/configuration/hooks.md). TPOSS in version 6.18.0 replaces the slow database queries with queries based on indexed data.

## Maintenance and deprecations

### Deprecation of the IP pool metrics

> [!CAUTION]
> The **ipPool_total** and **ipPool_used** metrics are deprecated and will be removed in the next TPOSS releases.

For more information, see the [Migration guide](#deprecated-ip-pool-metrics).

### Deprecation of the TLS configuration for the database client

> [!CAUTION]
> The **database.ssl** and **database.ssl_versions** configuration options are deprecated and will be removed in the next releases.

For more information, see the [Migration guide](#deprecated-tls-configuration-for-the-database-client).

### Support for the `locks` locking algorithm is removed

TPOSS in version 6.18.0 removes support for the experimental global lock algorithm. The **sessions.global_lock.algorithm** does not support value `locks` anymore.

For more information, see the [Migration guide](#removal-of-the-locks-algorithm).

### Update to the newest Erlang and Elixir versions

TPOSS in version 6.18.0 updates Erlang and Elixir to the latest versions, improving overall robustness and performance.

### Update of the NATS version

The version of NATS that goes with TPOSS was updated to [2.11.6](https://github.com/nats-io/nats-server/releases/tag/v2.11.6). This update includes fixes for regressions present in previous versions.

### Update of the `nettools` version

The version of `nettools` that goes with TPOSS was updated to [1.15.0](https://github.com/travelping/docker-nettools). The new container provides [openssl](https://wiki.openssl.org/index.php/Command_Line_Utilities) CLI installed to allow generating key pairs, inspecting certificates, and more.

For more information on how to use the `nettools` container, see the [Sidecar containers](https://docs.cennso.com/components/tposs/6.19/configuration/sidecars.md) document.

## Migration guide

The new version of TPOSS requires a database migration since the new database index was added to optimize queries during PCS notifications. For more information, see [Optimized database queries on PCS notifications](#optimized-database-queries-on-pcs-notifications). 

> [!IMPORTANT]
> Run the TPOSS upgrade during periods of low load to minimise impact on the database and TPOSS functionality. It is recommended to increase [liveness probes](https://docs.cennso.com/components/tposs/6.19/installation/configuration.md#tposs-liveness-and-readiness-probes-configuration) in case the migration takes a long time.

To ensure backwards compatibility, the default values of all configuration options do not change TPOSS behaviour compared to the previous versions. Follow the sections below to safely upgrade to TPOSS 6.18.0.

### Removal of the locks algorithm

TPOSS in version 6.18.0 removes support for the experimental global lock algorithm. Consider switching to another locking algorithm if you have a TPOSS configuration that uses the global lock mechanism, as in this example:

```yaml
sessions:
  global_lock:
    enabled: true
    algorithm: "locks"
```

For more information, see the [Session handler locking](https://docs.cennso.com/components/tposs/6.19/configuration/session.md#session-handler-locking) section.

### Deprecated TLS configuration for the database client

The following configuration options will be removed in the next TPOSS releases:

- **database.ssl** 
- **database.ssl_versions**

If your setup depends on these options, migrate to using proxied encrypted connections instead. You may use [TPOSS sidecar containers](https://docs.cennso.com/components/tposs/6.19/configuration/sidecars.md) for this.

### Deprecated IP pool metrics

The following metrics will be removed in the next TPOSS releases:

- **ipPool_total**
- **ipPool_used**

If you use these metrics, consider switching to **ip_pool_block_used_ips_total** and **ip_pool_total**, which provide extended information about IP pools usage within TPOSS.
