Metrics
Charging Data Function (CDF) exposes metrics in the PrometheusOpens in a new tab format on the /metrics endpoint. To enable metrics, set these configuration options in the values.yaml file to true:
Most of the CDF metrics are default metrics from the prometheus_cowboy libraryOpens in a new tab. DIAMETER metrics are exposed by prometheus_diameter_collectorOpens in a new tab.
In addition to overall CDF metrics, there are specific metrics for the CDF receiver and sender.
CDF receiver metrics
To verify the status of CTF, check these metrics:
- DIAMETER metricsOpens in a new tab. These metrics are only available for the receiver.
- Metrics related to connected peers
- Metrics indicating whether the charging data (ACR) is arriving
ACR start records are not used to generate CDRs for CGF; only interim and stop records are used.
This table presents metrics for CDF receiver.
- The NodeID label specifies the node ID.
- The ip label consists of both the IP address and the port.
- The function label indicates the name of the function that failed. For example, its value can be
request.
CDF sender metrics
- The ip_address label specifies the IP address.
- The port label specifies the IP port.
- The ip label consists of both the IP address and the port.
- The name label specifies the GTP prime packet name, for example:
echo_requestordata_response.