Bulk Statistics Support

The SMF maintains the following metrics as part of the Diameter endpoint.

diameter_request_message_total

Description: Indicate the count of diameter requests processed by diameter endpoint.

Note
  • The peer_address counter is empty for inbound requests and depending on the point of failure, this counter can be empty for the outbound requests.

  • The retry counter is always logged as zero for IPC timeout.

  • The transaction_type counter is hard-coded to "origin".

  • The endpoint_name counter is empty for inbound requests and depending on the point of failure, this counter can empty for outbound requests.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • interface: gx, gy

  • message_name: ccri, ccru, ccrt, rar, asr peer_address

  • status: attempted, peer_down, err_cfg, err_maxout, timeout_ipc, err_ipc, err_unmarshal

  • retry: retry count gr_instance transcation_type

  • endpoint_name: name of endpoint profile used during processing

  • message_direction: inbound, outbound

Label Production:

  • interface

  • message_name

  • peer_address status

Label Debug:

  • retry

  • gr_instance

  • transaction_type

Label Trace:

  • endpoint_name

  • message_direction

diameter_response_message_total

Description: Indicate the count of diameter responses that the Diameter endpoint processes.

Note
  • The peer_address counter is empty for inbound requests and depending on the point of failure, this counter can be empty for the outbound requests.

  • The result_code counter is logged as " " for outbound responses, local failure, response timeout, and IPC timeout.

  • The action or subaction counter is empty for outbound responses and "success" responses.

  • The endpoint_name counter is empty for inbound requests and depending on the point of failure, this counter can empty for outbound requests.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • interface: gx, gy

  • message_name: ccai, ccau, ccat, raa, asa

  • peer_address

  • status: success, err_cfg, err_maxout, err_send, timeout_res, timeout_ipc, err_ipc, err_unmarshal, err_rc, err_exp_rc

  • result_code

  • action: continue, terminate

  • subaction: discard-traffic, local-fallback, retry-server-on-event, send-ccrt-on-call-termination, with-term-req, without-term-req

  • endpoint_name: name of endpoint profile used during processing

  • gr_instance

  • message_direction: inbound, outbound

Label Production:

  • interface

  • message_name

  • peer_address status

  • status

  • result_code

Label Debug:

  • action

  • subaction

  • gr_instance

Label Trace:

  • endpoint_name

  • message_direction

diameter_response_message_seconds_total

Description: Indicate the cumulative response time in seconds of diameter requests that the Diameter endpoint processes.

Note
  • The peer_address counter is empty for inbound requests and depending on the point of failure, this counter can be empty for the outbound requests.

  • The result_code counter is logged as " for outbound responses, local failure, response timeout, and IPC timeout.

  • The action or subaction counter is empty for outbound responses and "success" responses.

  • The endpoint_name counter is empty for inbound requests and depending on the point of failure, this counter can empty for outbound requests.

  • This counter is not incremented for local failure or IPC timeout.

Default Level: MetricsVerboseLevelProduction

Label Details:

  • interface: gx, gy

  • message_name: ccai, ccau, ccat, raa, asa

  • peer_address

  • status: success, err_cfg, err_maxout, err_send, timeout_res, timeout_ipc, err_ipc, err_unmarshal, err_rc, err_exp_rc

  • result_code

  • action: continue, terminate

  • subaction: discard-traffic, local-fallback, retry-server-on-event, send-ccrt-on-call-termination, with-term-req, without-term-req

  • gr_instance

  • endpoint_name: name of endpoint profile used during processing

  • message_direction: inbound, outbound

Label Production:

  • message_name

  • origin_host

  • origin_realm

  • disconnect_cause

  • result_code

Label Debug:

  • action

  • subaction

  • gr_instance

Label Trace:

  • endpoint_name

  • message_direction

diam_base_msg_total

Description: Indicate the count of diameter base message requests that the Diameter endpoint processes.

Note
  • The DPR counter is supported only for the DPR that is received from a peer.

  • The result_code counter is logged as 5012 if the DPR received has the mandatory AVP missing or if origin-host and origin-realm in DPR does not match with destination-host and destination-realm in connection details.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • message_name: DPR

  • origin_host

  • origin_realm

  • disconnect_cause: REBOOTING, BUSY, DO_NOT_WANT_TO_TALK_TO_YOU

  • result_code: 2001, 5012

  • gr_instance

Label Production:

  • message_name

  • origin_host

  • origin_realm

  • disconnect_cause

  • result_code

Label Debug:

  • gr_instance

Label Trace:

  • endpoint_name

  • message_direction

diam_base_msg_seconds_total

Description: Indicate the cumulative response time in seconds of diameter base message requests that the Diameter endpoint processes.

Note
  • The DPR counter is supported only for the DPR that is received from a peer.

  • The result_code counter is logged as 5012 if the DPR received has the mandatory AVP missing or if origin-host and origin-realm in DPR does not match with destination-host and destination-realm in connection details.

Default Level: MetricsVerboseLevelProduction

Label Details:

  • message_name: DPR

  • origin_host

  • origin_realm

  • disconnect_cause: REBOOTING, BUSY, DO_NOT_WANT_TO_TALK_TO_YOU

  • result_code: 2001, 5012

  • gr_instance

Label Production:

  • interface

  • message_name

  • diameter_dictionary_type

  • status

  • unknown_avp

Label Debug:

  • gr_instance

diameter_encode_message_total

Description: Indicate the count of diameter base message requests that the Diameter endpoint processes.

Note
  • The DPR counter is supported only for the DPR that is received from a peer.

  • The result_code counter is logged as 5012 if the DPR received has the mandatory AVP missing or if origin-host and origin-realm in DPR does not match with destination-host and destination-realm in connection details.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • interface: gx, gy, ""

  • message_name: ccri, ccru, ccrt, raa, asa

  • endpoint_name: name of endpoint profile used during processing

  • dict_name

  • status: success, failure, partial

  • unknown_avp: 0, 1

  • gr_instance

Label Production:

  • interface

  • message_name

  • diameter_dictionary_type

  • status

  • unknown_avp

Label Debug:

  • status_code

  • gr_instance

diameter_decode_message_total

Description: Indicate the count of decoding that the Diameter endpoint performed.

Note
  • The interface is empty for unsupported interface or command code.

  • The message_name counter is empty for the unsupported interface or command code

  • The dict_name counter is empty when default dictionary is used. Else, this counter indicates the name of dictionary that is used for an operation.

  • The status counter is logged as failure only for the unsupported interface or command code. This counter is logged as partial if an issue that is seen during the encoding is ignored. For example, an unknown AVP.

  • The unknown_avp counter indicates if any unknown AVPs are found during encoding, where zero indicates not found and 1 indicates found.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • interface: gx, gy, ""

  • message_name: ccai, ccau, ccat, rar, asr

  • endpoint_name: name of endpoint profile used during processing

  • dict_name

  • status: success, failure, partial

  • unknown_avp: 0, 1

  • gr_instance

Label Production:

  • interface

  • message_name

  • diameter_dictionary_type

  • status

  • unknown_avp

Label Debug:

  • status_code

  • result_code

  • gr_instance

Label Trace:

  • endpoint_name

diameter_pod_status

Description: Indicate the pod status as active or standby.

Note
  • Value 1 indicates the status as active and zero indicates the status as standby.

  • The VIP counter is not used to determine the pod status when a Diameter pod is running in server mode. In this case, VIP is empty in the server mode.

Metrics Type: Gauge

Default Level: MetricsVerboseLevelProduction

Label Details:

  • vip: VIP used for determining pod status

Label Production:

  • vip

Label Debug:

  • gr_instance

Label Trace:

  • endpoint_name

dispatch_error_total

Description: Indicate the count of inbound requests that had error or timeout during dispatch to service.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • application

  • command_code

  • error_code

  • gr_instance

Label Production:

  • application

  • command_code

  • error_code

Label Debug:

  • gr_instance

dispatch_error_seconds_total

Description: Indicate the cumulative time in seconds spent during dispatching of inbound requests to service that had error or timeout.

Default Level: MetricsVerboseLevelProduction

Label Details:

  • application

  • command_code

  • error_code

  • gr_instance

Label Production:

  • application

  • command_code

  • error_code

Label Debug:

  • gr_instance

policy_engine_message_total

Description: Indicate the count of messages that are sent to service for which response is received.

Metrics Type: Counter

Default Level: MetricsVerboseLevelProduction

Label Details:

  • application

  • command_code

  • gr_instance

Label Production:

  • application

  • command_code

Label Debug:

  • gr_instance

policy_engine_message_seconds_total

Description: Indicate the cumulative time in seconds spent during processing of a message sent to service.

Default Level: MetricsVerboseLevelProduction

Label Details:

  • application

  • command_code

  • gr_instance

Label Production:

  • application

  • command_code

Label Debug:

  • gr_instance