4 NSSF Metrics

The following are NSSF Metrics:

Success Measurements

Table 4-1 Success Measurements

Tag Dimensions Description Microservice
ocnssf_nsselection_rx

AMF Instance Id,

Message Type

Method

Count of request messages received by NSSF for the Nocnssf_NSSelection service NSSelection
ocnssf_nsselection_success_response_tx

AMF Instance Id,

Message Type

Method

Count of success response messages sent by NSSF for requests for the Nocnssf_NSSelection service NSSelection
ocnssf_nsselection_policy_match

AMF Instance Id,

Message Type

Policy Rule Name

Count of policy matches found during processing of request messages for the Nocnssf_NSSelection service NSSelection
ocnssf_nsselection_time_match

AMF Instance Id,

Message Type,

Time Profile Name
Count of time profile matches found during processing of request messages for the Nocnssf_NSSelection service NSSelection
ocnssf_nsselection_nsi_selected

AMF Instance Id,

Message Type,

NSI Profile Name

Count of Network Slice Instances selected during processing of request messages for the Nocnssf_NSSelection service NSSelection
ocnssf_nsselection_nrf_discovery_tx None Count of NRF discoveries performed during processing of request messages for the Nocnssf_NSSelection service NSSelection
ocnssf_nsselection_nrf_discovery_success None Count of successful discovery results received from NRF during processing of request messages for the Nocnssf_NSSelection service NSSelection
ocnssf_nssaiavailability_rx

Method,

Operation

.

Count of request messages received by NSSF for the Nocnssf_NSSAIAvailability service NSAvailability
ocnssf_nssaiavailability_success_response_tx

Method,

Operation

Count of success response messages sent by NSSF for requests for the Nocnssf_NSSAIAvailability service NSAvailability
ocnssf_nssaiavailability_notification_tx Subscription- Id Count of notification messages sent by NSSF as part of Nocnssf_NSSAIAvailability service NSSubscription
ocnssf_nssaiavailability_notification_success_response_rx Subscription- Id Count of success notification response messages received by NSSF for requests for the Nocnssf_NSSAIAvailability service NSSubscription
ocnssf_nsselection_requests_duration_seconds_sum   Time duration in seconds take by OCNSSF to process requests to NS-Selection NSSelection
ocnssf_nsselection_requests_duration_seconds_count   Count of number of requests processed by NS-Selection NSSelection
ocnssf_nsselection_requests_duration_seconds_max   Max of Time duration in seconds take by OCNSSF to process requests to NS-Selection NSSelection
ocnssf_db_query_duration_seconds_sum query_type Time duration in seconds to process dbQuery NA
ocnssf_db_query_duration_seconds_count query_type Count of number of dbQuery NA
ocnssf_db_query_duration_seconds_max query_type Max of Time duration in seconds take to process dbQuery NA

Error Measurements

Table 4-2 Error Measurements

Tag Dimensions Description Micro-service
ocnssf_configuration_database_read_error None Count of errors encountered when trying to read the configuration database NSSelection
ocnssf_configuration_database_write_error None Count of errors encountered when trying to write to the configuration database NSConfig
ocnssf_state_data_read_error None Count of errors encountered when trying to read the state database NSSelection
ocnssf_state_data_write_error None Count of errors encountered when trying to write to the state database NSAvailability
ocnssf_nsselection_nrf_discovery_failure Status Count of errors encountered when trying to reach the NRF's discovery service NSSelection
ocnssf_nsselection_policy_not_found

AMF Instance Id,

Message Type

Count of request messages that did not find a configured policy NSSelection
ocnssf_nssaiavailability_subscription_failure

Operation,

Method,

Status

Count of subscribe requests rejected by NSSF NSAvailability
ocnssf_nssaiavailability_notification_failure

Subscription- Id

Status

Count of failure notification response messages received by NSSF for requests for the Nocnssf_NSSAIAvailability service NSSubscription

Dimensions

Table 4-3 Dimensions

Dimension Values Notes
Message Type INITIAL_REGISTRATION/PDU_SESSION/UE_CONFIG_UPDATE This specifies the type of NS-Selection query message
AMF Instance Id None NF-Id of AMF
Subscription- Id None Subscription -ID
Operation UPDATE/DELETE/SUBSCRIBE/UNSUBSCRIBE NS-Availability Operation
Method POST/PUT/PATCH/DELETE/GET/OPTIONS HTTP method
Status None HTTP response code
query_type applypolicy_reg/applypolicy_pdu/evaluate_amfset/evaluate_resolution Type of DB read query

Common Metrics

Table 4-4 Common Metrics

Tag Dimensions Description Microservice
http_requests_total Counter direction, method, uri, http_version, host

Requests received/sent from the microservice.

  • direction: ingress or egress
  • method: the method from the request line
  • uri: the URI from the request line
  • http_version: the HTTP version from the request line
  • host: the value of the Host header field
http_responses_total Counter

direction, status_code, http_version

Responses received/sent from the microservice
http_request_bytes Histogram direction, method, uri, http_version Size of requests, including header and body. Grouped in 100 byte buckets.
http_response_bytes Histogram direction, http_version Size of responses, including header and body. Grouped in 100 byte buckets.
bandwidth_bytes Counter direction Amount of ingress and egress traffic sent and received by the microservice.
request_latency_seconds Histogram Time (in microseconds) to process an ingress request. Measured from when the request is received to when the response is sent. Grouped in 20us buckets. None

Common Attributes

Table 4-5 Common Attributes

Attribute Description
application The name of the application that the microservice is a part of.
eng_version The eng version of the application.
microservice The name of the microservice.
namespace The namespace in which microservice is running.
node The name of the worker node that the microservice is running on