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.

Grafana dashboard

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:

  • Network traffic
  • CDF resources
  • CDF metrics
  • Nchf API metrics

Monitoring SMF connectivity

To verify that the Session Management Function (SMF) is properly connected and sending charging data:

  • For Diameter Rf interface: Monitor the Diameter metricsOpens in a new tab and ercdf_ctf_peers gauge to confirm peer connections. Check ercdf_cdr_added_total to verify ACR records are arriving.
  • For Nchf interface: Monitor ercdf_nchf_request_duration_milliseconds histogram and ercdf_sessions_total gauge to track HTTP/2-based charging events.

For descriptions of all available metrics, see the metrics reference.

Network traffic

This section provides diagrams that show the network communication involving CDF. By analyzing these diagrams, you can:

  • Verify whether the CDF is operating under typical conditions. If no packets are incoming or outgoing during regular operations, it may indicate an issue that requires further investigation.
  • Identify usage patterns based on the day of the week and time of day.

This section contains two diagrams:

  • CDF Receiver Rf - shows the rate of Diameter packets handled by the CDF receiver from connected APNs
  • CDF Sender network packets - shows the rate of network packets sent by the CDF sender to connected CGFs
Network traffic
Network traffic

CDF resources

This section contains diagrams showing the RAM and CPU resource usage of CDF Receiver and Sender. Under normal operations, these values should remain within acceptable limits. If resource usage becomes too high, it may indicate that CDF is overloaded and unable to operate efficiently.

CDF resources
CDF resources

CDF metrics

This section provides additional information about CDF internals:

  • CDRs received - shows the rate of CDRs added to the queue between CDF Receiver and Sender. This corresponds to the charging update and charging terminate events handled by CDF Receiver.
  • CDRs sent to CGF - shows the rate of CDRs forwarded to CGFs by CDF Sender.
  • GTP echo - shows the rate of GTP echo packets sent to CGFs by CDF Sender. A constant rate indicates that the connection is active.
  • CDR send error - shows the rate of errors encountered while sending CDRs to CGFs. This value should remain at zero during regular operations.
CDF metrics
CDF metrics

Nchf API metrics

Note

The Nchf API is an alpha feature and should not be used in production.

This section provides information about Nchf API usage and session state.

  • Nchf request histogram by action - shows the number of requests handled within time buckets. Use the nchf_action variable at the top of the dashboard to filter by request type.
  • Mean request handling duration - shows the mean handling time per action (create, update, or release).
  • Nchf SBI requests - shows the rate of requests per action.
  • Session count - shows the number of sessions created but not yet released by this CDF Receiver instance.
Nchf API metrics
Nchf API metrics