Metrics
CDF exposes metrics in Prometheus format on the /metrics endpoint. These metrics help you monitor the health and performance of the charging data collection system.
CDF provides metrics from several sources:
- HTTP server metrics - default metrics from the prometheus_cowboy libraryOpens in a new tab for tracking HTTP requests and connections.
- Diameter metrics - metrics from prometheus_diameter_collectorOpens in a new tab for monitoring Diameter Rf interface connections. These metrics are only available for CDF Receiver, as it uses Diameter Rf to receive ACRs from SMF.
In addition to overall CDF metrics, there are specific metrics for the CDF Receiver and CDF Sender.
CDF Receiver metrics
CDF Receiver exposes these metrics to track the incoming ACRs, CDM operations, and peer connections:
CDF Sender metrics
CDF Sender exposes these metrics to track CDR delivery and CGF connectivity:
Labels
This section describes metric labels that provide additional context about the measured events:
NodeID- node identifier from the charging sessionip_address- IP address of the peer (SMF or CGF)port- port number of the peerip- combined IP address and port in the formataddress:portfunction- operation that encountered an error (for example,request)transport- protocol used for charging events:http(HTTP/2) orcdmp(CDMP over HTTP/2)action- Nchf charging action:create(session start),update(interim), orrelease(session end)response_status- HTTP status code returned in the Nchf responsename- GTP prime packet type:echo_request,echo_response,data_request, ordata_response.