This solution addresses Key Issue #8.
This solution introduces service API analytics to allow a VAL server or any other consumer (e.g. API provider) to be notified on the predicted /statistic availability and service level for the requested service API analytics. Such analytics may allow the API provider to perform actions to avoid service API invocation failures or other actions like throttling/rate limitations. Also, such analytics will support the VAL server to identify if/when to perform an API invocation request based on the API expected status at the given area and time horizon.
Figure 6.10.1-1 illustrates the procedure for service API analytics enablement solution.
Pre-conditions:
-
ADAES is registered to CCF
Step 2.
Upon receiving the event subscription request from the subscribing entity, the ADAE server checks for the relevant authorization for the event subscription. If the authorization is successful, the ADAE server stores the subscription information.
Step 3.
The ADAE server sends an event subscription response indicating successful subscription
Step 4.
Upon sending the subscription response, the ADAE server requests to collect API logs to be used to derive analytics and triggers API invocation log pull request towards the CAPIF core function. The API invocation log fetch request indicates the API (or list of APIs) for which logs are required. Based on the ADAE server deployment, this can be performed via
CAPIF_Logging_API_Invocation API as specified in
TS 23.222. The message may include the IEs as specified in
Table 6.10.1-2.
Step 6.
The ADAES may also request and receive service API historical analytics /data from A-ADRF for the corresponding service APIs.
Step 7.
The ADAE servers authorizes and anonymizes the API logs (if not performed by CCF) and abstracts based on exposure level. The exposure level can be known based on pre-configuration by the OAM or based on the subscription and type of invoker. The ADAE server then derives analytics on the target service API(s) based on the logs received from the CCF. Such analytics are predictions/stats for the API status based on the analytics event.
Step 8.
The ADAE server sends the analytics as event notifications to all the subscribing entities that have subscribed for the event matching the criteria. If a notification reception information is available as part of the subscribing entity event subscription, then the notification reception information is used by the ADAE server to send event notifications to the subscribing entity.
The notification includes the following parameters: the analytics event ID, the service API name and/or type, stats or predictions based on abstracted or anonymized API logs (for example number of failure API invocations, API availability, frequency and occurrence of API version changes, API location changes for the target API, API throttling events, number of API invocations for a given area and time, API load statistics for a given edge network, etc), the time and area where the reporting occurs and is valid.
This subclause provides a summary on the corresponding Analytics API for solution #9.
-
Inputs: service API logs
-
List of Data Sources:
-
Data Source #1 information: CAPIF CCF (via CAPIF_Logging_API_Invocation API)
-
Data required from Data Source #1: Service API logs for requested APIs
-
Data Source #2 information: A-ADRF
-
Data required from Data Source #2: historical data / statistics on service API availability and service level
-
Output: stats or predictions for service API(s). For example, the failure rate of API invocations, API predicted availability, frequency and occurrence of API version changes, API location changes for the target API, API throttling events, number of API invocations for a given area and time, API load statistics for a given edge data network (for edge provided service APIs).
This solution addresses Key Issue #8 and introduces service API analytics to provide stats or predict possible downgrade of performance and availability of a service API. This solution is technically viable and doesn't introduce any impact on 5GS.