Bulk Statistics Support
The following statistics are supported for the OAuth2 Client Authorization Support to NRF feature.
NF AccessToken Statistics
Total AccessToken Message count:
-
Labels:
nf_oauth_messages_total
-
Host:
Refers to the host information (IP: Port) of the URL to which the access token request is being sent.
-
Service Name: NF AccessToken service
Example: nnrf-oauth
-
Version: API version
Example: v1
-
NfType:
peer nf type
-
GrInstanceID:
gr-instance-id
-
Result:
[Success | error response status code | RPC/Timeout error | Request parse failure | Response parse failure | Invalid notification event | Invalid Nf instance URI | Internal Error]
Token Validation Statistics for AMF as Producer
App infra statistics for outgoing responses:
-
Labels: outgoing_response_total
-
Invalid token format or signature mismatch:
{app_name="AMF", protocol="http", service_name="amf-rest-ep", status="error", status_code="invalid_token"}
-
Token payload verification fail:
-
Invalid scope:
{app_name="AMF", protocol="http", service_name="amf-rest-ep", status="error", status_code="app_invalid_scope"}
-
Other IE failures:
{app_name="AMF", protocol="http", service_name="amf-rest-ep", status="error", status_code="app_invalid_token"}
-
For more information on bulk statistics support for AMF, see the UCC 5G AMF Metrics Reference document.