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.

Archive CDRs

Charging Data Function (CDF) allows you to store copies of Charging Data Records (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.

To enable the archive feature, configure the CDF Sender component using either the CDFSender Custom Resource or Helm chart values:

yaml

At minimum, you need to specify the following required parameters:

  • url - the Cennso Data Mesh (CDM) server address where archived CDRs are stored
  • subject - the CDM subject where CDF publishes archived CDRs
  • errorSubject - the CDM subject where CDF publishes errors that occur during archiving. This allows you to monitor archiving failures separately.

Optionally, you can also specify the following parameters:

  • encoding - format for storing CDRs. The possible options are JSON (human-readable, larger files) or ErlangTerm (compact binary format).
  • compression - compress archived CDRs to save storage space. Choose zlib (compress CDRs) or none (no compression). Compression reduces storage costs but uses more CPU when writing and reading CDRs.
  • poolSize - number of concurrent connections to CDM for archiving. More connections can increase archiving throughput if you have high CDR volumes. For more information, read the Pool size configuration section.
  • requestTimeout - specifies how long (in milliseconds) to wait for CDM to confirm archiving before timing out. Increase this value if you see timeout errors during high load.
  • credentialsSecretName - name of the Kubernetes secret containing CDM authentication credentials. Required if your CDM server requires authentication.

Managing archived CDRs

After CDF publishes archived CDRs to the CDM subject, you need to configure CDM stream settings to manage storage space and retention. Configure the CDM stream that corresponds to the subject you specified in the CDF configuration.

CDM stream settings control:

  • Storage space limits - how much disk space archived CDRs can use
  • Retention periods - how long CDRs are kept before automatic deletion
  • Time to Live (TTL) - when individual CDRs expire

For instructions on configuring CDM streams, see the Cennso Data Mesh.