# Charging Data Function 4.2

> Documentation for Charging Data Function 4.2. Every page is linked as markdown. The index of all documentation is at https://docs.cennso.com/llms.txt.

## Introduction

- [Introduction](https://docs.cennso.com/components/cdf/4.2/introduction.md): Charging Data Function (CDF) is a key component in the 3GPP charging architecture for mobile networks. It is responsible for collecting, aggregating, and processing charging data records (CDRs) from various network elements.

## Installation

- [Installation](https://docs.cennso.com/components/cdf/4.2/installation.md): Charging Data Function (CDF) is provided as a Helm chart that you can install from an OCI registry. Run these commands to install CDF…
- [NATS server](https://docs.cennso.com/components/cdf/4.2/nats_server.md): Charging Data Function (CDF) stores charging data in NATS. If CDF is not part of a Cennso installation where NATS is included, you must add a NATS server before starting CDF.
- [Chart configuration](https://docs.cennso.com/components/cdf/4.2/configuration/reference.md): Charging Data Function (CDF) chart installs CDF and provides you with parameters you can use to configure it.
- [Support chart configuration](https://docs.cennso.com/components/cdf/4.2/configuration/support.md): The CDF Support chart provides tools to monitor CDF instances and includes Kubernetes resources that are useful and, in some cases, required for operating CDF…

## Configuration

- [Sample CDF Receiver configuration](https://docs.cennso.com/components/cdf/4.2/configuration/ext_receiver.md): This document provides a sample configuration for a CDF Receiver and describes all the parameters you can adjust to configure throughput. Use this configuration to deploy a CDF Receiver…
- [Sample CDF Sender configuration](https://docs.cennso.com/components/cdf/4.2/configuration/ext_sender.md): This document provides a sample configuration for a CDF Sender and describes all the parameters you can adjust to configure throughput. Use this configuration to deploy a CDF Sender…
- [APN-specific configuration](https://docs.cennso.com/components/cdf/4.2/configuration/apn_config.md): This is a sample APN-specific configuration for CDF sender…
- [Adjustment of the configurable rate at runtime](https://docs.cennso.com/components/cdf/4.2/configuration/rate_limit.md): In Charging Data Function (CDF), you can adjust the limit of accepted charging events per second. CDF receiver can limit the number of received ACRs on the Rf interface. A higher rate results in ACA answering TOO_BUSY. CDF sender can limit receiving CDR from NATS.
- [Archive CDRs](https://docs.cennso.com/components/cdf/4.2/configuration/archive.md): CDF allows you to store copies of CDRs in an archive service after they are sent to a CGF. Archiving CDRs may be useful for troubleshooting, for example, to check the contents of CDRs when investigating issues. The component responsible for archiving CDRs is CDF sender.
- [Logging configuration](https://docs.cennso.com/components/cdf/4.2/configuration/logger.md): Charging Data Function (CDF) uses the following log levels…
- [IP addresses](https://docs.cennso.com/components/cdf/4.2/configuration/ip_address.md): CDF Sender can use either a hostname or an IP address when configuring Charging Gateway Function (CGF). When the IP address is an IPv6 address, it must be written using square brackets. Example: [2001:DB8::1].

## Observability

- [Metrics](https://docs.cennso.com/components/cdf/4.2/observability/metrics.md): Charging Data Function (CDF) exposes metrics in the Prometheus format on the /metrics endpoint. To enable metrics, set these configuration options in the values.yaml file to true…
- [Grafana dashboard](https://docs.cennso.com/components/cdf/4.2/observability/dashboard.md): Grafana dashboard for Charging Data Function (CDF) helps you visualize and analyze data from metrics that CDF exposes. By default, the CDF dashboard is pre-configured with the following sections…

## KPIs

- [KPIs](https://docs.cennso.com/components/cdf/4.2/recommendation.md): You can tune the performance of CDF Sender and CDF Receiver by applying proper configuration, for example adjusting available CPU and RAM. Both components store CDRs in NATS, so NATS must be properly configured to handle the expected load and resource usage.

## SLOs

- [SLOs](https://docs.cennso.com/components/cdf/4.2/slo.md): This document shows the validated Service Level Objectives (SLOs) for Charging Data Function (CDF). The table summarises the targeted and achieved SLOs…

## Troubleshooting

- [Troubleshooting](https://docs.cennso.com/components/cdf/4.2/troubleshooting.md): If a separate archive service is configured but not present, no CDRs are archived, and you receive an error message indicating that the service cannot be reached. There is no performance loss, but the variation increases in the CDR/s rate to the Charging Gateway Function (CGF).

## Releases

- [4.2.1](https://docs.cennso.com/components/cdf/4.2/releases/4.2.1.md): Charging Data Function (CDF) 4.2.1 is a bugfix release. No configuration changes are needed when upgrading from version 4.2.0.
- [4.2.0](https://docs.cennso.com/components/cdf/4.2/releases/4.2.0.md): Charging Data Function (CDF) 4.2.0 introduces adaptations to support the CDM NATS service requirements in the Cennso cloud environment. Key enhancements include support for NATS user authentication and custom TLS Certificate Authority (CA) configuration.
- [4.1.0](https://docs.cennso.com/components/cdf/4.2/releases/4.1.0.md): Charging Data Function (CDF) release 4.1.0 contains mostly changes related to the architectural change to using NATS, introduced in the 4.0.0 release. In addition to the KV-bucket and workqueue based on NATS, a NATS archive stream is now available.
- [4.0.0](https://docs.cennso.com/components/cdf/4.2/releases/4.0.0.md): Charging Data Function (CDF) in version 4.0.0 uses NATS storage capabilities for all storage needs. As a result, having a persistent volume and an S3 server to store DETS files is no longer necessary. The Helm chart includes new configuration options for NATS.
- [3.1.0](https://docs.cennso.com/components/cdf/4.2/releases/3.1.0.md): Charging Data Function (CDF) in version 3.1.0 can correctly handle the PLMN ID change introduced with SMC 2.11.0. A Grafana dashboard is included in the CDF Support Helm chart. The CDF chart can create JSON configuration files for CDF.
- [3.0.2](https://docs.cennso.com/components/cdf/4.2/releases/3.0.2.md): Charging Data Function (CDF) in version 3.0.2 provides a split architecture with a sender and a receiver. This way, the sender can be reconfigured without stopping any CTF sending to the receiver. There are also new metrics and improved usability for metrics.

## Migration guides

- [CDF 3 - CDF 4](https://docs.cennso.com/components/cdf/4.2/releases/migration_from_cdf3_to_cdf4.md): Charging Data Function (CDF) 4.0 release introduces new configuration options for NATS storage capabilities and removes options that are no longer used. The changes to the Helm chart are not backwards compatible. Metrics are also updated respectively.
- [CDF 2 - CDF 3](https://docs.cennso.com/components/cdf/4.2/releases/migration_from_cdf2_to_cdf3.md): The new Helm chart is not backwards compatible. Several unused options have been removed. Almost all options have been renamed. The old names where often based on the Erlang configuration, while the new names are aligned with Helm usage.

## Optional

- [Full documentation](https://docs.cennso.com/components/cdf/4.2/llms-full.txt): every page of Charging Data Function 4.2 inline, 25 pages
- [Documentation as PDF](https://docs.cennso.com/api/download/components/cdf/4.2/documentation.pdf): 1.2 MB
- [Release notes as PDF](https://docs.cennso.com/api/download/components/cdf/4.2/release-notes.pdf): 243.4 kB
- [PDFs with their images](https://docs.cennso.com/api/download/components/cdf/4.2/pdf_generated.zip): both PDFs and the images they show, as a ZIP archive, 1.2 MB
