12 Analytics
The Analytics tab enables you to view the details of REST API, Streaming, and Data API usage. You can select the Call Type for REST and view results for the total number of API calls, the number of API calls that were successful, and the number of API calls that failed or produced errors. When you select the Call Type for Streaming, it shows results for messages Produced (all streaming messages), messages Waiting (not yet received), and messages Consumed (received). You can also select the Call Type for Data APIs and view results for the number of requests, the number of records returned, and the number of errors. With Analytics, you can troubleshoot your REST API, Streaming, and Data API calls and quickly identify any errors occurring in your application.
When paying for API usage, it is critical to know when one of your applications starts making unusual calls, so you can avoid unexpected bills and better plan your expense budget.
-
Oracle Cloud Console administrators can view their usage and invoices in the Oracle Customer Center (oracle.com).
-
Oracle Cloud Console administrators can also view this information in their monthly email invoices.
Note:
Usage does not exactly equate to what you are billed as there are a number of free calls. For a list of the API calls that are not billed, see FAQs.
Analytics data applies to both inbound and outbound API calls.
Search Parameters
You can filter analytics using the following parameters:
-
Call Type
-
Hotel ID
-
Environment Type — Non Production, Production, or All.
-
Application
-
Organization
-
API
-
Date — You can select the Last 24 Hours, Last 7 Days, Last 31 Days, Last 12 Months, Current Billing Cycle, or Last Billing Cycle for partners. You can also select Custom to enter a specific date range. The last 24 hours is the default date in the search.
-
Billable Type
-
Chain Codes
Note:
The Hotel IDs and Chain Codes might be invalid or have unknown names. This can occur when calls do not require Hotel IDs (such as the oAuth API) or when calls contain incorrect data.API Response Status Code
The response status code is the easiest way to understand what happened with an API request without reading and decoding the response body.
Related Topics